zaqaqaw / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

Exception in thread "Thread-28" java.lang.SecurityException: #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Exception in thread "Thread-28" java.lang.SecurityException: class 
"jzebra.LogIt"'s signer information does not match signer information of other 
classes in the same package
    at java.lang.ClassLoader.checkCerts(Unknown Source)
    at java.lang.ClassLoader.preDefineClass(Unknown Source)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(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 sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at jzebra.PrintApplet.logStart(PrintApplet.java:921)
    at jzebra.PrintApplet.run(PrintApplet.java:93)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by balkiind...@gmail.com on 29 Jun 2013 at 10:18

GoogleCodeExporter commented 8 years ago
Hi,
I am using JAVA Version 1.6.38

Original comment by balkiind...@gmail.com on 29 Jun 2013 at 11:02

GoogleCodeExporter commented 8 years ago
I've had some reports that Java 1.6 is no longer working with the applet.

The only thing I can suggest for now is to downgrade jzebra and see if that 
helps, or update your Java to version 1.7.

In the mean time, I'll keep this bug open and try to set up an environment that 
matches yours to see why security exceptions are being thrown in Java 6.

-Tres

Original comment by tres.fin...@gmail.com on 1 Jul 2013 at 2:22

GoogleCodeExporter commented 8 years ago
Thanks!

Will keep tracking this.

Original comment by balkiind...@gmail.com on 1 Jul 2013 at 1:34

GoogleCodeExporter commented 8 years ago
@balkiindia87,

I have tested jzebra 1.4.9.1 with Java 1.6 u38 and I can confirm this DOES NOT 
work.

You should UPDATE JAVA TO 1.6 U45 or DOWNGRADE JZEBRA to version 1.4.7.

Warning, 1.4.7 WILL NOT WORK with Java 7 U21 or higher.

I'm not sure what is causing this compatibility.  I get a different message:
  > load: class jzebra.PrintApplet.class not found.

-Tres

Original comment by tres.fin...@gmail.com on 1 Jul 2013 at 7:20