SecurityException when running the OpenCL Info utility

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SecurityException when running the OpenCL Info utility

Xerxes Rånby
Exception when running the JOCL demos OpenCL Info utility.
http://jogamp.org/deployment/webstart-next/jocl-demos/clinfo.jnlp

fails on Windows using the Java 7u17 plugin. I belive this is a JogAmp package-bug for the JOCL demo OpenCL Info utility because all the JOGL JNLP demos runs sucessfully on the same machine and the other available JOCL demos starts correctly. Its only the Info utility that fail.
The exception is included below:

Windows 7 64bit Servicepack 1
Java(TM) Platform SE 7 U17

    Fil: npjp2.dll
    Version: 10.17.2.2
    Next Generation Java Plug-in 10.17.2 for Mozilla browsers


java.lang.SecurityException: class "com.jogamp.opencl.util.ExceptionReporter" does not match trust level of other classes in the same package
        at com.sun.deploy.security.CPCallbackHandler$ChildElement.checkResource(Unknown Source)
        at com.sun.deploy.security.DeployURLClassPath$JarLoader.checkResource(Unknown Source)
        at com.sun.deploy.security.DeployURLClassPath$JarLoader.getResource(Unknown Source)
        at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.jogamp.opencl.demos.info.CLInfo.main(CLInfo.java:45)
        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.sun.javaws.Launcher.executeApplication(Unknown Source)
        at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
        at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
        at com.sun.javaws.Launcher.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|

Re: SecurityException when running the OpenCL Info utility

gouessej
Administrator
I suspect it comes from this bug.
Julien Gouesse | Personal blog | Website