Project

Profile

Help

Bug #1814

closed

Got NPE when tranfroming the SAXSource which is created from DOM2SAX

Added by Willem Jiang almost 11 years ago. Updated almost 11 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
Category:
DOM Interface
Sprint/Milestone:
-
Start date:
2013-06-19
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

If you run the DOMSAXTest from the test case, you will get the stack trace.

ava.lang.NullPointerException

at net.sf.saxon.tree.tiny.TinyBuilder.startElement(TinyBuilder.java:245)

at net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:292)

at org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:285)

at org.apache.xalan.xsltc.trax.DOM2SAX.parse(DOM2SAX.java:149)

at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:396)

at net.sf.saxon.event.Sender.send(Sender.java:143)

at net.sf.saxon.Controller.transform(Controller.java:1890)

at com.example.esb.DOMSAXTest.main(DOMSAXTest.java:65)

Files

saxon-bug.tgz (8.39 KB) saxon-bug.tgz Willem Jiang, 2013-06-19 11:42

Please register to edit this issue

Also available in: Atom PDF