I am getting the following error:
PS C:\Users\jay\Documents\SANJSOFT\bin> ./CodeRunner.bat
Starting CodeRunner
Listening for transport dt_socket at address: 5005
15:38:56.411 [INFO] c.b.c.CodeRunnerLoader |main| Local Date and Time: 2022-11-03T15:38:56.411492300
15:38:56.411 [INFO] c.b.c.CodeRunnerLoader |main| JDK from “JAVA_HOME” - C:\Program Files\Java\jdk-19
Exception in thread “main” java.lang.ExceptionInInitializerError
at net.crispcode.configlinker.proxy.ConfigProxyFactory.create(ConfigProxyFactory.java:37)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:97)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:69)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:51)
at com.backendless.coderunner.config.ConfigFactory.(ConfigFactory.java:19)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:42)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make java.lang.invoke.MethodHandles$Lookup(java.lang.Class) accessible: module java.base does not “opens java.lang.invoke” to unnamed module @15bb6bea
at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:387)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:363)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:311)
at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:192)
at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:185)
at net.crispcode.configlinker.proxy.ConfigInvocationHandlerImpl.(ConfigInvocationHandlerImpl.java:41)
… 7 more
Press any key to continue . .
can you please let me know how to solve this issue? thanks.
Starting CodeRunner
Listening for transport dt_socket at address: 5005
20:44:39.685 [INFO] c.b.c.CodeRunnerLoader |main| Local Date and Time: 2022-11-03T20:44:39.685829400
20:44:39.701 [INFO] c.b.c.CodeRunnerLoader |main| JDK from “JAVA_HOME” - C:\Program Files\Java\jdk-17.0.5
Exception in thread “main” java.lang.ExceptionInInitializerError
at net.crispcode.configlinker.proxy.ConfigProxyFactory.create(ConfigProxyFactory.java:37)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:97)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:69)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:51)
at com.backendless.coderunner.config.ConfigFactory.(ConfigFactory.java:19)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:42)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make java.lang.invoke.MethodHandles$Lookup(java.lang.Class) accessible: module java.base does not “opens java.lang.invoke” to unnamed module @4d339552
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181)
at net.crispcode.configlinker.proxy.ConfigInvocationHandlerImpl.(ConfigInvocationHandlerImpl.java:41)
… 7 more
Press any key to continue . . .
I replaced the line with two lines specified in that post, but still the same issue. I am using windows environment and running “CodeRunner.bat”. Do you have solution for that? thanks.
I am having the following error while executing “Deploy.bat”. Do you have a fix for this?
PS C:\Users\jay\Documents\SANJSOFT\bin> ./Deploy.bat
Starting CodeRunner
18:18:29.491 [INFO] c.b.c.CodeRunnerLoader |main| Local Date and Time: 2022-11-07T18:18:29.491806700
18:18:29.507 [INFO] c.b.c.CodeRunnerLoader |main| JDK from “JAVA_HOME” - C:\Program Files\Java\jdk-17.0.5
Exception in thread “main” java.lang.ExceptionInInitializerError
at net.crispcode.configlinker.proxy.ConfigProxyFactory.create(ConfigProxyFactory.java:37)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:97)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:69)
at net.crispcode.configlinker.ConfigSetFactory.create(ConfigSetFactory.java:51)
at com.backendless.coderunner.config.ConfigFactory.(ConfigFactory.java:19)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:42)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make java.lang.invoke.MethodHandles$Lookup(java.lang.Class) accessible: module java.base does not “opens java.lang.invoke” to unnamed module @4d339552
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181)
at net.crispcode.configlinker.proxy.ConfigInvocationHandlerImpl.(ConfigInvocationHandlerImpl.java:41)
… 7 more
PS C:\Users\jay\Documents\SANJSOFT\bin>
This problem caused by our update to Java 17.
To fix it for your project you should edit your Deploy.bat file in the same way as you did with CodeRunner.bat.
Hi @Andriy_Konoz,
That did not work. It gave me the following error:
Starting CodeRunner
Error: Could not find or load main class com.backendless.coderunner.CodeRunnerLoader
Caused by: java.lang.ClassNotFoundException: com.backendless.coderunner.CodeRunnerLoader
so, I used the same command for CodeRunner.bat that was given to me, and placed “deploy” at the end. This actually deployed my services, but when I run the service it gives me error.
Response Body:
{
“code”: 0,
“message”: “Type:"java.lang.InternalError", Description:"Currency data not found", ExceptionClass:"ServiceException" {Msg:"none", Cause:"none"}”,
“errorData”: {}
}
So in Debug mode “CodeRunner.bat” it works without any error, but when I deploy it gives me the above error
What JDK do you use locally?
Please, note, that we use JDK-17. So, make sure your code is compatible with it and do not use obsolete API or (may be) a new API (from jdk > 17).
We already have an internal task to check the reflection access for custom code. [BKNDLSS-30269]. Will post here about the progress.
I am running JDK-17. @sergey.kuk send me a change in script for “CodeRunner.bat”. I used that same script and put “deploy” at the end. This actually worked to deploy the services, but it gives me error when I run it. thank you for your help.
But I am getting the following error:
PS C:\Users\sanja\Documents\SANJSOFT\bin> ./deploy.bat
Starting CodeRunner
Error: Could not find or load main class com.backendless.coderunner.CodeRunnerLoader
Caused by: java.lang.ClassNotFoundException: com.backendless.coderunner.CodeRunnerLoader
PS C:\Users\sanja\Documents\SANJSOFT\bin>
Can you please help?
p.s
CodeRunner.bat file has the following change as you recommended and it works. There are some errors, but I am able to debug my code.
The problem that you wrote about above has been fixed from our side. Please upload a new JAVA project through the console and change the CodeRunner file in your project. Can you confirm that everything now works as it should?
I was able to deploy the code and it ran successfully for some code. It works well in debug mode, but I am getting the following error when it is deployed: sdk.js:14 GET https://api.backendless.com/94496922-170D-4236-FF64-228CA5F5DE00/4A4E5054-28BE-4A14-8AAD-0F7908D5F5F7/services/TwilioService/MessagesAfterGivenTime?year=2023&month=2&date=1&hr=4&min=59&sec=4&nanosecond=0 400 (Bad Request)
sendRequest @ sdk.js:14
sendXmlHttpRequest @ sdk.js:14
W.a.send @ sdk.js:14
send @ sdk.js:14
onClick @ bundle.js:36
await in onClick (async)
runHandler @ sdk.js:14
Z.available.o. @ sdk.js:14
Rb @ sdk.js:14
Xb @ sdk.js:14
Yb @ sdk.js:14
Ze @ sdk.js:14
se @ sdk.js:14
(anonymous) @ sdk.js:14
yt @ sdk.js:14
Nb @ sdk.js:14
jd @ sdk.js:14
yc @ sdk.js:14
hd @ sdk.js:14
v.unstable_runWithPriority @ sdk.js:14
gg @ sdk.js:14
Hb @ sdk.js:14
gd @ sdk.js:14
sdk.js:14 Uncaught (in promise) Error: Type:“java.lang.NoClassDefFoundError”, Description:“Could not initialize class java.util.Currency”, ExceptionClass:“ServiceException” {Msg:“none”, Cause:“none”}
at checkStatus (sdk.js:14:949669)
I was able to deploy the code and execute some of my methods, but one of the methods throws error, but the same code works under coderunner.bat using debug mode. To answer your question,yes I was able to deploy my code and run the code, but i saw error (above) so I ran it in debug mode and it works.
Please help me resolve this. Thanks.
When I run under CodeRunner, I get the following result, but my API gets executed properly, but when I deploy it it does not execute. it throws error. Here is log while running under CodeRunner.
PS C:\Users\jay\Documents\SANJSOFT\bin> ./CodeRunner.bat
Starting CodeRunner
Listening for transport dt_socket at address: 5005
16:08:27.846 [INFO] c.b.c.CodeRunnerLoader |main| Local Date and Time: 2023-02-10T16:08:27.845658300
16:08:27.854 [INFO] c.b.c.CodeRunnerLoader |main| JDK from “JAVA_HOME” - not set.
16:08:27.855 [ERROR] c.b.c.CodeRunnerLoader |main| It appears you do not have JAVA_HOME environment variables set.
Please, set up the JAVA_HOME environment variable by pointing it to the root directory
of your JDK location (must be version 1.8 or higher).
16:08:27.951 [INFO] c.b.c.CommandLineProcessor |main| CodeRunner™ Backendless Debugging Utility
16:08:27.953 [INFO] c.b.c.CommandLineProcessor |main| Copyright(C) 2023 Backendless Corp. All rights reserved.
16:08:27.955 [INFO] c.b.c.CommandLineProcessor |main| Build date: 2022-12-06T12:26:54Z
Version: 6.7.0.7
Build id: 233939
VCS revision: 6bbd32f8aeecd090652507d8874f48d604b55eb4
16:08:27.958 [INFO] c.b.c.CommandLineProcessor |main| CodeRunner session is running for 2 hours and will be terminated on 18:08:27.956186400[UTC]
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.backendless.coderunner.runtime.security.Security (file:/C:/Users/sanja/Documents/SANJSOFT/bin/CodeRunner.jar)
WARNING: Please consider reporting this to the maintainers of com.backendless.coderunner.runtime.security.Security
WARNING: System::setSecurityManager will be removed in a future release
16:08:28.204 [INFO] c.b.h.HealthCheckHttpServer |main| Management port is absent, management server not started
16:08:28.205 [INFO] c.b.coderunner.LocalCodeRunner |main| Registering runner on: ‘https://api.backendless.com’
16:08:28.209 [INFO] c.b.coderunner.LocalCodeRunner |main| Application ID: ‘94496922-170D-4236-FF64-228CA5F5DE00’
16:08:28.214 [INFO] c.b.coderunner.LocalCodeRunner |main| Api key: ‘2C7936F6-2773-4D1B-92BD-790C880CC71B’
16:08:29.329 [INFO] c.b.coderunner.LocalCodeRunner |main| Runner successfully registered
16:08:29.342 [INFO] c.b.c.parser.EventModelParser |main| Parsing event model…
16:08:30.089 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\backendless.jar’
16:08:30.090 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\commons-codec-1.15-javadoc.jar’
16:08:30.093 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\commons-codec-1.15.jar’
16:08:30.134 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\commons-io-2.7-javadoc.jar’
16:08:30.137 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\commons-io-2.7.jar’
16:08:30.189 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\commons-logging-1.2-javadoc.jar’
16:08:30.191 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\commons-logging-1.2.jar’
16:08:30.205 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\httpclient-4.5.13-javadoc.jar’
16:08:30.208 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\httpclient-4.5.13.jar’
16:08:30.343 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\httpcore-4.4.13-javadoc.jar’
16:08:30.352 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\httpcore-4.4.13.jar’
16:08:30.451 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-annotations-2.13.3-javadoc.jar’
16:08:30.453 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-annotations-2.13.3.jar’
16:08:30.471 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\jackson-annotations-2.13.3.jar. module-info is not a class because access_flag ACC_MODULE is set
java.lang.NoClassDefFoundError: module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.476 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-core-2.13.3-javadoc.jar’
16:08:30.518 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-core-2.13.3.jar’
16:08:30.542 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\jackson-core-2.13.3.jar. META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.550 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-databind-2.13.3-javadoc.jar’
16:08:30.554 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-databind-2.13.3.jar’
16:08:30.702 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\jackson-databind-2.13.3.jar. META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.710 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-dataformat-xml-2.13.3-javadoc.jar’
16:08:30.713 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-dataformat-xml-2.13.3.jar’
16:08:30.734 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\jackson-dataformat-xml-2.13.3.jar. META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.738 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-datatype-jsr310-2.13.3-javadoc.jar’
16:08:30.740 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jackson-datatype-jsr310-2.13.3.jar’
16:08:30.757 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\jackson-datatype-jsr310-2.13.3.jar. META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
java.lang.NoClassDefFoundError: META-INF/versions/9/module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.761 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\javax.activation-api-1.2.0-javadoc.jar’
16:08:30.763 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\javax.activation-api-1.2.0.jar’
16:08:30.772 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jaxb-api-2.3.1-javadoc.jar’
16:08:30.774 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jaxb-api-2.3.1.jar’
16:08:30.795 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\jaxb-api-2.3.1.jar. javax/xml/bind/ModuleUtil (wrong name: META-INF/versions/9/javax/xml/bind/ModuleUtil)
java.lang.NoClassDefFoundError: javax/xml/bind/ModuleUtil (wrong name: META-INF/versions/9/javax/xml/bind/ModuleUtil)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.800 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jjwt-api-0.11.2-javadoc.jar’
16:08:30.802 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jjwt-api-0.11.2.jar’
16:08:30.824 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jjwt-impl-0.11.2-javadoc.jar’
16:08:30.826 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jjwt-impl-0.11.2.jar’
16:08:30.844 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jjwt-jackson-0.11.2-javadoc.jar’
16:08:30.847 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\jjwt-jackson-0.11.2.jar’
16:08:30.854 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\servlet-api-2.5.jar’
16:08:30.855 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\slf4j-api-1.7.30-javadoc.jar’
16:08:30.857 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\slf4j-api-1.7.30.jar’
16:08:30.867 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\stax2-api-4.2.1-javadoc.jar’
16:08:30.870 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\stax2-api-4.2.1.jar’
16:08:30.910 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\stax2-api-4.2.1.jar. module-info is not a class because access_flag ACC_MODULE is set
java.lang.NoClassDefFoundError: module-info is not a class because access_flag ACC_MODULE is set
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
16:08:30.914 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\twilio-8.36.0-javadoc.jar’
16:08:30.923 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\twilio-8.36.0.jar’
16:08:31.602 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\woodstox-core-6.2.7-javadoc.jar’
16:08:31.604 [INFO] c.b.c.runtime.ServiceParser |main| Path to jar file: ‘…\libs\woodstox-core-6.2.7.jar’
16:08:31.657 [ERROR] c.b.c.runtime.ServiceParser |main| Error while parsing jar file …\libs\woodstox-core-6.2.7.jar. org/osgi/framework/BundleActivator
java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:773)
at java.base/jdk.internal.loader.BuiltinClassLoader$4.run(BuiltinClassLoader.java:768)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:781)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:574)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at com.backendless.coderunner.runtime.ServiceParser.checkAndAddClasss(ServiceParser.java:143)
at com.backendless.coderunner.runtime.ServiceParser.findServiceClassesInLibs(ServiceParser.java:84)
at com.backendless.coderunner.runtime.task.CustomServiceParserTask.parse(CustomServiceParserTask.java:87)
at com.backendless.coderunner.parser.DebugHostedServiceParser.parseServiceModel(DebugHostedServiceParser.java:29)
at com.backendless.coderunner.debugger.BusinessLogicDebugger.build(BusinessLogicDebugger.java:55)
at com.backendless.coderunner.debugger.InstructionsFetcher.executeCommandSafe(InstructionsFetcher.java:30)
at com.backendless.coderunner.LocalCodeRunner.listenForServiceMessages(LocalCodeRunner.java:73)
at com.backendless.coderunner.CodeRunnerLoader.launch(CodeRunnerLoader.java:48)
at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:35)
Caused by: java.lang.ClassNotFoundException: org.osgi.framework.BundleActivator
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
… 22 common frames omitted
16:08:31.664 [INFO] c.b.c.runtime.ServiceParser |main| In target directory ‘…\libs’ present 40 jar files
16:08:31.667 [INFO] c.b.c.r.t.CustomServiceParserTask |main| Service classes size from libs: 0
16:08:31.672 [INFO] c.b.c.r.t.CustomServiceParserTask |main| Service classes size from classes: 2
16:08:31.714 [INFO] c.b.c.r.t.CustomServiceParserTask |main| Run dependency analyzer for app: 94496922-170D-4236-FF64-228CA5F5DE00
ClassPath: C:\Users\sanja\Documents\SANJSOFT\libs\backendless.jar;C:\Users\sanja\Documents\SANJSOFT\libs\commons-codec-1.15-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\commons-codec-1.15.jar;C:\Users\sanja\Documents\SANJSOF
T\libs\commons-io-2.7-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\commons-io-2.7.jar;C:\Users\sanja\Documents\SANJSOFT\libs\commons-logging-1.2-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\commons-logging-1.2.jar;C:\U
sers\sanja\Documents\SANJSOFT\libs\httpclient-4.5.13-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\httpclient-4.5.13.jar;C:\Users\sanja\Documents\SANJSOFT\libs\httpcore-4.4.13-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\lib
s\httpcore-4.4.13.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-annotations-2.13.3-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-annotations-2.13.3.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-core-2.13.3-j
avadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-core-2.13.3.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-databind-2.13.3-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-databind-2.13.3.jar;C:\Users\sanja
\Documents\SANJSOFT\libs\jackson-dataformat-xml-2.13.3-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-dataformat-xml-2.13.3.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jackson-datatype-jsr310-2.13.3-javadoc.jar;C:\Users
\sanja\Documents\SANJSOFT\libs\jackson-datatype-jsr310-2.13.3.jar;C:\Users\sanja\Documents\SANJSOFT\libs\javax.activation-api-1.2.0-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\javax.activation-api-1.2.0.jar;C:\Users\sanja\D
ocuments\SANJSOFT\libs\jaxb-api-2.3.1-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jaxb-api-2.3.1.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jjwt-api-0.11.2-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jjwt-api-0.11.2.
jar;C:\Users\sanja\Documents\SANJSOFT\libs\jjwt-impl-0.11.2-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jjwt-impl-0.11.2.jar;C:\Users\sanja\Documents\SANJSOFT\libs\jjwt-jackson-0.11.2-javadoc.jar;C:\Users\sanja\Documents\SA
NJSOFT\libs\jjwt-jackson-0.11.2.jar;C:\Users\sanja\Documents\SANJSOFT\libs\servlet-api-2.5.jar;C:\Users\sanja\Documents\SANJSOFT\libs\slf4j-api-1.7.30-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\slf4j-api-1.7.30.jar;C:\User
s\sanja\Documents\SANJSOFT\libs\stax2-api-4.2.1-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\stax2-api-4.2.1.jar;C:\Users\sanja\Documents\SANJSOFT\libs\twilio-8.36.0-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\twilio-
8.36.0.jar;C:\Users\sanja\Documents\SANJSOFT\libs\woodstox-core-6.2.7-javadoc.jar;C:\Users\sanja\Documents\SANJSOFT\libs\woodstox-core-6.2.7.jar
16:08:31.719 [INFO] DependencyAnalyzer |main| Analyze service: com.sample.api.DemoService
16:08:31.922 [INFO] DependencyAnalyzer |main| Analyze service: com.twilio.api.TwilioService
16:08:32.163 [INFO] c.b.c.d.DebuggerConsoleInterface |main| Build successfully: 0 event handlers and 0 timers and 2 services
16:08:32.164 [INFO] c.b.c.d.DebuggerConsoleInterface |main| Deploying model to server, and starting debug…
16:08:34.520 [INFO] c.b.c.d.DebuggerConsoleInterface |main| Model successfully deployed.
16:08:34.522 [INFO] c.b.c.d.DebuggerConsoleInterface |main| Waiting for events…