| Summary: | Unable to save a c editor | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | GaneshrajS <ganesh-s.raj> |
| Component: | Resources | Assignee: | Platform-Resources-Inbox <platform-resources-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | aleherb+eclipse, cdtdoug, ganesh-s.raj, jamesblackburn+eclipse |
| Version: | 3.6.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | HP-UX | ||
| Whiteboard: | |||
|
Description
GaneshrajS
(In reply to comment #0) Seems like the security policy of the JRE is too restrictive: > Caused by: java.security.ProviderException: setSeed() failed > at > sun.security.provider.NativePRNG$RandomIO.implSetSeed(NativePRNG.java:232) > at > sun.security.provider.NativePRNG$RandomIO.access$100(NativePRNG.java:108) > at sun.security.provider.NativePRNG.engineSetSeed(NativePRNG.java:92) > at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:180) > at java.security.SecureRandom.<init>(SecureRandom.java:161) > at > org.eclipse.core.internal.utils.UniversalUniqueIdentifier.computeNodeAddress(UniversalUniqueIdentifier.java:168) > at > org.eclipse.core.internal.utils.UniversalUniqueIdentifier.<clinit>(UniversalUniqueIdentifier.java:41) > ... 70 more > Caused by: java.io.IOException: No such device (errno:19) > at java.io.FileOutputStream.writeBytes(Native Method) > at java.io.FileOutputStream.write(FileOutputStream.java:247) > at > sun.security.provider.NativePRNG$RandomIO.implSetSeed(NativePRNG.java:230) > ... 76 more I would assume this exception would occur with every eclipse editor. Moving to Platform/Resources in case they have seen this before. Otherwise this seems to be NOT_ECLIPSE. (In reply to comment #1) > (In reply to comment #0) > > Seems like the security policy of the JRE is too restrictive: Any idea how to change it? "-D java.security.egd=/dev/random" entry in eclipse.ini file will resolve this issue? > > > Caused by: java.security.ProviderException: setSeed() failed > > at > > sun.security.provider.NativePRNG$RandomIO.implSetSeed(NativePRNG.java:232) > > at > > sun.security.provider.NativePRNG$RandomIO.access$100(NativePRNG.java:108) > > at sun.security.provider.NativePRNG.engineSetSeed(NativePRNG.java:92) > > at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:180) > > at java.security.SecureRandom.<init>(SecureRandom.java:161) > > at > > org.eclipse.core.internal.utils.UniversalUniqueIdentifier.computeNodeAddress(UniversalUniqueIdentifier.java:168) > > at > > org.eclipse.core.internal.utils.UniversalUniqueIdentifier.<clinit>(UniversalUniqueIdentifier.java:41) > > ... 70 more > > Caused by: java.io.IOException: No such device (errno:19) > > at java.io.FileOutputStream.writeBytes(Native Method) > > at java.io.FileOutputStream.write(FileOutputStream.java:247) > > at > > sun.security.provider.NativePRNG$RandomIO.implSetSeed(NativePRNG.java:230) > > ... 76 more > > I would assume this exception would occur with every eclipse editor. > Moving to Platform/Resources in case they have seen this before. Otherwise > this seems to be NOT_ECLIPSE. Looks like a problem with the JRE or class libraries. We are just creating a new instance of java.security.SecureRandom here. (In reply to comment #3) > Looks like a problem with the JRE or class libraries. We are just creating a > new instance of java.security.SecureRandom here. Yes this is related to JRE. Please go ahead and close this bug. Now I am able to save the files using eclipse editors. Thanks for your replies. Thank you, Ganeshraj.S |