Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NullPointerException in org.apache.xml.utils.TreeWalker.dispatachChars(Tree

843834Apr 24 2003 — edited Oct 20 2008

I'm getting this exception when I try to transform my document to an OutputStream using Xalan-Java 2.5.D1

I'm assuming that there is mull character data in one or more of my elements.

Has anyone else had this problem? Am I using an old version of Xalan or maybe too new? If anyone has a quick and easy solution I would really appreciate it. The code that uses this is on death-row. I really don't want to spend a lot of time screwing with it.

java.lang.NullPointerException

	at org.apache.xml.utils.TreeWalker.dispatachChars(TreeWalker.java:295)

	at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:439)

	at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:194)

	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:343)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2008
Added on Apr 24 2003
7 comments
2,633 views