[ http://issues.apache.org/jira/browse/XALANJ-1820?page=all ] Brian Minchau closed XALANJ-1820: ---------------------------------
Assign To: (was: Xalan Developers Mailing List) According to a comment from the reporter this issue should be closed. I'm closing it. > ToStream fails to construct TreeWalker > -------------------------------------- > > Key: XALANJ-1820 > URL: http://issues.apache.org/jira/browse/XALANJ-1820 > Project: XalanJ2 > Type: Bug > Components: Serialization > Versions: Latest Development Code > Environment: Operating System: Solaris > Platform: Sun > Reporter: Michael Czajkowski > Fix For: 2.7 > > I'm running Xalan-Java 2.6.0 on a Sun Solaris box. This is a runtime error. > I've > found this bug in both the binary releases and after building the source using > ant 1.6.1. My java version is SDK-1.4.0. > Run time error snippet: > --- > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.xml.utils.TreeWalker.<init>(Lorg/xml/sax/ContentHandler;Lorg/apache/xml/utils/DOMHelper;)V > at org.apache.xml.serializer.ToStream.serialize(ToStream.java:211) > --- > It seems that org.apache.xml.serializer.ToStream attempts to initialize the > constructor on a org.apache.xml.utils.TreeWalker. The constructor actually > does > exist, at line 105 of TreeWalker.java. I've confirmed that ToStream is > actually > sending the appropriate parameters. > Compiliation worked fine, no issues using ant. I jarred up xalan using the > all-encompassing "jar" target, and when I exectued this code: > Code snippet > --- > DOMSerializer ds = serializer.asDOMSerializer(); > ds.serialize(this); > --- > .. the exception is thrown. > I've also tested this on a linux box, Red Hat 9, i386 using Java 1.4.0. Same > result. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]