Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
==========
The following error is reported when assigning the value 1315690842829 to long data type:
long ts = 1315690842829;
Error Description Resource Path Location Type
int literal "1315690842829" out of range startup.rulefunction TS/RuleFunctions line 12 Resource Validation Problem
Environment:
===========
TIBCO BusinessEvents 4.0.x
Symptoms:
==========
Validation error on long value in studio, when assign long value:
long ts = 1315690842829;
Resolution:
=========
Long literals should be specified with L/l: 123L or 123l. Appending L to the number resolves the issue.
long ts = 1315690842829L;