|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
java.lang.NullPointerException exception in XSLT node |
« View previous topic :: View next topic » |
Author |
Message
|
Suresh Gupta |
Posted: Wed Oct 24, 2007 8:12 am Post subject: java.lang.NullPointerException exception in XSLT node |
|
|
Apprentice
Joined: 29 Jun 2005 Posts: 46 Location: India
|
Hi , We are facing one issue in XMLT node in MB6.0 , while processing the XML in this node it is generating errors like
Java exception: ''java.lang.NullPointerException''; thrown from class name: ''com.ibm.xsl.mqsi.XMLTransformNode'', method name: ''setOptionsFromPropertiesFolder'', file: ''XMLTransformNode.java'', line: '1116'
The method ''evaluate'' in Java node ''XMLTransformation7'' has thrown the following exception: 'java.lang.NullPointerException'.
The method ''evaluate'' of the Java node has thrown an exception. Examine previous error messages for details of the cause of the problem.
This error is generated by the Java node API. It can occur in a Java Compute node or a Java user-defined node. If the node is a user-defined node, contact the node provider for further details
Message that is going into XSLT node is proper , and also checked this message with "java org.apache.xalan.xslt.Process" command at command prompt , it generated proper o/p with out any errors , but while executing this in the flow it is generating above errors , can any one help to resolve this
Thanks in Advanve _________________ regards,
Suresh |
|
Back to top |
|
 |
chris boehnke |
Posted: Wed Oct 24, 2007 9:27 am Post subject: Re: java.lang.NullPointerException exception in XSLT node |
|
|
 Partisan
Joined: 25 Jul 2006 Posts: 369
|
Suresh Gupta wrote: |
Hi , We are facing one issue in XMLT node in MB6.0 , while processing the XML in this node it is generating errors like
Java exception: ''java.lang.NullPointerException''; thrown from class name: ''com.ibm.xsl.mqsi.XMLTransformNode'', method name: ''setOptionsFromPropertiesFolder'', file: ''XMLTransformNode.java'', line: '1116'
The method ''evaluate'' in Java node ''XMLTransformation7'' has thrown the following exception: 'java.lang.NullPointerException'.
The method ''evaluate'' of the Java node has thrown an exception. Examine previous error messages for details of the cause of the problem.
This error is generated by the Java node API. It can occur in a Java Compute node or a Java user-defined node. If the node is a user-defined node, contact the node provider for further details
Message that is going into XSLT node is proper , and also checked this message with "java org.apache.xalan.xslt.Process" command at command prompt , it generated proper o/p with out any errors , but while executing this in the flow it is generating above errors , can any one help to resolve this
Thanks in Advanve |
Hi Suresh,
I assume your source is Mainframe. The mainframe application initialization is not proper. Please ask your mainframe application guys to initialize their application properly. |
|
Back to top |
|
 |
mqmatt |
Posted: Thu Oct 25, 2007 2:28 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
|
Back to top |
|
 |
Suresh Gupta |
Posted: Thu Oct 25, 2007 6:56 am Post subject: Re: java.lang.NullPointerException exception in XSLT node |
|
|
Apprentice
Joined: 29 Jun 2005 Posts: 46 Location: India
|
Hi,
Thanks to ur replies , I found the error , I forgot to populate the MQMD header while sending message to XSLT node , MQMD header is mandatory to process the message by XSLT engine _________________ regards,
Suresh |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|