Spreadsheet with SpreadsheetTable in TabSheet problem

Hi,

  1. Put a Spreadsheet with a SpreadsheetTable in a TabSheet tab (tab 1) and another tab with any content (tab 2).
  2. Run application and open the page, tab 1 is displayed.
  3. Click tab 2, and back to tab 1.
  4. Click tab 2 again, swapping out the Spreadsheet.

This will cause the page to stop drawing and you are left with a spinning progress thing where the sheet should go. Changing tab has no effect, and all you are left with is to reload the whole page.

Some symptoms and where to look:

The browser log contains:
SEVERE: Error performing server to client RPC callscom.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property ‘style’ of null

SDM takes me to RuntimeException in LayoutManager.doLayout, line 447. as can be found in stack trace.

It looks like it’s TabsheetConnector.layout() that throws at line 122.

Vaadin 7.4.8,
Vaadin Spreadsheet 1.0.3

Probably a bug.

Hi,

Just updating this thread to point to the BFP ticket for this: https://dev.vaadin.com/ticket/18308
We’ll start work on this during the next sprint.

Cheers,
/Jonatan

Cool, thanks!