Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4077

Error detaching RequestCycle listener after serialization failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.2
    • wicket
    • None
    • Windows 7 Ultimate, Tomcat 6.0.32

    Description

      Error detaching RequestCycle listener is produced after org.apache.wicket.serialize.java.JavaSerializer.serialize(Object) returns null.

      Below is the stacktrace of the error:

      20-09-2011 16:46:44,875 ERROR org.apache.wicket.request.cycle.RequestCycleListenerCollection$3.notify:105 - Error detaching request cycle listener: org.apache.wicket.Application$2@b45ad3d
      java.lang.IllegalArgumentException: Argument 'data' may not be null.
      at org.apache.wicket.util.lang.Args.notNull(Args.java:39)
      at org.apache.wicket.pageStore.AsynchronousDataStore$Entry.<init>(AsynchronousDataStore.java:271)
      at org.apache.wicket.pageStore.AsynchronousDataStore.storeData(AsynchronousDataStore.java:215)
      at org.apache.wicket.pageStore.DefaultPageStore.storePageData(DefaultPageStore.java:115)
      at org.apache.wicket.pageStore.DefaultPageStore.storePage(DefaultPageStore.java:144)
      at org.apache.wicket.page.PageStoreManager$PersistentRequestAdapter.storeTouchedPages(PageStoreManager.java:377)
      at org.apache.wicket.page.RequestAdapter.commitRequest(RequestAdapter.java:171)
      at org.apache.wicket.page.AbstractPageManager.commitRequest(AbstractPageManager.java:94)
      at org.apache.wicket.page.PageManagerDecorator.commitRequest(PageManagerDecorator.java:68)
      at org.apache.wicket.page.PageAccessSynchronizer$2.commitRequest(PageAccessSynchronizer.java:213)
      at org.apache.wicket.Application$2.onDetach(Application.java:1552)
      at org.apache.wicket.request.cycle.RequestCycleListenerCollection$3.notify(RequestCycleListenerCollection.java:101)
      at org.apache.wicket.request.cycle.RequestCycleListenerCollection$3.notify(RequestCycleListenerCollection.java:97)
      at org.apache.wicket.util.listener.ListenerCollection.reversedNotify(ListenerCollection.java:121)
      at org.apache.wicket.util.listener.ListenerCollection.reversedNotify(ListenerCollection.java:112)
      at org.apache.wicket.request.cycle.RequestCycleListenerCollection.onDetach(RequestCycleListenerCollection.java:95)
      at org.apache.wicket.request.cycle.RequestCycle.onDetach(RequestCycle.java:542)
      at org.apache.wicket.request.cycle.RequestCycle.detach(RequestCycle.java:481)
      at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:257)
      at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            martin.asenov Martin Asenov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: