You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2013/07/11 23:07:48 UTC
[jira] [Commented] (CAMEL-6535) Exhausted after delivery attempt: 1
caught: javax.xml.transform.TransformerException:
java.lang.NullPointerException
[ https://issues.apache.org/jira/browse/CAMEL-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706225#comment-13706225 ]
Christian Müller commented on CAMEL-6535:
-----------------------------------------
As you use the Fuse version, you should ask the question on the Fuse/RedHat mailing list.
> Exhausted after delivery attempt: 1 caught: javax.xml.transform.TransformerException: java.lang.NullPointerException
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-6535
> URL: https://issues.apache.org/jira/browse/CAMEL-6535
> Project: Camel
> Issue Type: Bug
> Components: camel-xslt
> Affects Versions: 2.11.0
> Environment: Windows
> Reporter: Premkumar.TR
> Priority: Minor
>
> I have created a route which getting a messsage from a JMS queue and remove the header and match it with XSD then map it to the destination xml. But while i doing it in a flow it breaks in the mapping and getting the below error.
> "Exhausted after delivery attempt: 1 caught: javax.xml.transform.TransformerException: java.lang.NullPointerException"
> Please find my Route :
> <from uri="jms:queue:INPUTQueue"/>
> <log message="LOG : XML File received from input Queue:"/>
> <log message="LOG : SOAP Header removel process Started:"/>
> <to uri="xslt:src/main/resources/Header_Removel_XSL.xsl"/>
> <log message="LOG : SOAP Header removel Completed: Validation process Started:"/>
> <to uri="validator:xsds/schema.xsd"/>
> <log message="LOG : Validation process Completed: Mapping Started"/>
> <to uri="xslt:src/main/resources/Mapping.xsl"/>
> <log message="LOG : Mapping Completed:"/>
> <to uri="jms:queue:OUTPUTQueue"/>
> <log message="Output Message : ${body}"/>
> I have tested the Mapping.xsl alone and its wqorking fine. Please find the error below, Its a showstopper to us so kindly do the needful as ap.
> Error Message :
> DefaultErrorHandler ERROR Failed delivery for (MessageId: queue_INPUT_Queue_ID_380a24259dc672ce51f20064110a134f0000000000000001 on ExchangeId: ID-CDC1-L-2C5LYX1-65478-1373437252921-0-1). Exhausted after delivery attempt: 1 caught: javax.xml.transform.TransformerException: java.lang.NullPointerException
> javax.xml.transform.TransformerException: java.lang.NullPointerException
> at com.ibm.xtq.xslt.jaxp.TransformerImpl.transform(Unknown Source)[:]
> at org.apache.camel.builder.xml.XsltBuilder.process(XsltBuilder.java:128)[camel-core-2.10.0.fuse-71-047.jar:2.10.0.fuse-71-047]
> at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:101)[camel-core-2.10.0.fuse-71-047.jar:2.10.0.fuse-71-047]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira