Issue while closing a pop up window ( from tabs )


Presently I am working on an application which involves tabs.
In one tab, a table is loaded based on user inputs ( drop down box ).

When clicking on one of the rows, a pop up widow is displayed . Until this, every thing is fine.

After, the window is closed, while clicking on the row of the table, i am getting the following exception, not sure why ?

        at com.vaadin.ui.TabSheet.paintContent(
        at com.vaadin.ui.AbstractComponent.paint(
        at com.vaadin.ui.AbstractOrderedLayout.paintContent(
        at com.vaadin.ui.AbstractComponent.paint(
        at com.vaadin.ui.Panel.paintContent(
        at com.vaadin.ui.Window.paintContent(
        at com.vaadin.ui.AbstractComponent.paint(
        at com.vaadin.ui.Window.paintContent(
        at com.vaadin.ui.AbstractComponent.paint(
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.paintAfterVariableChanges(
        at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(
        at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(
        at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.mortbay.jetty.servlet.ServletHolder.handle(
        at org.mortbay.jetty.servlet.ServletHandler.handle(
        at org.mortbay.jetty.servlet.SessionHandler.handle(
        at org.mortbay.jetty.handler.ContextHandler.handle(
        at org.mortbay.jetty.webapp.WebAppContext.handle(
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
        at org.mortbay.jetty.handler.HandlerCollection.handle(
        at org.mortbay.jetty.handler.HandlerWrapper.handle(
        at org.mortbay.jetty.Server.handle(
        at org.mortbay.jetty.HttpConnection.handleRequest(
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(
        at org.mortbay.jetty.HttpParser.parseNext(
        at org.mortbay.jetty.HttpParser.parseAvailable(
        at org.mortbay.jetty.HttpConnection.handle(
        at org.mortbay.thread.QueuedThreadPool$

Please throw some light regarding this issue.

Vasu Patnaik.

Just looked the stacktrace and TabSheet code ( in 6.2
). It looks like you simply have a null component in the TabSheet.

Can you verify that all the component references that you use when adding tabs (either addTab or addComponent) are not null.

Hi Sami

Thanks for the response.

I checked the code, I guess, I am not sending null components to tab component.

Attaching a file to replicate the issue. Do rename the file to .java.

Thanks n Regardz
Vasu Patnaik
11272.doc (4.49 KB)


Created a ticket for this issue at this location →

Vasu Patnaik