Nullpointer in webclient (7.4.5)

Forum to discuss the Web client version of Servoy.

Nullpointer in webclient (7.4.5)

Postby sjoerd1337768711 » Wed Nov 04, 2015 12:37 pm

[moderator: moved from announcement forum]

After upgrade to 7.4.5. we have sometimes a nullpointer in 7.4.5. - Webclient.
It is not easy to reproduce because it is not always happening.

I think it has something to do with loading the table-view (webclient scroll mode) after detail-view. The table-view is in a tabpanel.
After the error the user is reloading the page. But then the behaviour is different. Sorting on the column is not working etc.
Switching to another program in the menu also with tableview it is working normal again.

The error is pasted below. Any ideas?

2015-11-04 10:58:53,080 ERROR [http-8445-11] org.apache.wicket.RequestCycle - Exception in rendering component: [MarkupContainer [Component id = 66]] [0F9E01D6-D910-49E2-AEBA-AD167AFFF014 MutaService]
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = 66]]
at org.apache.wicket.Component.renderComponent(Component.java:2764)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.Component.renderComponent(Component.java:2666)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.renderComponent(WebCellBasedView.java:5776)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.renderRows(WebCellBasedView.java:5723)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.scrollViewPort(WebCellBasedView.java:5500)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.scrollViewPort(WebCellBasedView.java:5303)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.onBeforeRender(WebCellBasedView.java:3080)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1069)
at org.apache.wicket.Component.beforeRender(Component.java:1103)
at org.apache.wicket.Component.prepareForRender(Component.java:2297)
at org.apache.wicket.Component.prepareForRender(Component.java:2329)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:853)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:680)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:590)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at com.servoy.j2db.server.headlessclient.WebClientsApplication$8.respond(WebClientsApplication.java:717)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1287)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at com.servoy.j2db.server.servlets.Zt.doGet(Zt.java:1)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
2015-11-04 10:58:53,080 ERROR [http-8445-11] com.servoy.j2db.util.Debug - Error rendering the page svy_nav_fr_main [0F9E01D6-D910-49E2-AEBA-AD167AFFF014 MutaService]
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = 66]]
at org.apache.wicket.Component.renderComponent(Component.java:2764)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1559)
at org.apache.wicket.Component.render(Component.java:2525)
at org.apache.wicket.Component.renderComponent(Component.java:2666)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.renderComponent(WebCellBasedView.java:5776)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.renderRows(WebCellBasedView.java:5723)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView$ScrollBehavior.scrollViewPort(WebCellBasedView.java:5500)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.scrollViewPort(WebCellBasedView.java:5303)
at com.servoy.j2db.server.headlessclient.dataui.WebCellBasedView.onBeforeRender(WebCellBasedView.java:3080)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1069)
at org.apache.wicket.Component.beforeRender(Component.java:1103)
at org.apache.wicket.Component.prepareForRender(Component.java:2297)
at org.apache.wicket.Component.prepareForRender(Component.java:2329)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:853)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:680)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:590)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at com.servoy.j2db.server.headlessclient.WebClientsApplication$8.respond(WebClientsApplication.java:717)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1287)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1465)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
at com.servoy.j2db.server.servlets.Zt.doGet(Zt.java:1)
at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
sjoerd1337768711
 
Posts: 14
Joined: Wed May 23, 2012 12:25 pm

Re: Nullpointer in webclient (7.4.5)

Postby jcompagner » Wed Nov 04, 2015 6:07 pm

it seems that you just not give the full exception here

(where the real NullPointer is) Most of the time the very last part of all the "Caused By" is the one we want
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 2 guests

cron