Null Pointer Exception after configuring TIBCO ActiveMatrix Implementation Type for TIBCO Adapters

Null Pointer Exception after configuring TIBCO ActiveMatrix Implementation Type for TIBCO Adapters

book

Article ID: KB0093571

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
Not Applicable -

Description

Description:
After successfully configuring and deploying (without start) of TIBCO ActiveMatrix Implementation Type for TIBCO Adapters (Proxy IT) 1.0.0 +HF2 on ActiveMatrix 3.3.0 +HF4 node following NPE may be thrown during application startup. Error stack is available under Symptoms below.

Symptoms:
21 Jan 2015 07:35:36,609 [ComponentFrameworkTask] [ERROR] [] com.tibco.amx.cf.logger.lifecycle - TIBCO-AMX-CF-000028: Error processing command file "/opt/tibco/ICWADEV/tibcohost/DEVAMXAPP01/data_3.2.x/nodes/ICWADevNode1_1/work/NodeConfigurations/rda1421796931417-12.zip".
TIBCO-AMX-CF-000041: Error deploying command file "/opt/tibco/ICWADEV/tibcohost/DEVAMXAPP01/data_3.2.x/nodes/ICWADevNode1_1/work/NodeConfigurations/rda1421796931417-12.zip".: java.lang.IllegalStateException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyAppExtensionBean' defined in URL [bundleresource://676.fwk257906880:10/com/tibco/amx/it/proxy/runtime/proxy-it-spring-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyAppExtensionBean' defined in URL [bundleresource://676.fwk257906880:10/com/tibco/amx/it/proxy/runtime/proxy-it-spring-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: java.lang.NullPointerException
    at com.tibco.amf.platform.runtime.componentframework.internal.core.ComponentFramework.processRDA(ComponentFramework.java:2233)
    at com.tibco.amf.platform.runtime.componentframework.internal.core.ComponentFramework.run(ComponentFramework.java:1291)
    at java.lang.Thread.run(Unknown Source)
***Child element 0 stack trace follows***
java.lang.IllegalStateException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyAppExtensionBean' defined in URL [bundleresource://676.fwk257906880:10/com/tibco/amx/it/proxy/runtime/proxy-it-spring-beans.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
    at com.tibco.amf.runtime.implementationtype.spring.ComponentApplicationContext.refresh(ComponentApplicationContext.java:259)
    at com.tibco.amf.runtime.implementationtype.spring.SpringImplementationAdapter.initImplementation(SpringImplementationAdapter.java:245)


Cause:
The "GetInstalledSoftware" method on the Proxy IT microagent returns no data. This can be verified using the Hawk Display. The method invocation fails due to a lack of TIBCOInstallerUtility.jar file in the Hawk agent classpath.

Resolution

- Copy TIBCOInstallerUtility.jar from node configuration folder, which will only exist after deployment, to somewhere that is on the Hawk agent classpath, such as <Hawk Home>/lib folder.


- Restart the Hawk agent.


- Verify the method "GetInstalledSoftware" is using the Hawk Display.


- Redeploy the itad application template.


- The NPE error should no longer occur upon startup.

Issue/Introduction

Null Pointer Exception after configuring TIBCO ActiveMatrix Implementation Type for TIBCO Adapters

Additional Information