Servoy Developer: Calling initForJSUsage on a destroyed form

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Servoy Developer: Calling initForJSUsage on a destroyed form

Postby deezzub » Mon Feb 03, 2014 2:01 pm

I get the "Calling initForJSUsage on a destroyed form" error, but in Servoy Developer.

Code: Select all
2014-02-03 12:04:17,217 ERROR [AWT-EventQueue-0] com.servoy.j2db.util.Debug - Calling initForJSUsage on a destroyed form: FormController[form: svy_nav_c_forms,destroyed:true] [2DB715BE-7A0C-44D2-948F-A04D333171CA BOSS]
java.lang.RuntimeException: Calling initForJSUsage on a destroyed form: FormController[form: svy_nav_c_forms,destroyed:true]
   at com.servoy.j2db.FormController.initForJSUsage(FormController.java:5127)
   at com.servoy.j2db.FormController.getFormScope(FormController.java:5515)
   at com.servoy.j2db.dataprocessing.DataAdapterList.getFormScope(DataAdapterList.java:580)
   at com.servoy.j2db.dataprocessing.DataAdapterList.valueChanged(DataAdapterList.java:451)
   at com.servoy.j2db.dataprocessing.ModificationSubject.fireModificationEvent(ModificationSubject.java:78)
   at com.servoy.j2db.dataprocessing.DelegateModificationSubject.valueChanged(DelegateModificationSubject.java:31)
   at com.servoy.j2db.dataprocessing.ModificationSubject.fireModificationEvent(ModificationSubject.java:78)
   at com.servoy.j2db.scripting.ScriptVariableScope.fireModificationEvent(ScriptVariableScope.java:491)
   at com.servoy.j2db.scripting.ScriptVariableScope.put(ScriptVariableScope.java:450)
   at com.servoy.j2db.scripting.ScriptVariableScope.put(ScriptVariableScope.java:313)
   at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:2324)
   at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1629)
   at org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1620)
   at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1420)
   at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:837)
   at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:158)
   at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:624)
   at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteDebugScriptEngine.java:393)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4990)
   at com.servoy.j2db.FormController.executeFormMethod(FormController.java:5326)
   at com.servoy.j2db.FormController.executeOnHideMethod(FormController.java:5203)
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:3978)
   at com.servoy.j2db.smart.dataui.FormLookupPanel.notifyVisible(FormLookupPanel.java:229)
   at com.servoy.j2db.smart.dataui.SpecialTabPanel.notifyVisible(SpecialTabPanel.java:234)
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:519)
   at com.servoy.j2db.smart.dataui.DataRenderer.notifyVisible(DataRenderer.java:279)
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:4007)
   at com.servoy.j2db.smart.dataui.FormLookupPanel.notifyVisible(FormLookupPanel.java:229)
   at com.servoy.j2db.smart.dataui.SpecialTabPanel.notifyVisible(SpecialTabPanel.java:234)
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:519)
   at com.servoy.j2db.smart.dataui.DataRenderer.notifyVisible(DataRenderer.java:279)
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:4007)
   at com.servoy.j2db.smart.dataui.FormLookupPanel.notifyVisible(FormLookupPanel.java:229)
   at com.servoy.j2db.smart.dataui.SpecialSplitPane.notifyVisibleForm(SpecialSplitPane.java:186)
   at com.servoy.j2db.smart.dataui.SpecialSplitPane.notifyVisible(SpecialSplitPane.java:167)
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:519)
   at com.servoy.j2db.smart.dataui.DataRenderer.notifyVisible(DataRenderer.java:279)
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:4007)
   at com.servoy.j2db.smart.dataui.FormLookupPanel.notifyVisible(FormLookupPanel.java:229)
   at com.servoy.j2db.smart.dataui.SpecialSplitPane.notifyVisibleForm(SpecialSplitPane.java:186)
   at com.servoy.j2db.smart.dataui.SpecialSplitPane.notifyVisible(SpecialSplitPane.java:167)
   at com.servoy.j2db.dataprocessing.DataAdapterList.notifyVisible(DataAdapterList.java:519)
   at com.servoy.j2db.smart.dataui.DataRenderer.notifyVisible(DataRenderer.java:279)
   at com.servoy.j2db.FormController.notifyVisible(FormController.java:4007)
   at com.servoy.j2db.smart.dataui.FormLookupPanel.notifyVisible(FormLookupPanel.java:229)
   at com.servoy.j2db.smart.dataui.TablessPanel.removeAllTabs(TablessPanel.java:395)
   at com.servoy.j2db.smart.dataui.SpecialTabPanel.removeAllTabs(SpecialTabPanel.java:450)
   at com.servoy.j2db.ui.scripting.AbstractRuntimeTabPaneAlike.removeAllTabs(AbstractRuntimeTabPaneAlike.java:97)
   at sun.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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:624)
   at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteDebugScriptEngine.java:393)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4990)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4872)
   at com.servoy.j2db.FormController.executeFunction(FormController.java:4739)
   at com.servoy.j2db.FormController$ScriptExecuter.executeFunction(FormController.java:4584)
   at com.servoy.j2db.ui.BaseEventExecutor.fireEventCommand(BaseEventExecutor.java:276)
   at com.servoy.j2db.ui.BaseEventExecutor.fireActionCommand(BaseEventExecutor.java:218)
   at com.servoy.j2db.smart.dataui.AbstractScriptLabel$5.mouseReleased(AbstractScriptLabel.java:929)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)


servoy_log.txt
Stacktrace: Calling initForJSUsage on a destroyed form
(51.08 KiB) Downloaded 171 times
deezzub
 
Posts: 328
Joined: Tue May 28, 2013 3:02 pm
Location: Oldenburg, Germany

Re: Servoy Developer: Calling initForJSUsage on a destroyed

Postby jcompagner » Mon Feb 03, 2014 2:15 pm

if you can reproduce this in a solution
Then make a case with that solution.
and give us the steps how to get that exception.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: mboegem, murmi and 10 guests

cron