Build Enterprise Archive fails after State Machine rename by refactoring.

Build Enterprise Archive fails after State Machine rename by refactoring.

book

Article ID: KB0086022

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
After adding a State Machine and then refactor to change the name of the State Machine, the project will validate but building an EAR file will fail with:
"Build Enterprise Archive  ... :
Problem Occurred
Enterprise Archive File has failed to build.
java.lang.NullPointerException"

Environment:
==========
All Operating Systems using Business Events Studio.

Symptoms:
=========
After the renaming of State Machine, the following error is thrown:

"Build Enterprise Archive  ... :
Problem Occurred
Enterprise Archive File has failed to build.
java.lang.NullPointerException"

Cause:
=====
Recorded as an issue in BE-8606.

Resolution:
=========
Two seperate work arounds  to this problem:

Delete the State Machine and add again the State Machine with the new name.

OR

Edit the file &ltnew_name>.statemachine.  Do a search and replace on &ltold_name> and replace with &ltnew_name>.  The brackets are not used in the actual search and replace.

Issue/Introduction

Build Enterprise Archive fails after State Machine rename by refactoring.