TIBCO BusinessWorks FormBuilder (FB) 5.3 build EAR utility throws a NullPointerException.

TIBCO BusinessWorks FormBuilder (FB) 5.3 build EAR utility throws a NullPointerException.

book

Article ID: KB0091775

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks FormBuilder -
Not Applicable -

Description

Description:
While creating EAR, the buildear utility throws "NullPointerException".

Symptoms:
NullPointerException is thrown while building the EAR file through the command line.

Cause:
The problem is caused due to a missing directory in the Classpath. To resolve this issue, you should modify <TRA_Home>\bin\buildear.tra and update "tibco.env.TIBCO_PS_LIB_HOME".

Issue/Introduction

TIBCO BusinessWorks FormBuilder (FB) 5.3 build EAR utility throws a NullPointerException.

Resolution

Old Value: tibco.env.TIBCO_PS_LIB_HOME=C:/tibco/ps/5.2/hotfix/lib;C:/tibco/ps/5.2/lib

Change to: tibco.env.TIBCO_PS_LIB_HOME=C:/tibco/ps/5.2/hotfix/lib;C:/tibco/ps/5.2/lib;C:/tibco/ps/5.2/archive

Make sure "%TIBCO_PS_LIB_HOME% is specified in tibco.env.CUSTOM_CP_EXT in the buildear.tra file. Now when running buildear.exe, it will not throw the NPE and the EAR will be created.