Null pointer error when creating a new project in Business Studio.

Null pointer error when creating a new project in Business Studio.

book

Article ID: KB0094428

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Users cannot create new projects in Business Studio if the region and language format in the operating system is set to different regions, such as Thailand.
Symptoms:

Workspace/.metadata/.log contains the following error.

Caused by: java.lang.IllegalArgumentException
at java.util.Calendar.checkDisplayNameParams(Unknown Source)
at java.util.Calendar.getDisplayName(Unknown Source)
at sun.util.BuddhistCalendar.getDisplayName(Unknown Source)
at java.text.SimpleDateFormat.subFormat(Unknown Source)
at java.text.SimpleDateFormat.format(Unknown Source)
at java.text.SimpleDateFormat.format(Unknown Source)
at java.text.DateFormat.format(Unknown Source)

Cause:
This is a defect (AMBW-22043).

Resolution

This be fixed by changing the language setting at the Studio level. No need to change anything at the system level.

Workaround

= = = = = =


For DesignTime.


1). Open the TIBCOBusinessStudio.ini file. This file can be found at <TIBCO HOME>/studio/<Version>/eclipse .


2). Add the "-Duser.language=en" field and set the value to "en" in the TIBCOBusinessStudio.ini file. The modified file should look like the following.


C:/bw630/install/studio/4.0/eclipse
-vmargs
-Duser.language=en
-Dfile.encoding=UTF-8
-Dorg.osgi.framework.bootdelegation=javax.xml.*

3). Close Business Studio and reopen it.

For Runtime.


To mitigate this issue in runtime, update the following line in the appnode_config.ini_template file located under <bw_install_loc>\bw\6.2\config .

"user.language=en"

Once you update the template file, any new node created under that bw-home will have this property in the node config.ini file. To change it in an exisitng appnode, the user has to go to each exiting appnode folder and update the above JVM property in the config.ini file.

<bw_install_loc>\bw\6.2\domains\<<Domain_Name>>\appnodes\<<AppSpaceMame>>\<<AppNodeName>>\config.ini

Issue/Introduction

Null pointer error when creating a new project in Business Studio.