RestWSPlugin: Constructor for "String" not found.
Posted: Mon May 13, 2019 4:34 pm
In the ~/servoy-admin/log we are having these kind of errors, we can't address.
Everything runs fine, until these errors start happening for some unknow reason. Then we have to restart the server. We can't reproduce it, how it happens.
How can we trace/see what is happening here, so we can find an solution?
Or what does the exception mean?
ERROR
com.servoy.extensions.plugins.rest_ws.RestWSPlugin
- No ClientID
- No Sulution name
Everything runs fine, until these errors start happening for some unknow reason. Then we have to restart the server. We can't reproduce it, how it happens.
How can we trace/see what is happening here, so we can find an solution?
Or what does the exception mean?
ERROR
com.servoy.extensions.plugins.rest_ws.RestWSPlugin
- No ClientID
- No Sulution name
- Code: Select all
org.mozilla.javascript.EvaluatorException: Constructor for "String" not found. (ws_create#22)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:114)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1077)
at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1126)
at org.mozilla.javascript.Context.reportRuntimeError1(Context.java:1094)
at org.mozilla.javascript.ScriptRuntime.getExistingCtor(ScriptRuntime.java:1212)
at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:1017)
at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:977)
at org.mozilla.javascript.ScriptRuntime.toObjectOrNull(ScriptRuntime.java:949)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2113)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3481)
at script.ws_create(ws_create:22)
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:3135)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:165)
at com.servoy.j2db.scripting.ScriptEngine.executeFunction(ScriptEngine.java:537)
at com.servoy.j2db.FormController.executeFunction(FormController.java:4074)
at com.servoy.j2db.FormController.executeFunction(FormController.java:3946)
at com.servoy.j2db.plugins.ClientPluginAccessProvider$MethodExecutor.run(ClientPluginAccessProvider.java:551)
at com.servoy.j2db.server.headlessclient.SessionClient.invokeAndWait(SessionClient.java:1209)
at com.servoy.j2db.plugins.ClientPluginAccessProvider$1.run(ClientPluginAccessProvider.java:445)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)