I suppose this problem appears because Servoy Developer was not properly terminated, because nothing in the project was changed.
If I try to login to the cloudSampleSolution I get the following console-errors,
- Code: Select all
ERROR com.servoy.j2db.util.Debug - TypeError: Cannot read property "tenants" from undefined (C:\Servoy\servoy_workspace\svySecurity\svySecurity.js#401) (Form Context: loginFormContent), JSEvent(type = action, source = Component: <'btnLogin' of parent FormUI for FormController[form: loginFormContent, fs size:0,visible: true, selected record: null,destroyed:false]>, formName = loginFormContent, elementName = btnLogin, timestamp = 2022-04-30 12:30:27.017,modifiers = 0,x =757,y = 590,data = null)
at C:\Servoy\servoy_workspace\svySecurity\svySecurity.js:401 (getTenant)
at C:\Servoy\servoy_workspace\svySecurity\forms\svyLogin.js:100 (login)
org.mozilla.javascript.EcmaError: TypeError: Cannot read property "tenants" from undefined (C:\Servoy\servoy_workspace\svySecurity\svySecurity.js#401)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4224) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4202) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:4235) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:4254) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:4266) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1548) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1248) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:399) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3534) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107) ~[org.eclipse.dltk.javascript.rhino_2021.12.2.3724.jar:?]
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:727) [servoy_shared_2021.12.2.3724.jar:?]
at com.servoy.j2db.debug.RemoteDebugScriptEngine.executeFunction(RemoteDebugScriptEngine.java:393) [servoy_debug_2021.12.2.3724.jar:?]
at com.servoy.j2db.server.ngclient.component.EventExecutor.executeEvent(EventExecutor.java:198) [servoy_ngclient_2021.12.2.3724.jar:?]
at com.servoy.j2db.server.ngclient.DataAdapterList.executeEvent(DataAdapterList.java:198) [servoy_ngclient_2021.12.2.3724.jar:?]
at com.servoy.j2db.server.ngclient.WebFormComponent$FormcomponentEventHandler.executeEvent(WebFormComponent.java:236) [servoy_ngclient_2021.12.2.3724.jar:?]
at org.sablo.BaseWebObject.doExecuteEvent(BaseWebObject.java:369) [sablo_2021.12.2.3724.jar:?]
at org.sablo.BaseWebObject.executeEvent(BaseWebObject.java:332) [sablo_2021.12.2.3724.jar:?]
at org.sablo.services.server.FormServiceHandler.executeEvent(FormServiceHandler.java:137) [sablo_2021.12.2.3724.jar:?]
at com.servoy.j2db.server.ngclient.NGFormServiceHandler.executeEvent(NGFormServiceHandler.java:572) [servoy_ngclient_2021.12.2.3724.jar:?]
at org.sablo.services.server.FormServiceHandler.executeMethod(FormServiceHandler.java:84) [sablo_2021.12.2.3724.jar:?]
at com.servoy.j2db.server.ngclient.NGFormServiceHandler.executeMethod(NGFormServiceHandler.java:551) [servoy_ngclient_2021.12.2.3724.jar:?]
at org.sablo.websocket.WebsocketEndpoint$5.run(WebsocketEndpoint.java:417) [sablo_2021.12.2.3724.jar:?]
at org.sablo.eventthread.Event$1.run(Event.java:97) [sablo_2021.12.2.3724.jar:?]
at org.sablo.websocket.CurrentWindow.runForWindow(CurrentWindow.java:80) [sablo_2021.12.2.3724.jar:?]
at org.sablo.eventthread.Event.execute(Event.java:87) [sablo_2021.12.2.3724.jar:?]
at org.sablo.eventthread.EventDispatcher.dispatch(EventDispatcher.java:130) [sablo_2021.12.2.3724.jar:?]
at org.sablo.eventthread.EventDispatcher.run(EventDispatcher.java:89) [sablo_2021.12.2.3724.jar:?]
at com.servoy.j2db.server.ngclient.eventthread.NGEventDispatcher.run(NGEventDispatcher.java:57) [servoy_ngclient_2021.12.2.3724.jar:?]
at java.lang.Thread.run(Unknown Source) [?:?]
was not properly terminated
What can I do to get it up and running again?
I experienced previously problems when Servoy Developer was not exited properly before I restart my machine. Is there anything one can do to prevent problems if Servoy Developer is not terminated properly?
best regards
Marek