Skip Menu |
Report information
Id: 120379
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: moritz <moritz.lenz+perl [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: testneeded
Platform: (no value)
Patch Status: (no value)
VM: JVM



Date: Sun, 27 Oct 2013 13:20:38 +0100
To: rakudobug [...] perl.org
From: Moritz Lenz <moritz [...] faui2k3.org>
Subject: java.lang.NullPointerException from incomplete regex on the REPL
Download (untitled) / with headers
text/plain 988b
moritz@pat:~/p6/json>perl6-j Show quoted text
> 'asa' ~~ /:s ^a* %
java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException java.lang.NullPointerException Exception in thread "main" org.perl6.nqp.runtime.UnwindException at org.perl6.nqp.runtime.ThreadContext.<init>(ThreadContext.java:113) at org.perl6.nqp.runtime.GlobalContext.getCurrentThreadContext(GlobalContext.java:304) at org.perl6.nqp.runtime.GlobalContext.<init>(GlobalContext.java:222) at org.perl6.nqp.runtime.CompilationUnit.enterFromMain(CompilationUnit.java:59) at perl6.main(gen/jvm/main.nqp) moritz@pat:~/p6/json>perl6-j --version This is perl6 version 2013.10-79-g0026bfb built on JVM needless to say, this is not the level of error reporting that we aspire to.
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 354b
This no longer gives a NullPointerException: $ perl6-j Show quoted text
> 'asa' ~~ /:s ^a* %
===SORRY!=== Error while compiling <unknown file> Missing quantifier on the left argument of % at <unknown file>:2 ------> <BOL>⏏<EOL> $ perl6-j --version This is perl6 version 2015.01-60-g12db81b built on JVM Is this closeable or do we need a test for the rakudo.jvm REPL?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org