[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] class not found exception while calling IAIK.addAsProvider



Hi,

I get the following exception while executing a
java app using Java Web Start(The app works fine while running
standalone i.e., java -cp ... <app>...). The offending line of code seems to
be

iaik.security.provider.IAIK.addAsProvider( true );

Any ideas????


java.lang.StackOverflowError
	at java.lang.ClassNotFoundException.<init>(Unknown Source)
	at java.lang.ClassLoader.findBootstrapClass(Native Method)
	at java.lang.ClassLoader.findBootstrapClass0(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.security.Security.getImpl(Unknown Source)
	at java.security.MessageDigest.getInstance(Unknown Source)
	at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
	at java.util.jar.JarVerifier.beginEntry(Unknown Source)
	at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
	at java.util.jar.JarFile.getInputStream(Unknown Source)
	at
com.sun.javaws.security.JNLPClassPath$4.getInputStream(JNLPClassPath.java:55
0)
	at com.sun.javaws.security.Resource.getBytes(Resource.java:61)
	at
com.sun.jnlp.JNLPClassLoader.defineClass(JNLPClassLoader.java:276)
	at com.sun.jnlp.JNLPClassLoader.access$0(JNLPClassLoader.java:245)
	at com.sun.jnlp.JNLPClassLoader$1.run(JNLPClassLoader.java:226)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:220)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.security.Security.getImpl(Unknown Source)
	at java.security.MessageDigest.getInstance(Unknown Source)
	at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
	at java.util.jar.JarVerifier.beginEntry(Unknown Source)
	at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
	at java.util.jar.JarFile.getInputStream(Unknown Source)
	at
com.sun.javaws.security.JNLPClassPath$4.getInputStream(JNLPClassPath.java:55
0)
	at com.sun.javaws.security.Resource.getBytes(Resource.java:61)
	at
com.sun.jnlp.JNLPClassLoader.defineClass(JNLPClassLoader.java:276)
	at com.sun.jnlp.JNLPClassLoader.access$0(JNLPClassLoader.java:245)
	at com.sun.jnlp.JNLPClassLoader$1.run(JNLPClassLoader.java:226)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClas
......

	at com.sun.jnlp.JNLPClassLoader.access$0(JNLPClassLoader.java:245)
	at com.sun.jnlp.JNLPClassLoader$1.run(JNLPClassLoader.java:226)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:220)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.security.Security.getImpl(Unknown Source)
	at java.security.MessageDigest.getInstance(Unknown Source)
	at sun.security.util.ManifestEntryVerifier.setEntry(Unknown Source)
	at java.util.jar.JarVerifier.beginEntry(Unknown Source)
	at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
	at java.util.jar.JarFile.getInputStream(Unknown Source)
	at
com.sun.javaws.security.JNLPClassPath$4.getInputStream(JNLPClassPath.java:55
0)
	at com.sun.javaws.security.Resource.getBytes(Resource.java:61)
	at
com.sun.jnlp.JNLPClassLoader.defineClass(JNLPClassLoader.java:276)
	at com.sun.jnlp.JNLPClassLoader.access$0(JNLPClassLoader.java:245)
	at com.sun.jnlp.JNLPClassLoader$1.run(JNLPClassLoader.java:226)

Thanks,
Ryan
--
Mailinglist-archive at
http://jcewww.iaik.at/mailarchive/iaik-jce/jcethreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content:
UNSUBSCRIBE iaik-jce