[antlr-interest] ANTLR3 vcab import exception

Jim Idle jimi at temporal-wave.com
Tue Oct 18 12:50:23 PDT 2005


Anyone got any thoughts on this (ANTLR 3 built from source code as of Sunday evening, JDK 1.5 Update 5)
 
problem reading token vocabulary file cmql.tokens: java.lang.NullPointerException
org.antlr.tool.AssignTokenTypesWalker.importTokenVocab(Unknown Source)
org.antlr.tool.AssignTokenTypesWalker.option(Unknown Source)
org.antlr.tool.AssignTokenTypesWalker.optionsSpec(Unknown Source)
org.antlr.tool.AssignTokenTypesWalker.grammarSpec(Unknown Source)
org.antlr.tool.AssignTokenTypesWalker.grammar(Unknown Source)
org.antlr.tool.Grammar.setGrammarContent(Unknown Source)
org.antlr.Tool.process(Unknown Source)
org.antlr.Tool.main(Unknown Source)
 
The cmql.tokens file is there and looks correct. If  I delete a token in the file, then it tells me that there is a token sequence error, so it is reading the tokens. 
 
if not then I guess I will start debugging from source code. But just in case anyone has seen this before...

Jim


More information about the antlr-interest mailing list