Build ear fails when a String variable was declared in the action section of a RuleTemplate.

Build ear fails when a String variable was declared in the action section of a RuleTemplate.

book

Article ID: KB0091155

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
Build ear fails when a String variable was declared in the action section of a RuleTemplate.

Environment:
===========
TIBCO BusinessEvents 5.1.0
All Operating Systems

Symptoms:
=========
Error:
Enterprise Archive File has failed to build.
com.tibco.be.parser.codegen.CompilationFailedException: &ltURL-RuleTemplate>:&ltline>: cannot find symbol
symbol  : class String
location: package be.gen
scope.put("extId", be.gen.String.class);
                         ^
Note: &ltURL RuleTemplate>.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

Cause:
======
Product issue BE-17480

Issue occurs when a string variable is defined before the call statement in a RuleTemplate

Resolution:
========
Update TIBCO BusinessEvents - Issue is fixed in 5.1.0-HF2

Issue/Introduction

Build ear fails when a String variable was declared in the action section of a RuleTemplate.