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

Jean Bovet antlr-list at arizona-software.ch
Thu May 31 22:29:32 PDT 2007


Yep, that's right. I'm working on fixing that in the upcoming version  
1.0.2.

Jean

On May 31, 2007, at 11:03 AM, Terence Parr wrote:

> 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