java.lang.NullPointerException while implementing ssl in LDAP plugin.

java.lang.NullPointerException while implementing ssl in LDAP plugin.

book

Article ID: KB0077672

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for LDAP 7.2.0

Description

While working with TIBCO ActiveMatrix BusinessWorks Plug-in for LDAP,the connection  can be successfully established  locally and the project can be built. It is a simple connection without SSL with Indentity and it works fine.

When the SSL is enabled on same ldapconnectionResourcer,the following error may occur:

------------------------------------------------------------------------------------------------------------------
failed with unexpected exception [java.lang.ClassCastException: java.lang.NullPointerException cannot be cast to com.tibco.bw.runtime.util.SerializableXMLDocument]-{ActivityName=<Activity Name in project>, ProcessName=<Process Name in project>, ModuleName=<Module name>}
    at com.tibco.bw.core.runtime.bx.BWBxActivityBridgeImpl.postEval(BWBxActivityBridgeImpl.java:1047)
    at com.tibco.bx.core.behaviors.activity.BxExtensionBehavior.doExternal(BxExtensionBehavior.java:267)
    at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.handleModelEvent(BxActivityBaseBehavior.java:1137)
    at com.tibco.bx.core.behaviors.activity.BxActivityBaseBehavior.handleModelEvent(BxActivityBaseBehavior.java:1)
    at com.tibco.pvm.infra.api.impl.util.director.IpmEventDirectorBase.handleModelEvent(IpmEventDirectorBase.java:204)
    at com.tibco.pvm.infra.api.impl.util.director.IpmEventDirectorBase.handleEvent(IpmEventDirectorBase.java:111)
    at com.tibco.pvm.infra.support.work.impl.WorkItemAbstract.execute(WorkItemAbstract.java:177)
    at com.tibco.pvm.im.rt.xm.util.work.ImxSTWorkRunnable.doWorkBlock(ImxSTWorkRunnable.java:170)
    at com.tibco.pvm.infra.services.engine.impl.STWorkRunnable.run(STWorkRunnable.java:50)
    at com.tibco.pvm.im.rt.xm.util.work.ImxSTWorkRunnable.run(ImxSTWorkRunnable.java:62)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
-------------------------------------------------------------------------------------------------------------------

Issue/Introduction

While working with TIBCO ActiveMatrix BusinessWorks Plug-in for LDAP,the connection  can be successfully established  locally and the project can be built. It is a simple connection without SSL with Indentity and it works fine.When the SSL is enabled on same ldapconnectionResource,the following error may occur as - failed with unexpected exception [java.lang.ClassCastException: java.lang.NullPointerException cannot be cast to com.tibco.bw.runtime.util.SerializableXMLDocument]

Environment

OS:ALL

Resolution

Please delete the existing LDAP connection shared resource and create a new one and test the connection again.