java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid state: screen was already submitted (cleaned up)

whitestein.com | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Vaadin UI.access() throws ExecutionException

    Stack Overflow | 3 years ago | Nikolay Kuznetsov
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Invalid state: screen was already submitted (cleaned up)

      at com.whitestein.lsps.vaadin.ui.UIScreen.checkValid()
    2. com.whitestein.lsps
      UIScreen.getTopmostComponent
      1. com.whitestein.lsps.vaadin.ui.UIScreen.checkValid(UIScreen.java:225)
      2. com.whitestein.lsps.vaadin.ui.UIScreen.checkRenderedAndValid(UIScreen.java:233)
      3. com.whitestein.lsps.vaadin.ui.UIScreen.getTopmostComponent(UIScreen.java:145)
      3 frames
    3. com.whitestein.resdev
      ButtonOauth$1.authSuccessful
      1. com.whitestein.resdev.vaadin.components.ButtonOauth$1.authSuccessful(ButtonOauth.java:54)
      1 frame
    4. org.vaadin.addon
      OAuthPopupOpener$2.run
      1. org.vaadin.addon.oauthpopup.OAuthPopupOpener$2.run(OAuthPopupOpener.java:92)
      1 frame
    5. Vaadin
      UI$3.run
      1. com.vaadin.ui.UI.accessSynchronously(UI.java:1342)
      2. com.vaadin.ui.UI$3.run(UI.java:1408)
      2 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3 frames
    7. com.vaadin.server
      VaadinSession.access
      1. com.vaadin.server.VaadinService.runPendingAccessTasks(VaadinService.java:1815)
      2. com.vaadin.server.VaadinSession.unlock(VaadinSession.java:1019)
      3. com.vaadin.server.VaadinService.ensureAccessQueuePurged(VaadinService.java:1779)
      4. com.vaadin.server.VaadinService.accessSession(VaadinService.java:1745)
      5. com.vaadin.server.VaadinSession.access(VaadinSession.java:1409)
      5 frames
    8. Vaadin
      UI.access
      1. com.vaadin.ui.UI.access(UI.java:1405)
      1 frame
    9. org.vaadin.addon
      OAuthCallbackRequestHandler.handleRequest
      1. org.vaadin.addon.oauthpopup.OAuthPopupOpener.fireAuthSuccessful(OAuthPopupOpener.java:88)
      2. org.vaadin.addon.oauthpopup.OAuthPopupOpener.access$000(OAuthPopupOpener.java:12)
      3. org.vaadin.addon.oauthpopup.OAuthPopupOpener$1.authSuccessful(OAuthPopupOpener.java:46)
      4. org.vaadin.addon.oauthpopup.OAuthData.fireSuccess(OAuthData.java:213)
      5. org.vaadin.addon.oauthpopup.OAuthData.setVerifier(OAuthData.java:152)
      6. org.vaadin.addon.oauthpopup.OAuthCallbackRequestHandler.handleRequest(OAuthCallbackRequestHandler.java:53)
      6 frames
    10. com.vaadin.server
      VaadinServlet.service
      1. com.vaadin.server.communication.SessionRequestHandler.handleRequest(SessionRequestHandler.java:63)
      2. com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1408)
      3. com.vaadin.server.VaadinServlet.service(VaadinServlet.java:350)
      3 frames
    11. com.whitestein.lsps
      VaadinServletWithTransaction.service
      1. com.whitestein.lsps.vaadin.util.VaadinServletWithTransaction.service(VaadinServletWithTransaction.java:80)
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    13. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      2 frames
    14. com.whitestein.lsps
      OpenEJBInjectionServletHandler.handle
      1. com.whitestein.lsps.launcher.jetty.OpenEJBInjectionServletHandler.handle(OpenEJBInjectionServletHandler.java:113)
      1 frame
    15. Jetty Server
      SocketConnector$Connection.run
      1. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      2. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      3. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      4. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      5. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      6. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      7. org.mortbay.jetty.Server.handle(Server.java:326)
      8. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      9. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
      10. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
      11. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      12. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      13. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      13 frames
    16. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame