You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christian Wellekötter (JIRA)" <ji...@apache.org> on 2012/07/31 11:57:34 UTC

[jira] [Created] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Christian Wellekötter created WICKET-4684:
---------------------------------------------

             Summary: NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
                 Key: WICKET-4684
                 URL: https://issues.apache.org/jira/browse/WICKET-4684
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.7
            Reporter: Christian Wellekötter


{code}
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")
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Christian Wellekötter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Wellekötter updated WICKET-4684:
------------------------------------------

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


  was:
{noformat}
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")
{noformat}

    
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> 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")

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Christian Wellekötter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Wellekötter updated WICKET-4684:
------------------------------------------

    Description: 
{noformat}
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")
{noformat}

  was:
{code}
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")
{code}

    
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> {noformat}
> 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")
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425647#comment-13425647 ] 

Martin Grigorov commented on WICKET-4684:
-----------------------------------------

Why this page is serialized ?
I think WicketTester do not serialize the page at all.
Do you use custom IPageManager for WicketTester ?
                
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> {noformat}
> 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")
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Christian Wellekötter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Wellekötter updated WICKET-4684:
------------------------------------------

    Description: 
{code:java}
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")
{code}

  was:
{code: java}
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")
{code}

    
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> {code:java}
> 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")
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Christian Wellekötter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Wellekötter updated WICKET-4684:
------------------------------------------

    Description: 
{code: java}
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")
{code}

  was:
{code}
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")
{code}

    
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> {code: java}
> 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")
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4684.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.8
                   6.0.0
         Assignee: Martin Grigorov
    
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0, 1.5.8
>
>
> 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")

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Christian Wellekötter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Wellekötter updated WICKET-4684:
------------------------------------------

    Description: 
{code}
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")
{code}

  was:
{code:java}
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")
{code}

    
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> {code}
> 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")
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (WICKET-4684) NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage

Posted by "Christian Wellekötter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425650#comment-13425650 ] 

Christian Wellekötter commented on WICKET-4684:
-----------------------------------------------

No, I do not use a custom IPageManager. I only enabled the RequestLogger in the application.
                
> NotSerializableException of the field "pageMarkup" in BaseWicketTester$StartComponentInPage
> -------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4684
>                 URL: https://issues.apache.org/jira/browse/WICKET-4684
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> 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")

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira