Eclipse : JCE problem  
Author Message
sshark97





PostPosted: 2004-2-7 2:04:00 Top

java-programmer, Eclipse : JCE problem Hi,

I have this exception when I launched an application from Eclipse 2.1.

java.security.NoSuchProviderException: JCE cannot authenticate the provider
SunJCE java.lang.NullPointerException
at javax.crypto.SunJCE_b.a(DashoA6275)
at javax.crypto.SunJCE_b.a(DashoA6275)
at javax.crypto.SecretKeyFactory.getInstance(DashoA6275)
at
cms.security.SecurityConfiguration.getSecretKeyFactory(SecurityConfiguration
.java:196)
at
cms.kms.PBEKeyHandlingService.loadValuesFromSecurityConfig(PBEKeyHandlingSer
vice.java:276)
at
cms.kms.PBEKeyHandlingService.<init>(PBEKeyHandlingService.java:114)
at cms.backend.JCECryptoService.<init>(JCECryptoService.java:129)
at services.CryptoService.<init>(CryptoService.java:68)
...

I'm using JDK ver. 1.4.0. I'm have replaced local_policy.jar and
US_export_policy.jar with an unlimited strength version.

However, this exeception is NOT thrown when I launched the same application from
command line. It only happen when I executed it inside Eclipse environment.
Any advice?

TQ

/lim/