RE: Hyphenation Compilation Problem with Java
1.6.0_10



First off ... my apologies for 'cross-posting'. I'm new to this sort of
thing and thought that I was sending to two different groups. I will
refrain from this on future queries.

Secondly .. I resolved the problem after I had not heard from anybody.
The problem is in the settings on the jvm. The stack size (through the
-Xss option needs to be set accordingly). All the hyphenation pattern
files from OFFO will run fine but the hyphenation file I am using is
quite specialized and quite large and requires adjustment to the jvm to
run properly.

Cheers.

B.

-----Original Message-----
From: Jeremias Maerki [mailto:dev@xxxxxxxxxxxxxxxxxx]
Sent: Friday, February 27, 2009 8:39 AM
To: fop-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Hyphenation Compilation Problem with Java 1.6.0_10

Ben, there's no need to cross-post. fop-users is enough.

I've just run all the hyphenation patterns from OFFO using Java 1.6.0_10
and Ant 1.7.2 and I didn't get any errors. I think you may need to post
your file so we can reproduce the problem.

On 20.02.2009 19:38:12 Ben Wuest wrote:
> 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(ProjectHe
> lper.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(DelegatingMethodAccessor
> Impl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:1
> 06)
>
> 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(DefaultExecut
> or.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 <http://www.q1labs.com/>
>
>
>




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: fop-users-help@xxxxxxxxxxxxxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: fop-users-help@xxxxxxxxxxxxxxxxxxxxxx



Privacy