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

Crashes on start #124

Open
atleta opened this issue Sep 4, 2017 · 0 comments
Open

Crashes on start #124

atleta opened this issue Sep 4, 2017 · 0 comments

Comments

@atleta
Copy link

atleta commented Sep 4, 2017

Hi,

Starting it with java -jar javarepl-428.jar results in:

Exception in thread "main" java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile for class javarepl/internal/totallylazy/functions/CurriedBinary. Method lambda$flip$142(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; at index 48 is CONSTANT_MethodRef and should be CONSTANT_InterfaceMethodRef
	at javarepl.internal.totallylazy.functions.CurriedBinary.flip(CurriedBinary.java:11)
	at javarepl.internal.totallylazy.numbers.Numbers.<clinit>(Numbers.java:432)
	at javarepl.Main.port(Main.java:196)
	at javarepl.Main.main(Main.java:56)

after a few seconds of wait time (but before the prompt appears).

Output of java -version:

openjdk version "9-Ubuntu"
OpenJDK Runtime Environment (build 9-Ubuntu+0-9b161-1)
OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b161-1, mixed mode)

Trying with OpnJDK8 gets me this:

Welcome to JavaREPL version 428 (OpenJDK 64-Bit Server VM, Java 1.8.0_131)
Type expression to evaluate, :help for more options or press tab to auto-complete.
Connected to local instance at http://localhost:33359

ERROR: Could not start REPL instance at http://localhost:33359

Terminating...
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

1 participant