[antlr-interest] ANTLRWorks 1.0.1 exception in thread "main"

Ted Villalba ted.villalba at gmail.com
Wed May 30 22:49:24 PDT 2007


Hi,



Running ANTLRWorks 1.0b11.jar , I am able to step through the debugger with
my grammar. If I delete all the files produced from compiling with version,
and recompile the .g file with ANTLRWorks1.0.1, when I step through the
denbugger it halts at the first rule and outputs:



Exception in thread "main" java.lang.NullPointerException

            at org.antlr.runtime.debug.DebugTreeAdaptor.nil(
DebugTreeAdaptor.java:45)

            at QueryParserParser.start(QueryParserParser.java:84)

            at __Test__.main(__Test__.java:22)





Perhaps my grammar is bad and the new version is simply less forgiving, not
sure.

Anyone else experience this behavior?



Thank you,

Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070530/5a319619/attachment.html 


More information about the antlr-interest mailing list