Touching page null/3 couldn't be done in thread

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Touching page null/3 couldn't be done in thread

Postby satya.sahu » Wed Oct 11, 2017 11:39 am

Hi all
I am getting the following exception.
Code: Select all
java.lang.RuntimeException: Touching page null/3 couldn't be done in thread: http-11001-33
       at com.servoy.j2db.server.headlessclient.MainPage.touch(MainPage.java:1710)
       at com.servoy.j2db.server.headlessclient.MainPage.touch(MainPage.java:1683)
       at com.servoy.j2db.server.headlessclient.WebForm.touch(WebForm.java:945)
       at com.servoy.j2db.FormController.refreshAllPartRenderers(FormController.java:703)
       at com.servoy.j2db.BasicFormController.valueChanged(BasicFormController.java:469)
       at com.servoy.j2db.BasicFormController.tableChanged(BasicFormController.java:420)
       at com.servoy.j2db.dataprocessing.TableAndListEventDelegate.fireTableModelEvent(TableAndListEventDelegate.java:76)
       at com.servoy.j2db.dataprocessing.TableAndListEventDelegate$1.run(TableAndListEventDelegate.java:169)
       at com.servoy.j2db.dataprocessing.TableAndListEventDelegate.fireTableAndListEvent(TableAndListEventDelegate.java:180)
       at com.servoy.j2db.dataprocessing.SwingFoundSet.fireFoundSetEvent(SwingFoundSet.java:158)
       at com.servoy.j2db.dataprocessing.EditRecordList.fireEvents(EditRecordList.java:1265)
       at com.servoy.j2db.dataprocessing.FoundSet.fireAggregateChangeWithEvents(FoundSet.java:5338)
       at com.servoy.j2db.dataprocessing.RelatedFoundSet.notifyChange_checkForUpdate(RelatedFoundSet.java:744)
       at com.servoy.j2db.dataprocessing.RelatedFoundSet.notifyChange(RelatedFoundSet.java:609)
       at com.servoy.j2db.dataprocessing.RowManager.fireNotifyChange(RowManager.java:598)
       at com.servoy.j2db.dataprocessing.RowManager.changeByOther(RowManager.java:378)
       at com.servoy.j2db.dataprocessing.FoundSetManager.notifyDataChange(FoundSetManager.java:2182)
       at com.servoy.j2db.ClientStub$5$1.run(ClientStub.java:196)
       at com.servoy.j2db.server.headlessclient.EventsRunnable.run(EventsRunnable.java:58)
       at com.servoy.j2db.server.headlessclient.WebClient.executeEvents(WebClient.java:566)
       at com.servoy.j2db.server.headlessclient.WebClient.onBeginRequest(WebClient.java:1093)
       at com.servoy.j2db.server.headlessclient.ServoyRequestCycle.onBeginRequest(ServoyRequestCycle.java:83)
       at org.apache.wicket.RequestCycle.prepare(RequestCycle.java:1269)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1333)
       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:717)
       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:606)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
       at java.lang.Thread.run(Thread.java:748)
    Caused by: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[http-11001-14,5,main], giving up trying to get the page for path: 3
       at com.servoy.j2db.dataprocessing.RowManager.foundSetChanged(RowManager.java:1310)
       at com.servoy.j2db.dataprocessing.FoundSetManager$GlobalFoundSetEventListener.foundSetChanged(FoundSetManager.java:2333)
       at com.servoy.j2db.dataprocessing.FoundSetManager$GlobalFoundSetEventListener.foundSetCreated(FoundSetManager.java:2318)
       at com.servoy.j2db.dataprocessing.FoundSetManager$GlobalFoundSetEventListener.foundSetsCreated(FoundSetManager.java:2306)
       at com.servoy.j2db.dataprocessing.FoundSetManager.getRelatedFoundSet(FoundSetManager.java:718)
       at com.servoy.j2db.dataprocessing.FoundSet.getRelatedFoundSet(FoundSet.java:5956)
       at com.servoy.j2db.dataprocessing.Record.getRelatedFoundSet(Record.java:689)
       at com.servoy.j2db.dataprocessing.Record.getRelatedFoundSet(Record.java:717)
       at com.servoy.j2db.dataprocessing.Record.getValue(Record.java:247)
       at com.servoy.j2db.dataprocessing.Record.getValue(Record.java:167)
       at com.servoy.j2db.dataprocessing.DisplaysAdapter.setRecord(DisplaysAdapter.java:115)
       at com.servoy.j2db.dataprocessing.DataAdapterList.setRecord(DataAdapterList.java:403)
       at com.servoy.j2db.server.headlessclient.dataui.WebDataRenderer.refreshRecord(WebDataRenderer.java:343)
       at com.servoy.j2db.FormController.refreshAllPartRenderers(FormController.java:729)
       at com.servoy.j2db.BasicFormController.valueChanged(BasicFormController.java:469)
       at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
       at com.servoy.j2db.util.model.AlwaysRowSelectedSelectionModel.fireValueChanged(AlwaysRowSelectedSelectionModel.java:245)
       at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154)
       at com.servoy.j2db.util.model.AlwaysRowSelectedSelectionModel.setSelectedRows(AlwaysRowSelectedSelectionModel.java:225)
       at com.servoy.j2db.util.model.AlwaysRowSelectedSelectionModel.setSelectedRow(AlwaysRowSelectedSelectionModel.java:190)
       at com.servoy.j2db.util.model.AlwaysRowSelectedSelectionModel.setSelectedRow(AlwaysRowSelectedSelectionModel.java:158)
       at com.servoy.j2db.dataprocessing.SwingFoundSet.setSelectedIndex(SwingFoundSet.java:134)
       at com.servoy.j2db.dataprocessing.FoundSet.jsFunction_setSelectedIndex(FoundSet.java:2957)
       at sun.reflect.GeneratedMethodAccessor201.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:158)
       at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:312)
       at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1774)
       at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:837)
       at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:158)
       at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:406)
       at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3204)
       at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:156)
       at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:628)
       at com.servoy.j2db.BasicFormController.executeFunction(BasicFormController.java:818)
       at com.servoy.j2db.FormController.executeFunction(FormController.java:1274)
       at com.servoy.j2db.FormController.executeFunction(FormController.java:1141)
       at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:1053)
       at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:284)
       at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:250)
       at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:218)
       at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.handleEvent(WebEventExecutor.java:496)
       at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:427)
       at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:400)
       at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor$2.onEvent(WebEventExecutor.java:196)
       at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
       at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:312)
       at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
       at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
       at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1279)
       at org.apache.wicket.RequestCycle.step(RequestCycle.java:1358)
       ... 26 more

Can any one share me why this happening? Is this exception will slow the system?

Thanks,
Satya
satya.sahu
 
Posts: 33
Joined: Thu Aug 29, 2013 4:59 pm
Location: India

Re: Touching page null/3 couldn't be done in thread

Postby satya.sahu » Mon Oct 30, 2017 7:18 am

Any suggestion ??? It's slowing down the system.

Thanks,
Satya
satya.sahu
 
Posts: 33
Joined: Thu Aug 29, 2013 4:59 pm
Location: India

Re: Touching page null/3 couldn't be done in thread

Postby jcompagner » Mon Nov 06, 2017 3:27 pm

The problem is that there is 1 request busy for more then 1 minute
then another request also wants to have data (could be ajax polling) but that will wait for 1 minute until it bombs out with that error
The cause is not that error, the cause is why is there another request busy for more then 1 minute, that makes the system slow.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8084
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 6 guests