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

Custom kerl erlang can cause exception #246

Closed
lixen opened this issue Nov 4, 2015 · 4 comments
Closed

Custom kerl erlang can cause exception #246

lixen opened this issue Nov 4, 2015 · 4 comments

Comments

@lixen
Copy link

lixen commented Nov 4, 2015

After I installed Bashos patched kerl build erlide failed to start.

./kerl build git git://github.com/basho/otp.git OTP_R16B02_basho8 R16B02-basho8
./kerl install R16B02-basho8 ~/erlang/R16B02-basho8
Root exception:
java.lang.NumberFormatException: For input string: "02_basho8"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:492)
    at java.lang.Integer.parseInt(Integer.java:527)
    at org.erlide.runtime.runtimeinfo.RuntimeVersion$Serializer.parseOld(RuntimeVersion.java:88)
    at org.erlide.runtime.runtimeinfo.RuntimeVersion$Serializer.parse(RuntimeVersion.java:140)
    at org.erlide.runtime.runtimeinfo.RuntimeInfo.getVersion(RuntimeInfo.java:212)
    at org.erlide.runtime.runtimeinfo.RuntimeInfo.getVersion(RuntimeInfo.java:204)
    at org.erlide.runtime.runtimeinfo.RuntimeInfoCatalog.addRuntime(RuntimeInfoCatalog.java:68)
    at org.erlide.runtime.runtimeinfo.RuntimeInfoCatalog.initializeRuntimesList(RuntimeInfoCatalog.java:191)
    at org.erlide.runtime.runtimeinfo.RuntimeInfoCatalog.setRuntimes(RuntimeInfoCatalog.java:48)
    at org.erlide.runtime.api.RuntimeCore.getRuntimeInfoCatalog(RuntimeCore.java:21)
    at org.erlide.backend.BackendCore.getRuntimeInfoCatalog(BackendCore.java:27)
    at org.erlide.backend.internal.BackendActivator.start(BackendActivator.java:21)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)
@vladdu vladdu self-assigned this Nov 4, 2015
@vladdu
Copy link
Collaborator

vladdu commented Nov 4, 2015

ah, I only assumed that version numbers are numeric... I'll try to fix this today.

@vladdu
Copy link
Collaborator

vladdu commented Nov 4, 2015

note to self: version here is R16B02_basho8

vladdu added a commit to vladdu/erlide_eclipse that referenced this issue Nov 4, 2015
vladdu added a commit to vladdu/erlide_eclipse that referenced this issue Nov 4, 2015
@vladdu
Copy link
Collaborator

vladdu commented Nov 4, 2015

Fixed in nightly

@lixen
Copy link
Author

lixen commented Nov 4, 2015

Thanks!

vladdu added a commit to vladdu/erlide_eclipse that referenced this issue Feb 15, 2016
@vladdu vladdu closed this as completed Mar 8, 2016
vladdu added a commit to vladdu/erlide_eclipse that referenced this issue Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants