[ 
https://issues.apache.org/jira/browse/XALANJ-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966096#action_12966096
 ] 

Jochen Stiepel commented on XALANJ-2526:
----------------------------------------

I'm call this ant-task from within maven. So I used 

MAVEN_OPTS= -Xss1m  -Xmx2024m  -> StackoverflowError, so it doesn't help
MAVEN_OPTS= -Xss5m  -Xmx2548m  -> OutOfMemoryError Java Heapspace, the maschine 
doesn't have more memory.

Should I analyse the heapdump with eclipse mat ( http://www.eclipse.org/mat/ ) 
? Would that be helpfull for you?
 

> StackOverflowError at at 
> org.apache.xml.serializer.ToStream.characters(ToStream.java:1624)
> ------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-2526
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2526
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in 
> Xalan projects.  Anybody can view the issue.) 
>    Affects Versions: 2.7.1
>         Environment: Linux, Java 1.6.0_21, Xalan 2.7.1
>            Reporter: Jochen Stiepel
>            Priority: Blocker
>
> Using the Anttask Junit-Report with an xslt to generate the Junitreport I'm 
> getting this error from the JDK xml parser:
> -----------------------------------------------------------------------------------------------------------
> This is the stacktrace from the JDK Xalan, but below is the output of the 
> "normal" Xalan 2.7.1
> -----------------------------------------------------------------------------------------------------------
> Caused by: java.lang.StackOverflowError
>         at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:390)
>         at 
> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:211)
>         ... 22 more
> Caused by: java.lang.StackOverflowError
>         at 
> com.sun.org.apache.xml.internal.serializer.ToStream.characters(ToStream.java:1457)
>         at 
> com.sun.org.apache.xml.internal.serializer.ToHTMLStream.characters(ToHTMLStream.java:1529)
>         at 
> com.sun.org.apache.xml.internal.serializer.ToStream.characters(ToStream.java:1613)
>         at 
> com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.characters(AbstractTranslet.java:618)
>         at junit_frames.br$dash$replace()
>         at junit_frames.br$dash$replace()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to