getSourceLineNumber() throws NullPointerException on ParseError

Carlos Gómez <solrac888-/[email protected]> Mon, 12 Apr 2010 11:04:28 +0000 (GMT)
Newsgroups gmane.comp.java.beanshell.user
Message-ID <[email protected]>
If I try to get the line number where a ParseError has occurred, I get a NullPointerException. Is this a bug or am I doing something wrong? Is it going to be fixed?
Best regards


      
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev