Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

ant build target:jflex throws Stackoverflow error

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


imvivacious1 at gmail

Jun 13, 2012, 5:59 PM

Post #1 of 1 (211 views)
Permalink
ant build target:jflex throws Stackoverflow error

Hello,

I have checked out lucene 3.6 and I am trying to run the ant jflex. It is
throwing a Stackoverflow error when it is trying to execute the target:
jflex-UAX29URLEmailTokenizer. Any idea why this is happening? I have checked
out the trunk version of Jflex 1.5 with revision greater than 597 as
suggested in javadoc. Following is the exception stacktrace:

d:\CW\lucene-3.6\core\build.xml:96: java.lang.StackOverflowError
at jflex.RegExp.isCharClass(RegExp.java:85)
at jflex.RegExp.isCharClass(RegExp.java:85)
at jflex.RegExp.isCharClass(RegExp.java:85)
at jflex.NFA.insertNFA(NFA.java:966)
at jflex.NFA.insertNFA(NFA.java:966)
at jflex.NFA.insertNFA(NFA.java:1037)
at jflex.NFA.addRegExp(NFA.java:128)
at
jflex.CUP$LexParse$actions.CUP$LexParse$do_action(LexParse.java:2178)
at jflex.LexParse.do_action(LexParse.java:547)
at java_cup.runtime.lr_parser.parse(lr_parser.java:584)
at jflex.Main.generate(Main.java:63)
at jflex.anttask.JFlexTask.execute(JFlexTask.java:60)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Many Thanks!

--
View this message in context: http://lucene.472066.n3.nabble.com/ant-build-target-jflex-throws-Stackoverflow-error-tp3989548.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe [at] lucene
For additional commands, e-mail: java-user-help [at] lucene

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.