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

java -jar perlito5.jar -Isrc5/lib array.t failed to run with OpenJDK (not official Java) #60

Open
yaakov-berkovitch opened this issue Feb 4, 2020 · 0 comments

Comments

@yaakov-berkovitch
Copy link

Hi,

I forked the perliot project and built it successfully.
As described in the project README, I tried to run the test, and got the following error:

java -jar perlito5.jar -Isrc5/lib array.t
java.lang.NullPointerException
        at org.perlito.Perlito5.PlJavaCompiler.compileClassInMemory(PlJavaCompiler.java:390)
        at org.perlito.Perlito5.PlJavaCompiler.eval_perl_string(PlJavaCompiler.java:325)
        at org.perlito.Perlito5.Main$61.apply(Main.java:4335)
        at org.perlito.Perlito5.PlLvalue.apply(PlLvalue.java:533)
        at org.perlito.Perlito5.PlStringConstant.apply(PlStringConstant.java:160)
        at org.perlito.Perlito5.Main.main(Main.java:4775)
org.perlito.Perlito5.PlDieException: null pointer: java.lang.NullPointerException at array.t line 1

        at org.perlito.Perlito5.PlCORE.die(PlCORE.java:955)
        at org.perlito.Perlito5.LibPerl$358.apply(LibPerl.java:24668)
        at org.perlito.Perlito5.PlLvalue.apply(PlLvalue.java:533)
        at org.perlito.Perlito5.PlStringConstant.apply(PlStringConstant.java:160)
        at org.perlito.Perlito5.Main.main(Main.java:4777)

I'm using OpenJDK Java 1.8:
java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

Thanks,
Yaakov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants