[antlr-interest] ANTLRWorks - Java null pointer exception
Terence Parr
parrt at cs.usfca.edu
Mon Dec 13 10:20:42 PST 2010
I have identified this exception as the problem preventing debugging... I will push out 1.4.2 within a day or so.
Can I send you directly a test jar?
Ter
On Dec 12, 2010, at 1:48 PM, Vincent De Groote wrote:
> Hello,
>
> I downloaded today the ANTLRWORKS-1.4.1 package (antlrworks-1.4.1.jar).
>
> I started the jar file with
>
> java -jar ../Downloads/antlrworks-1.4.1.jar
>
> When I use the sample expr grammar found on antlr site, the debugger
> stops working a few steps after the beginning with java null pointer
> exceptions on the console screen:
>
>
> [---- CONSOLE OUTPUT
> --------------------------------------------------------------------------]
>
> Checking Grammar expr.g...
>
> Note: /home/vdg/antlr-test/output/exprParser.java uses unchecked or
> unsafe operations.
>
> Note: Recompile with -Xlint:unchecked for details.
>
> Note: /home/vdg/antlr-test/output/exprParser.java uses unchecked or
> unsafe operations.
>
> Note: Recompile with -Xlint:unchecked for details.
>
> java.lang.NullPointerException
> java.lang.NullPointerException
> at
> org.antlr.runtime.debug.RemoteDebugEventSocketListener.dispatch(RemoteDebugEventSocketListener.java:275)
> at
> org.antlr.runtime.debug.RemoteDebugEventSocketListener.eventHandler(RemoteDebugEventSocketListener.java:176)
> at
> org.antlr.runtime.debug.RemoteDebugEventSocketListener.run(RemoteDebugEventSocketListener.java:472)
> at java.lang.Thread.run(Thread.java:636)
>
> [---- CONSOLE OUTPUT: end
> --------------------------------------------------------------------------]
>
>
> I have the same result with another grammar I downloaded from the site.
>
> Any idea ?
>
> Thanks for your help
>
> Vincent De Groote
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
More information about the antlr-interest
mailing list