NPE inXML parsing on UNIX deployments.

NPE inXML parsing on UNIX deployments.

book

Article ID: KB0093603

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
An NPE is thrown in XML parsing on UNIX deployments while  the same case works fine in Windows on BW 5.12.


Error Stack:-

java.lang.NullPointerException

            at com.tibco.xml.validation.state.glue.LegacySimpleValidator.string(LegacySimpleValidator.java:65)

            at com.tibco.xml.validation.state.driver.ValidationJazz.d(ValidationJazz.java:1149)

            at com.tibco.xml.validation.state.driver.ValidationJazz.endElement(ValidationJazz.java:498)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:97)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)

            at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:129)

            at com.tibco.xml.xdata.bind.BindingRunner.validate(Unknown Source)

            at com.tibco.pe.core.CallProcessActivity.eval(Unknown Source)

            at com.tibco.pe.plugin.Activity.eval(Unknown Source)

            at com.tibco.pe.core.TaskImpl.eval(Unknown Source)

            at com.tibco.pe.core.Job.a(Unknown Source)

            at com.tibco.pe.core.Job.k(Unknown Source)

            at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)

            at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)


Symptoms:

A java.lang.NullPointerException is thrown from com.tibco.xml.validation.state.glue.LegacySimpleValidator.string(LegacySimpleValidator.java:65).



Cause:

Insufficient JAVA thread stack size.



Resolution

Modify the Java thread stack size set in the application TRA file. Look for the following entry in the TRA file.


java.thread.stack.size


If using the default value of 256K, increasing it to 512K.


Example: 


java.thread.stack.size=512K 

Issue/Introduction

NPE inXML parsing on UNIX deployments.