After upgrading to TIBCO ActiveMatrix BusinessWorks 5.9.x, in some cases, Designer Tester throws NullPointerException at com.tibco.pe.PEMain.getProcessStartupExceptions(PEMain.java:695)

After upgrading to TIBCO ActiveMatrix BusinessWorks 5.9.x, in some cases, Designer Tester throws NullPointerException at com.tibco.pe.PEMain.getProcessStartupExceptions(PEMain.java:695)

book

Article ID: KB0088225

calendar_today

Updated On:

Products Versions
TIBCO Designer -
Not Applicable -

Description

Resolution:
Description:
============
After upgrading to TIBCO ActiveMatrix BusinessWorks 5.9.x, in some cases, Designer Tester throws following errors and Tester does not start.


Designer GUI Error:
====================
java.lang.NullPointerException
    at com.tibco.pe.PEMain.getProcessStartupExceptions(PEMain.java:695)


Designer Show Console Error:
============================

Trampoline error: com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler@658704 reallyStart
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.tibco.util.Trampoline.invoke(Trampoline.java:136)
    at com.tibco.ui.BusyWait.run(BusyWait.java:428)
    at java.lang.Thread.run(Thread.java:662)
Caused by: javax.xml.parsers.FactoryConfigurationError: org.xml.sax.SAXNotRecognizedException: http://javax.xml.XMLConstants/feature/secure-processing
    at com.tibco.xml.parsers.xmlfactories.SAXParserFactory.&ltinit>(SAXParserFactory.java:62)
    at com.tibco.xml.parsers.xmlfactories.SAXParserFactory.&ltinit>(SAXParserFactory.java:72)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:147)
    at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:187)
    at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:128)
    at com.tibco.sax.SaxSupport.getSAXFactory(SaxSupport.java:126)
    at com.tibco.sax.SaxSupport.getXMLReader(SaxSupport.java:77)
    at com.tibco.sax.SaxSupport.getXMLReader(SaxSupport.java:51)
    at com.tibco.pe.PEMain.init(PEMain.java:342)
    at com.tibco.pe.PEMain.init(PEMain.java:254)
    at com.tibco.pe.PEMain.connect(PEMain.java:597)
    at com.tibco.pe.debug.DebugInfo.connect(DebugInfo.java:535)
    at com.tibco.pe.debug.DebugInfo.getDebuggerEngine(DebugInfo.java:822)
    at com.tibco.pe.debug.DebugInfo.initEngine(DebugInfo.java:344)
    at com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler.initEngine(DebugHandler.java:833)
    at com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler.doDebug(DebugHandler.java:799)
    at com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler.reallyStart(DebugHandler.java:1426)
    ... 7 more
Caused by: org.xml.sax.SAXNotRecognizedException: http://javax.xml.XMLConstants/feature/secure-processing
    at org.apache.xerces.parsers.AbstractSAXParser.setFeature(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.setFeatures(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl.&ltinit>(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(Unknown Source)
    at com.tibco.xml.parsers.xmlfactories.SAXParserFactory.&ltinit>(SAXParserFactory.java:58)
    ... 29 more
========================================================.

Environment:
===========
TIBCO Runtime Agent(TRA) 5.7.x ,TIBCO Designer 5.7.x , TIBCO ActiveMatrix BusinessWorks 5.9.x


Cause:
============.
The issue is  due to conflicting “xerces” jars.loaded by Designer. Because of this the process would hang.


Resolution:
==============
1). Goto tibco.class.path.extended in your  designer.tra .

2). Add jar file as first entry  to the extended path &ltTIBCO_HOME>/tpcl/5.7/lib/xercesImpl.jar

3. Save the changes and restart Designer.

Issue/Introduction

After upgrading to TIBCO ActiveMatrix BusinessWorks 5.9.x, in some cases, Designer Tester throws NullPointerException at com.tibco.pe.PEMain.getProcessStartupExceptions(PEMain.java:695)