java.lang.InternalError: URLSeedGenerator file:/dev/random reached end of file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openas2 by amitdhar
, 1 year ago
URLSeedGenerator file:/dev/random reached end of file
via Google Groups by Marcin Gryszkalis, 4 months ago
URLSeedGenerator file:/dev/random generated exception: null
via Oracle Community by 420346, 1 year ago
URLSeedGenerator file:/dev/random generated exception: Permission denied
via Oracle Community by 807569, 1 year ago
URLSeedGenerator file:/dev/random generated exception: Permission denied
java.lang.InternalError: URLSeedGenerator file:/dev/random reached end of file
at sun.security.provider.SeedGenerator$URLSeedGenerator.getSeedByte(SeedGenerator.java:476)
at sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerator.java:137)
at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:132)
at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:112)
at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:169)
at java.security.SecureRandom.nextBytes(SecureRandom.java:381)
at java.security.AlgorithmParameterGenerator.generateParameters(AlgorithmParameterGenerator.java:278)
at org.bouncycastle.cms.CMSEnvelopedDataGenerator.generate(CMSEnvelopedDataGenerator.java:344)
at org.bouncycastle.mail.smime.SMIMEEnvelopedGenerator.make(SMIMEEnvelopedGenerator.java:129)
at org.openas2.util.AS2Util.encrypt(AS2Util.java:276)
at org.openas2.processor.sender.AS2SenderModule.secure(AS2SenderModule.java:227)
at org.openas2.processor.sender.AS2SenderModule.handle(AS2SenderModule.java:59)
at org.openas2.processor.DefaultProcessor.handle(DefaultProcessor.java:53)
at org.openas2.processor.receiver.DirectoryPollingModule.processFile(DirectoryPollingModule.java:91)
at org.openas2.processor.receiver.DirectoryPollingModule.poll(DirectoryPollingModule.java:61)
at org.openas2.processor.receiver.PollingModule$PollTask.run(PollingModule.java:49)
at java.util.TimerThread.mainLoop(Timer.java:432)
at java.util.TimerThread.run(Timer.java:382)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.