Hi! Since the last update on February 22nd my Custom Business Logic stopped working so I recompiled it with the latest release (downloaded from console) and now I can´t publish or debug it with CodeRunner, here is the error I´m getting.
Thank you
OS Windows 10
Java Version 1.8.0_51
Coderunner version 3.0.8.2
Deploy.bat
Starting CodeRunner
Listening for transport dt_socket at address: 5005
[INFO] CodeRunner™ Backendless Debugging Utility
[INFO] Copyright© 2016 Backendless Corp. All rights reserved.
[INFO] Version: 3.0.8.2 Build date: 20160223-1203
[INFO] CodeRunner session is running for 2 hour and will be terminated on 20:41:47.972[UTC]
[INFO] Registering runner on: https://api.backendless.com with secretKey: 043A27FA-70CD-8BCF-FFF5-387B87608E00
[INFO] Runner successfully registered
[INFO] Parsing event model…
[ERROR] Cannot run program “jar” (in directory “…\classes”): CreateProcess error=2, The system cannot find the file specified
[INFO] Debugging Utility disconnected successfully
[INFO] Thank you for using Backendless
CodeRunner.bat
Starting CodeRunner
Listening for transport dt_socket at address: 5005
[INFO] CodeRunner™ Backendless Debugging Utility
[INFO] Copyright© 2016 Backendless Corp. All rights reserved.
[INFO] Version: 3.0.8.2 Build date: 20160223-1203
[INFO] CodeRunner session is running for 2 hour and will be terminated on 20:42:40.457[UTC]
[INFO] Registering runner on: https://api.backendless.com with secretKey: 043A27FA-70CD-8BCF-FFF5-387B87608E00
[INFO] Runner successfully registered
[INFO] Parsing event model…
java.security.AccessControlException: access denied (“java.io.FilePermission” “file:\C:\Users\FABIO\Downloads\Jkb-25\bin\CodeRunner.jar!\weborb-config.xml” “read”)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at com.backendless.coderunner.runtime.security.CodeRunnerSecurityManager.checkPermission(CodeRunnerSecurityManager.java:52)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.File.exists(Unknown Source)
at weborb.util.watcher.FileWatcher.<init>(FileWatcher.java:16)
at weborb.config.LocalConfig.getWatcher(LocalConfig.java:28)
at weborb.config.ORBServerConfig.init(ORBServerConfig.java:203)
at weborb.config.ORBServerConfig.<init>(ORBServerConfig.java:106)
at weborb.config.ORBServerConfig.getORBConfig(ORBServerConfig.java:255)
at weborb.config.ORBServerConfig.getORBConfig(ORBServerConfig.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at weborb.config.ORBConfig.getORBConfig(ORBConfig.java:58)
at weborb.types.Types.addClientClassMapping(Types.java:129)
at com.backendless.UserService.<init>(UserService.java:56)
at com.backendless.UserService.<clinit>(UserService.java:47)
at com.backendless.Backendless.<clinit>(Backendless.java:42)
at com.backendless.jkb.Bootstrap.onStart(Bootstrap.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.backendless.coderunner.util.ReflectionUtil$2.runImpl(ReflectionUtil.java:105)
at com.backendless.coderunner.runtime.concurrent.ExtendedRunnable.run(ExtendedRunnable.java:22)
at java.lang.Thread.run(Unknown Source)
[WEBORB ERROR, Thread-26, 02:27:16 06:42:47] Error initializing WebORB configuration
java.lang.RuntimeException: access denied (“java.io.FilePermission” “file:\C:\Users\FABIO\Downloads\Jkb-25\bin\CodeRunner.jar!\weborb-config.xml” “read”)
at weborb.config.ORBServerConfig.<init>(ORBServerConfig.java:111)
at weborb.config.ORBServerConfig.getORBConfig(ORBServerConfig.java:255)
at weborb.config.ORBServerConfig.getORBConfig(ORBServerConfig.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at weborb.config.ORBConfig.getORBConfig(ORBConfig.java:58)
at weborb.types.Types.addClientClassMapping(Types.java:129)
at com.backendless.UserService.<init>(UserService.java:56)
at com.backendless.UserService.<clinit>(UserService.java:47)
at com.backendless.Backendless.<clinit>(Backendless.java:42)
at com.backendless.jkb.Bootstrap.onStart(Bootstrap.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.backendless.coderunner.util.ReflectionUtil$2.runImpl(ReflectionUtil.java:105)
at com.backendless.coderunner.runtime.concurrent.ExtendedRunnable.run(ExtendedRunnable.java:22)
at java.lang.Thread.run(Unknown Source)
[WEBORB ERROR, Thread-26, 02:27:16 06:42:47] Error initializing WebORB configuration
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at weborb.config.ORBConfig.getORBConfig(ORBConfig.java:58)
at weborb.types.Types.addClientClassMapping(Types.java:129)
at com.backendless.UserService.<init>(UserService.java:56)
at com.backendless.UserService.<clinit>(UserService.java:47)
at com.backendless.Backendless.<clinit>(Backendless.java:42)
at com.backendless.jkb.Bootstrap.onStart(Bootstrap.java:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.backendless.coderunner.util.ReflectionUtil$2.runImpl(ReflectionUtil.java:105)
at com.backendless.coderunner.runtime.concurrent.ExtendedRunnable.run(ExtendedRunnable.java:22)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at weborb.config.ORBServerConfig.checkConfigModifications(ORBServerConfig.java:332)
at weborb.config.ORBServerConfig.getORBConfig(ORBServerConfig.java:264)
at weborb.config.ORBServerConfig.getORBConfig(ORBServerConfig.java:270)
… 17 more
[ERROR] Cannot run program “jar” (in directory “…\classes”): CreateProcess error=2, The system cannot find the file specified
[INFO] Debugging Utility disconnected successfully
[INFO] Thank you for using Backendless
Press any key to continue . . .