[antlr-interest] NullPointerException from LA

Mike Gadsdon m.gadsdon at rheagroup.com
Fri Mar 18 05:10:26 PST 2005


Hi,

I'm getting a Java NullPointerException from the LA method. It appears to
trigger when a parser lookahead test goes past the available tokens. See
attached image of Eclipse debug environment - the exception is thrown at the
line highlighted in green.

I'm using ANTLR 2.7.4 at the moment.

Cheers

Mike

==============================================================
Mike Gadsdon                   mailto:m.gadsdon at rheagroup.com
Rhea System S.A                Tel +44 (0)20 8891 0702
                               Fax +44 (0)20 8891 6702
==============================================================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic.jpg
Type: image/jpeg
Size: 195777 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20050318/43df2a11/pic-0001.jpg


More information about the antlr-interest mailing list