ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java.lang.NullPointerException exception in XSLT node

Post new topic  Reply to topic
 java.lang.NullPointerException exception in XSLT node « View previous topic :: View next topic » 
Author Message
Suresh Gupta
PostPosted: Wed Oct 24, 2007 8:12 am    Post subject: java.lang.NullPointerException exception in XSLT node Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
chris boehnke
PostPosted: Wed Oct 24, 2007 9:27 am    Post subject: Re: java.lang.NullPointerException exception in XSLT node Reply with quote

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
View user's profile Send private message
mqmatt
PostPosted: Thu Oct 25, 2007 2:28 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

You should raise a PMR.
Back to top
View user's profile Send private message
Suresh Gupta
PostPosted: Thu Oct 25, 2007 6:56 am    Post subject: Re: java.lang.NullPointerException exception in XSLT node Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » java.lang.NullPointerException exception in XSLT node
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.