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

NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.7
    • 1.5.8, 6.0.0
    • wicket
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mgrigorov Martin Tzvetanov Grigorov
            cwellekoetter Christian Wellekötter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment