Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom ClassLoader causes problem in runtime #7

Open
hprange opened this issue Jun 10, 2012 · 0 comments
Open

Custom ClassLoader causes problem in runtime #7

hprange opened this issue Jun 10, 2012 · 0 comments
Assignees
Labels

Comments

@hprange
Copy link
Owner

hprange commented Jun 10, 2012

The WOInject custom ClassLoader causes security exception and class loading problems. Example:

The encryption error:
java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.Cipher.getInstance(DashoA13_..)
at org.bouncycastle.openpgp.PGPEncryptedDataGenerator$PubMethod.addSessionInfo(Unknown
Source)
at org.bouncycastle.openpgp.PGPEncryptedDataGenerator.open(Unknown Source)
at org.bouncycastle.openpgp.PGPEncryptedDataGenerator.open(Unknown Source)
at com.resurgences.xdi.invs.INVSService.encryptFile(INVSService.java:1571)
(...)
Caused by: java.util.jar.JarException: Class is on the bootclasspath
at javax.crypto.SunJCE_c.a(DashoA13_..)
at javax.crypto.SunJCE_b.b(DashoA13_..)
at javax.crypto.SunJCE_b.a(DashoA13_..)

@ghost ghost assigned hprange Jun 10, 2012
hprange added a commit that referenced this issue Jun 10, 2012
This is a experimental fix for the class loading problem
caused by the custom class loader used by WOInject.
@hprange hprange modified the milestone: woinject-1.2 Feb 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant