Login  Register

SecurityException when running the OpenCL Info utility

Posted by Xerxes Rånby on Mar 20, 2013; 7:12pm
URL: https://forum.jogamp.org/SecurityException-when-running-the-OpenCL-Info-utility-tp4028723.html

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)