Cannot call method "getHomeFolder"

Questions and answers for all installation-related topics for Servoy products

Cannot call method "getHomeFolder"

Postby hovw » Sun Jul 30, 2023 10:35 pm

In servoy 2023.6.0.3883 smart client

It is not possible to run getHomeFolder in the smart client.
In the developer it works fine.

in log in client

jul. 30, 2023 10:20:31 P.M. com.servoy.j2db.util.Debug error
SEVERE: TypeError: Cannot call method "getHomeFolder" of undefined (xx/scopes/globals/onSolutionOpen#63) (Global Scope Context: globals)

at start of the client
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.servoy.j2db.smart.J2DBClient (file:/Users/w.h.tenhove/.servoy/libCache/192_168_200_909090/xx/lib/j2db.jar)
WARNING: Please consider reporting this to the maintainers of com.servoy.j2db.smart.J2DBClient
WARNING: System::setSecurityManager will be removed in a future release
jul. 30, 2023 10:20:09 P.M. com.servoy.j2db.util.Debug error
SEVERE: class com.servoy.j2db.LAFManager cannot access class com.apple.laf.AquaLookAndFeel (in module java.desktop) because module java.desktop does not export com.apple.laf to unnamed module @7b49cea0
java.lang.IllegalAccessException: class com.servoy.j2db.LAFManager cannot access class com.apple.laf.AquaLookAndFeel (in module java.desktop) because module java.desktop does not export com.apple.laf to unnamed module @7b49cea0
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Unknown Source)


jul. 30, 2023 10:20:31 P.M. com.servoy.j2db.util.Debug error
SEVERE: TypeError: Cannot call method "getHomeFolder" of undefined (xx/scopes/globals/onSolutionOpen#63) (Global Scope Context: globals)
at (unknown):657 (getMacAddress)
at (unknown):216 (postLogin)
at xx/scopes/globals/onSolutionOpen:63 (onSolutionOpen)


at run command
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "getHomeFolder" of undefined (xx/scopes/globals/onSolutionOpen#63)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4639)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:4620)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:4652)
at org.mozilla.javascript.ScriptRuntime.typeErrorById(ScriptRuntime.java:4657)
at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:4693)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2595)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2589)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:71)
at org.mozilla.javascript.gen.xx_globals_scopes_xx_globals_getMacAddress_559._c_getMacAddress_0(Unknown Source)

I know I have to move to NG, but it is still in process.
We use the mig calendar, and Jword as text editor, these are not working in NG.
OSX 10.9.5 - 10.15.1
hovw
 
Posts: 33
Joined: Wed Nov 04, 2009 10:41 pm

Return to Installation

Who is online

Users browsing this forum: Bing [Bot] and 2 guests