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")