Deployment via AppManage fails with "IllegalArgumentException: java.lang.NullPointerException", but successful via TIBCO Administrator GUI.

Deployment via AppManage fails with "IllegalArgumentException: java.lang.NullPointerException", but successful via TIBCO Administrator GUI.

book

Article ID: KB0090141

calendar_today

Updated On:

Products Versions
TIBCO Administrator -
Not Applicable -

Description

Resolution:
Description:
==========
Everything works fine when deploying through TIBCO Administrator as it is loaded successfully. But it fails with "IllegalArgumentException: java.lang.NullPointerException" when deploying via AppManage.


Environment:
===========
OS: All
TIBCO Administrator 5.x.x
TIBCO Runtime Agent 5.x.x


Symptoms:
========
Deployment via AppManage fails with "IllegalArgumentException: java.lang.NullPointerException", but successful via TIBCO Administrator GUI.

The exception stack may look like the following:

<---------------
2010 Nov 23 11:25:15:887 GMT +9 Info [Application] AESDKJ-0000 [main]  [Manage applications] The application "ApplicationName" has been deployed by "user".
2010 Nov 23 11:31:15:550 GMT +9 Error [com.tibco.administrator.command.data.application.Application] AESDKJ-0000 [main]  Deployed status is Container failed to deploy
2010 Nov 23 11:31:15:556 GMT +9 Error [com.tibco.administrator.command.data.application.Application] AESDKJ-0000 [main]  Name=  Action=Call TIBCO Hawk Agent  Status=Success
2010 Nov 23 11:31:15:562 GMT +9 Error [com.tibco.administrator.command.data.application.Application] AESDKJ-0000 [main]  Name=xxxxxxx  Action=Deploy Engine on Client  Status=java.lang.IllegalArgumentException: java.lang.NullPointerException
        at COM.TIBCO.hawk.config.rbengine.RBEConfigObjectXML.&ltinit>(RBEConfigObjectXML.java:39)
        at COM.TIBCO.hawk.config.rbengine.rulebase.RulebaseXML.&ltinit>(RulebaseXML.java:21)
        at com.tibco.tra.tsm.TsmComponentInstance.loadCustomRulebase(TsmComponentInstance.java:1917)
        at com.tibco.tra.tsm.plugin.TSMComponentDeploy.deploy(TSMComponentDeploy.java:1322)
        at com.tibco.tra.tsm.plugin.TSMBwEngineDeploy.beginAction(TSMBwEngineDeploy.java:41)
        at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.beginPerformAction(MutableAdminDomainImpl.java:787)
        at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.deploy(MutableAdminDomainImpl.java:688)
        at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.deployListInternal(MutableAdminDomainImpl.java:916)
        at com.tibco.pof.admindomain.impl.MutableAdminDomainImpl.deployOnClient(MutableAdminDomainImpl.java:848)
        at com.tibco.tra.tsm.TSM.deploy(TSM.java:2779)
        at com.tibco.tra.tsm.TSM$1.run(TSM.java:3146)
        at java.lang.Thread.run(Thread.java:595)
----->


Cause:
=====
Users can add Hawk rulebase/events to the application through TIBCO Administrator GUI. This issue may occur if the Hawk rule base file gets corrupted.

Resolution:
=========
Delete the old ( corrupted ) rulebase file and replace it with a new Hawk rule base file.

Issue/Introduction

Deployment via AppManage fails with "IllegalArgumentException: java.lang.NullPointerException", but successful via TIBCO Administrator GUI.