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

Terence Parr parrt at cs.usfca.edu
Thu May 31 11:03:26 PDT 2007


Hmm... I think we are having issues with the test rig in AW at the  
moment.
Ter
On May 30, 2007, at 10:49 PM, Ted Villalba wrote:

> 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



More information about the antlr-interest mailing list