NullPointerException after installing JD Edwards Adapter for TIBCO ActiveMatrix BusinessWorks

NullPointerException after installing JD Edwards Adapter for TIBCO ActiveMatrix BusinessWorks

book

Article ID: KB0081837

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for JD Edwards EnterpriseOne 6.0

Description

After installation of JD Edwards adapter 6.0, the following exception is thrown when testing any BusinessWorks process in TIBCO Designer.

Trampoline error: com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler@179eb2d2 reallyStart
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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:745)
Caused by: javax.xml.parsers.FactoryConfigurationError: org.xml.sax.SAXNotRecognizedException: http://javax.xml.XMLConstants/feature/secure-processing
    at com.tibco.xml.parsers.xmlfactories.SAXParserFactory.<init>(SAXParserFactory.java:62)
    at com.tibco.xml.parsers.xmlfactories.SAXParserFactory.<init>(SAXParserFactory.java:72)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at java.lang.Class.newInstance(Class.java:442)
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:192)
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:152)
    at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:232)
    at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127)
    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.a(Unknown Source)
    at com.tibco.pe.PEMain.do(Unknown Source)
    at com.tibco.pe.PEMain.connect(Unknown Source)
    at com.tibco.pe.debug.DebugInfo.a(Unknown Source)
    at com.tibco.pe.debug.DebugInfo.a(Unknown Source)
    at com.tibco.pe.debug.DebugInfo.initEngine(Unknown Source)
    at com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler.initEngine(Unknown Source)
    at com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler.doDebug(Unknown Source)
    at com.tibco.ae.tools.palettes.processpalette.debug.DebugHandler.reallyStart(Unknown Source)
    ... 7 more
Caused by: org.xml.sax.SAXNotRecognizedException: http://javax.xml.XMLConstants/feature/secure-processing
    at org.apache.xerces.parsers.AbstractSAXParser.setFeature(AbstractSAXParser.java:1497)
    at org.apache.xerces.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:144)
    at org.apache.xerces.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:127)
    at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:112)
    at org.apache.xerces.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:140)
    at com.tibco.xml.parsers.xmlfactories.SAXParserFactory.<init>(SAXParserFactory.java:58)
    ... 29 more
java.lang.NullPointerException
    at com.tibco.pe.PEMain.getProcessStartActivity(Unknown Source)
    at com.tibco.pe.debug.DebugInfo.start(Unknown Source)
    at com.tibco.ae.tools.palettes.processpalette.debug.StartEngine.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:745)

 

Issue/Introduction

After installation of TIBCO ActiveMatrix® Adapter for JD Edwards EnterpriseOne 6.0.0, a Null Pointer exception is thrown when running any BW process in TIBCO Designer.

Environment

TIBCO ActiveMatrix BusinessWorks 5.X and TIBCO ActiveMatrix BusinessWorks Adapter for JD Edwards 6.0.

Resolution

This issue is due to the XML tool library being overriden by the Xerces.jar in the JDE connectors libraries. Remove the Xerces.Jar from the JDE Connectors JAR library folder and restart Designer.

If the above solution does not resolve the issue then try the following:

1). Navigate to the TIBCO_HOME\designer\version_number\bin directory and open the designer.tra file.

2). Find the tibco.env.CUSTOM_CP_EXT parameter in the designer.tra file and add the value TIBCO_HOME/tpcl/version_number/lib/xerceslmpl.jar
as the first entry of this parameter.

3). Save the designer.tra file and then restart TIBCO Designer.