Hyphenation Compilation Problem with Java 1.6.0_10



Has anybody encounter problems compiling hyphenation files with Java 1.6?  I have a custom hyphenation file (.xml) integrated into my build process to compile a hyp file used for generating PDF reports.  This works with no problem within a build environment with JAVA 1.5 using ant 1.7.0.  When I hook this up in a Java 1.6.0_10 environment with ant 1.7.1 (exact same hyphenation file) I encounter a stack overflow error.  I truncated the TernaryTree list in the output below because it is quite long.  I am using fop 0.95. 

 

Any insight would be appreciated.

 

Cheers.

 

B.

 

 

java.lang.StackOverflowError

            at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)

            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:597)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:357)

            at org.apache.tools.ant.Target.performTasks(Target.java:385)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)

            at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1189)

            at org.apache.tools.ant.Main.runBuild(Main.java:758)

            at org.apache.tools.ant.Main.startAnt(Main.java:217)

            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

 

Caused by: java.lang.StackOverflowError

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:175)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

            at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:228)

                
Ben Wuest
Software Engineer, Development
Q1 Labs Inc - The Nexus of Security and Networking
Office: (506)-462-9117 ext 163 Fax: (506)-459-7016
ben.wuest@xxxxxxxxxx | http://www.q1labs.com

 



Privacy