Application server error

Despite seems everything works fine, we have a lot of the following error while application server runs:

calling getFormScope on a destroyed DataAdapterList, formcontroller: FormController[form: svy_nav_fr_openTabs, fs size:0, selected record: null,destroyed], currentRecord: null

Any idea how this happens and how to resolve?

Thanks in advance.

Could you get the error stack out of your log file?

this is the stack as in the server log:

java.lang.RuntimeException
     at com.servoy.j2db.dataprocessing.DataAdapterList.getFormScope(DataAdapterList.java:569)
     at com.servoy.j2db.dataprocessing.DataAdapterList.valueChanged(DataAdapterList.java:444)
     at com.servoy.j2db.scripting.ScriptVariableScope.fireModificationEvent(ScriptVariableScope.java:438)
     at com.servoy.j2db.scripting.ScriptVariableScope.put(ScriptVariableScope.java:406)
     at com.servoy.j2db.scripting.ScriptVariableScope.put(ScriptVariableScope.java:294)
     at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:1768)
     at org.mozilla.javascript.ScriptRuntime.setName(ScriptRuntime.java:1856)
     at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3313)
     at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2680)
     at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:166)
     at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:387)
     at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3134)
     at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:165)
     at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:528)
     at com.servoy.j2db.FormController.executeFunction(FormController.java:4063)
     at com.servoy.j2db.FormController.executeFunction(FormController.java:3942)
     at com.servoy.j2db.FormController.executeFunction(FormController.java:3864)
     at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:3719)
     at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:271)
     at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:217)
     at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor.onEvent(WebEventExecutor.java:404)
     at com.servoy.j2db.server.headlessclient.dataui.WebEventExecutor$2.onEvent(WebEventExecutor.java:174)
     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)
     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.Zl.doGet(Zl.java:7)
     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.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:102)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
     at java.lang.Thread.run(Unknown Source)

We’re still experiencing this strange behaviour… it became hard to find errors in the server log…

thats a logging exception from ourside,
a destroyed form (through solution model or normal usage when the form is long time not used) does still get an event somehow on a form/global variable value change.
Its purely a log from us that something is hangs around what should be gone already
The normal flow of the application should be fine, shouldn’t be really touched by this, if you have some case where you can reproduce this error please create case with a sample.

That’s ok, the only problem I recognize from that one is the length of the log cause we do a lot of clone/create/destroy/etc of forms!

what version of servoy is this?

jcompagner:
what version of servoy is this?

It is 6.0.7

please first upgrade to the latest 6.08

This is just to say I’ve upgraded to 6.0.8
Is there a way I could exclude this exception from logging?

No, but you shouldn’t get it all the time
If you do get it please create case with a sample, so that we can fix this and look why this happens.