You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with restricted privileges, I get s failure initialising due to an attempt to create a security manager:
java.lang.ExceptionInInitializerError
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.<init>(NativeOpExecutioner.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5629)
at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5553)
at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:188)
at Test.test(...)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: http://nd4j.org/getstarted.html
at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:41)
at org.nd4j.nativeblas.NativeOpsHolder.<clinit>(NativeOpsHolder.java:17)
... 41 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:25)
... 42 more
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "createSecurityManager")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.<init>(SecurityManager.java:299)
at org.bytedeco.javacpp.Loader$1.<init>(Loader.java:262)
at org.bytedeco.javacpp.Loader.getCallerClass(Loader.java:262)
at org.bytedeco.javacpp.Loader.load(Loader.java:657)
at org.nd4j.nativeblas.Nd4jCpu$NativeOps.<clinit>(Nd4jCpu.java:62)
... 45 more
The code in the area already has some fallback logic which uses the modern API, Thread.currentThread().getStackTrace() - it seems like this fallback could just become the entire body of the method, rather than just being a workaround for Android.
The text was updated successfully, but these errors were encountered:
Running with restricted privileges, I get s failure initialising due to an attempt to create a security manager:
The code in the area already has some fallback logic which uses the modern API,
Thread.currentThread().getStackTrace()
- it seems like this fallback could just become the entire body of the method, rather than just being a workaround for Android.The text was updated successfully, but these errors were encountered: