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

Equinox OSGi container error #488

Open
zzj1213 opened this issue Nov 12, 2016 · 1 comment
Open

Equinox OSGi container error #488

zzj1213 opened this issue Nov 12, 2016 · 1 comment
Labels

Comments

@zzj1213
Copy link

zzj1213 commented Nov 12, 2016

/home $ java -jar org.eclipse.osgi_3.11.1.jar -console
Exception in thread "main" java.lang.ClassNotFoundException: Cannot load class:
org.eclipse.core.runtime.adaptor.EclipseStarter
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at doppio.JarLauncher.main(JarLauncher.java:32)

@jvilk
Copy link
Member

jvilk commented Nov 13, 2016

I get the following error with the Node frontend:

$ ./doppio -jar ~/Downloads/org.eclipse.osgi_3.11.1.v20160708-1632.jar -console
java.lang.ExceptionInInitializerError
    at org.eclipse.osgi.internal.framework.EquinoxConfiguration.initializeProperties(EquinoxConfiguration.java:1029)
    at org.eclipse.osgi.internal.framework.EquinoxConfiguration.<init>(EquinoxConfiguration.java:497)
    at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:62)
    at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:303)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:216)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at doppio.JarLauncher.main(JarLauncher.java:34)
Caused by: java.security.ProviderException: engineSetSeed() failed.
    at doppio.security.NodePRNG.engineSetSeed(Native Method)
    at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:209)
    at java.security.SecureRandom.<init>(SecureRandom.java:190)
    at org.eclipse.osgi.internal.framework.UniversalUniqueIdentifier.computeNodeAddress(UniversalUniqueIdentifier.java:127)
    at org.eclipse.osgi.internal.framework.UniversalUniqueIdentifier.<clinit>(UniversalUniqueIdentifier.java:35)

That error is caused by Node's secure PRNG not accepting a seed. We might have to build a secure PRNG on top of Node's secure PRNG that can accept a seed.

@jvilk jvilk added the bug label Nov 13, 2016
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

2 participants