cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ROSSEL Olivier <olivier.ros...@airbus.com>
Subject SunShine InsertTransformer fails with JDK1.4
Date Mon, 21 Oct 2002 17:19:40 GMT
I am currently using SunShine InsertTransformer with C2.0.3 and C2.0.4-dev.
It works fine under JDK1.3.
And fails with JDK1.4.1 (Xalan exceptions,see below).
Anyone ever had such a failure?

Note: will the source:insert be backported to C2.0.X ?

Here is the exception cut:

---beginning of exception---
FATAL_E (2002-10-21) 10:58.02:784   [core.xslt-processor]
(/cocoon-2.0.3/mount/wikiland_0.7/edit/put(bravo))
Thread-10/TraxErrorHandler: Error in TraxTransformer:
javax.xml.transform.TransformerException: java.lang.NullPointerException
javax.xml.transform.TransformerException: java.lang.NullPointerException
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1226)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3135)
	at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NullPointerException
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getFirstNodeFromPath(XMLUtil.java:801
)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getFirstNodeFromPath(XMLUtil.java:748
)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getSingleNode(XMLUtil.java:660)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.selectSingleNode(XMLUtil.java:145)
	at
org.apache.cocoon.sunshine.transformation.InsertTransformer.insertFragment(I
nsertTransformer.java:386)
	at
org.apache.cocoon.sunshine.transformation.InsertTransformer.endTransformingE
lement(InsertTransformer.java:265)
	at
org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractS
AXTransformer.java:351)
	at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.
java:307)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
684)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
678)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:164)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
678)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:423)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2008)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1171)
	... 2 more
---------
java.lang.NullPointerException
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getFirstNodeFromPath(XMLUtil.java:801
)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getFirstNodeFromPath(XMLUtil.java:748
)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.getSingleNode(XMLUtil.java:660)
	at
org.apache.cocoon.sunshine.xml.XMLUtil.selectSingleNode(XMLUtil.java:145)
	at
org.apache.cocoon.sunshine.transformation.InsertTransformer.insertFragment(I
nsertTransformer.java:386)
	at
org.apache.cocoon.sunshine.transformation.InsertTransformer.endTransformingE
lement(InsertTransformer.java:265)
	at
org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractS
AXTransformer.java:351)
	at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.
java:307)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
684)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
678)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:164)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
678)
	at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:423)
	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2008)
	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1171)
	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3135)
	at java.lang.Thread.run(Thread.java:536)
---end of exception---


---cut here---


This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message