wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Grigorov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WICKET-6151) DebugBar/PageSizeDebugPanel throws NullPointerException (need wrapper exception with more detail)
Date Fri, 22 Apr 2016 21:17:13 GMT

     [ https://issues.apache.org/jira/browse/WICKET-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Grigorov resolved WICKET-6151.
-------------------------------------
       Resolution: Fixed
         Assignee: Martin Grigorov
    Fix Version/s: 8.0.0-M1
                   7.3.0

> DebugBar/PageSizeDebugPanel throws NullPointerException (need wrapper exception with
more detail)
> -------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6151
>                 URL: https://issues.apache.org/jira/browse/WICKET-6151
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-devutils
>    Affects Versions: 7.2.0
>         Environment: Tomcat 7, JDK 8, Linux Mint 17.3 64bit, Spring 4.2.5
>            Reporter: Hendy Irawan
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 7.3.0, 8.0.0-M1
>
>
> Probably due to unserializable model somewhere... in which case Wicket should give an
explanation error.
> {noformat}
> org.apache.wicket.WicketRuntimeException
> Exception in rendering component: [Component id = data]
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2589)
> at org.apache.wicket.markup.html.WebComponent.onRender(WebComponent.java:60)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1734)
> at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1657)
> at org.apache.wicket.markup.html.link.AbstractLink.onComponentTagBody(AbstractLink.java:82)
> at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1698)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1734)
> at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:797)
> at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:77)
> at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1698)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1734)
> at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1657)
> at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1698)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.markup.html.list.ListView.renderItem(ListView.java:584)
> at org.apache.wicket.markup.html.list.ListView.renderChild(ListView.java:573)
> at org.apache.wicket.markup.repeater.AbstractRepeater.onRender(AbstractRepeater.java:102)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1734)
> at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1657)
> at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1698)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1734)
> at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:797)
> at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:77)
> at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1698)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1734)
> at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1657)
> at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1698)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1524)
> at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1759)
> at org.apache.wicket.Page.onRender(Page.java:879)
> at org.apache.wicket.markup.html.WebPage.onRender(WebPage.java:141)
> at org.apache.wicket.Component.internalRender(Component.java:2380)
> at org.apache.wicket.Component.render(Component.java:2308)
> at org.apache.wicket.Page.renderPage(Page.java:1018)
> at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
> at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)
> at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
> at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
> at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
> at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
> at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
> at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
> java.lang.RuntimeException
> An error occurred while getting the model object for Component: [Component id = data,
page = id.co.bippo.cart.web.pub.ProductCartViewPage, path = 32:dev:content:contributors:3:contrib:link:data.Label,
isVisible = true, isVersioned = true, markup = [markup = jar:file:/home/anton/space_spring/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/id.co.bippo.springapp/WEB-INF/lib/wicket-devutils-7.2.0.jar!/org/apache/wicket/devutils/debugbar/StandardDebugPanel.html
<span wicket:id="data"></span>, index = 0, current = '<span wicket:id="data">'
(line 0, column 0)]]
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:1631)
> at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1654)
> at org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:115)
> at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
> at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)Caused by:

> java.lang.NullPointerException
> at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:106)
> at org.apache.wicket.serialize.java.JavaSerializer.deserialize(JavaSerializer.java:105)
> at org.apache.wicket.core.util.lang.WicketObjects.cloneObject(WicketObjects.java:313)
> at org.apache.wicket.core.util.lang.WicketObjects.sizeof(WicketObjects.java:377)
> at org.apache.wicket.devutils.debugbar.PageSizeDebugPanel$2.getObject(PageSizeDebugPanel.java:96)
> at org.apache.wicket.devutils.debugbar.PageSizeDebugPanel$2.getObject(PageSizeDebugPanel.java:89)
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:1626)
> {noformat}
> Follow-up to WICKET-5807
> Original reporter: [~AntonKurniawan]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message