Failed to initialize the ProcessStarter activity while starting the BW process which starts with activities issued by TIBCO ActiveMatrix BusinessWorks Plug-in for SAP

Failed to initialize the ProcessStarter activity while starting the BW process which starts with activities issued by TIBCO ActiveMatrix BusinessWorks Plug-in for SAP

book

Article ID: KB0073558

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for SAP Solutions 8.x

Description

When starting the BusinessWorks process whose process starter is the Activity issued by TIBCO ActiveMatrix BusinessWorks Plug-in for SAP, the BusinessWroks application cannot be started with the error information like below:

ERROR [Framework Event Dispatcher: Equinox Container: 5035da95-4967-0019-18f5-ea7d6ca5a75c] c.t.b.thor.runtime.model.Constituent - TIBCO-BW-FRWK-600053: Failed to initialize BW Component [ComponentProcessOrdersIn-esb-in].
<CausedBy> com.tibco.bw.core.runtime.api.BWEngineException: TIBCO-BW-CORE-500232: Failed to initialize BW Component [ComponentProcessOrdersIn-esb-in], Application [bw.mc-ATHENA-ProcessOrder-SCP.application:1.0] due to activity initialization error.
<CausedBy> com.tibco.bw.core.runtime.ActivityInitException: TIBCO-BW-CORE-500408: Failed to initialize the ProcessStarter activity [ReceiveIDocFromAdapter] in process [MC-SCSCP-ATHENA-SAP.MCI.ProcessOrdersIn.ProcessOrdersIn-esb-in], module [bw.mc-ATHENA-ProcessOrder-SCP] due to unexpected activity lifecycle error.
<CausedBy> java.lang.NullPointerException

One of the reasons for this error could be the conflict of the namespace declared in the xml schema files located in the application module and its dependent shared module.

For example:
Namespace xmlns:r3 is declared in SAPSchema.xsd in the schema folder of the application module like xmlns:r3="http://www.tibco.com/xmlns/sapscalar/2015/05.
In the meantime, there is another SAPSchema.xsd file locates in the schema folder of the dependent shared module with the same namespace declaration xmlns:r3="http://www.tibco.com/xmlns/sapscalar/2015/05.
This situation will lead to such namespace conflict issue and will end up with the error mentioned above while starting the BusinessWroks application module.

Issue/Introduction

Failed to initialize the ProcessStarter activity while starting the BW process which starts with activities issued by TIBCO ActiveMatrix BusinessWorks Plug-in for SAP

Environment

All Supported Platforms

Resolution

To resolve the issue, the namespace with the same name used in the dependent shared module should be given a distinct value like xmlns:r3="http://www.tibco.com/xmlns/sapscalar/2015/05/new and the import section of the other schema files which use namespace xmlns:r3 in the dependent shared module should also be modified with the new namspace value. For example <xsd:import namespace="http://www.tibco.com/xmlns/sapscalar/2015/05/new" schemaLocation="./SAPSchema.xsd"/>.
 

Additional Information

SAP Plug-in activity, TIBCO ActiveMatrix BusinessWorks Plug-in for SAP, unexpected activity lifecycle error, java.lang.NullPointerException