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

NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.7
    • Fix Version/s: 1.5.8, 6.0.0
    • Component/s: wicket
    • Labels:
      None

      Description

      If you enable the RequestLogger in your application and if you use the "startComponentInPage" Method on the WicketTester you could get NotSerializableExceptions if the session gets serialized:

      WARN org.apache.wicket.util.lang.WicketObjects Unable to determine object size of Session
      java.io.NotSerializableException: org.apache.wicket.markup.Markup

      • field (class "org.apache.wicket.util.tester.BaseWicketTester$StartComponentInPage", name: "pageMarkup", type: "interface org.apache.wicket.markup.IMarkupFragment")
      • object (class "org.apache.wicket.util.tester.BaseWicketTester$StartComponentInPage", [Page class = org.apache.wicket.util.tester.BaseWicketTester$StartComponentInPage, id = 1, render count = 2])
      • field (class "org.apache.wicket.Component", name: "parent", type: "class org.apache.wicket.MarkupContainer")

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              cwellekoetter Christian Wellek├Âtter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: