BAM Dataobject Column Length Issue - "java.lang.IllegalArgumentException: BAM-00192

(Doc ID 2276749.1)

Last updated on AUGUST 16, 2017

Applies to:

Oracle BAM (Business Activity Monitoring) - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to resize BAM DO
the following error occurs.

ERROR
-----------------------
"java.lang.IllegalArgumentException: BAM-00192: The length specified (2000) for Data Object string column, "MESSAGE", is invalid. Length must be between 1 and 256, inclusive."

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to BAM Composer.
2. Go to Administrator page
3. Expand Data Objects -> click on the DO object named "simple".
4. Add a column.
5. You can select any COLUMN TYPE (it is reproducible for all column types: ATTRIBUTE, MEASURE and DIMENSION).
6. Select Data Type: VARCHAR.
7. Try to put the SIZE to a value larger than 256. You will receive the following error "java.lang.IllegalArgumentException: BAM-00192: The length specified (1999) for Data Object string column, "column_1", is invalid. Length must be between 1 and 256, inclusive."


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms