Troubleshooting
Problem
User Exit calling Java String method ReplaceAll fails
Symptom
Gentran Integration Suite 4.3, build 4312 running on iSeries V5R3 with DB2
Java user exit in a Gentran Integration Suite map works in GIS 4.0 but fails in GIS 4.3. This map contains a java user exit which perforns a character replacement function using the Java String method replaceAll(String String).
The map report indicated method not found. There is a message in the noapp.log referencing a dangling metacharacter pointing to an asterisk. This user exit was developed specifically to translate an asterisk in mapped field data to a blank, because the asterisk was conflicting with EDI element delimiters downstream from this map.
We discovered that this user exit worked in GIS 4.0 ( Java 1.3.1) but Java 1.5.0 returns an error which is what Gentran Integration Suite 4.3 is running on.
Error Messagejava.lang.NoSuchMethodException: BfiReplaceAll
Report Entry:
Section: INPUT Severity: ERROR
SyntaxSpecific: false Syntax: -1 Code: 170 Extended Rule Error
Info:
10002: Block Count
18
10017: Map Iteration Count
1
10003: Block Name
F47017
10016: Block Signature Id Tag
10004: Field Name
SZDSC2
10009: Field Number
11
10005: Field Data
26x26
10006: Exception
java.lang.NoSuchMethodException: BfiReplaceAll
10019: Location Index
To view more of this document
Historical Number
NFX4994
Was this topic helpful?
Document Information
Modified date:
14 November 2019
UID
swg21557374