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

[iaik-jce] InternalError Exception at IAIK KeyStore.setKeyEntry - possible explanation ?



Hi !

We've got an obscure Exception within our program.

# 2001.02.12 19:54:45 : [N:java.lang.InternalError] internal error:
SeedGenerator thread generated an exception.
java.lang.InternalError: internal error: SeedGenerator thread generated an
exception.
	at
sun.security.provider.SeedGenerator._getByte(SeedGenerator.java:178)
	at
sun.security.provider.SeedGenerator.getByte(SeedGenerator.java:164)
	at
sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:117)
	at java.security.SecureRandom.generateSeed(SecureRandom.java:389)
	at java.security.SecureRandom.getSeed(SecureRandom.java:376)
	at iaik.security.random.JDKSeedGenerator.getSeed(Unknown Source)
	at iaik.security.random.SeedGenerator.getDefault(Unknown Source)
	at iaik.security.random.SecRandom.setSeed(Unknown Source)
	at iaik.security.random.SecRandom.nextBytes(Unknown Source)
	at iaik.security.keystore.IAIKKeyStore.b(Unknown Source)
	at iaik.security.keystore.IAIKKeyStore.engineSetKeyEntry(Unknown
Source)
	at java.security.KeyStore.setKeyEntry(KeyStore.java:358)
	at
de.healyhudson.edge.transport.security.mail.SMimeSecurityHandler.addX509Cert
ificate(SMimeSecurityHandler.java:230)

I've attached the method which produced the exception. Line 230 is marked by
/*230*/

Has anyone an explanation for this exception.
How is it possible to avoid this problem ? 

thanks 

andreas hiltenkamp

code.java