Invalid Jasper Report Definition (JRXML)
Confluence User - 21 Jan, 2020
I'm using TIBCO Jaspersoft® Studio 6.10.0.
im encoutered an error when running in joget workflow 5 enterprise jasper report menu.
how to make joget recognise expression syntax in jasper report.
Errors were encountered when compiling report expressions class file: 1. The method UPPER(String) is undefined for the type SURAT_KELULUSAN_GALI_TELAGA_1579579485633_408355 value = "PERMOHONAN KEBENARAN MENGGALI TELAGA (TAPAK : " + UPPER( ((java.lang.String)field_c_alamat_tapak.getValue())) + ")"; //$JR_EXPR_ID=18$ <---> 2. The method UPPER(String) is undefined for the type SURAT_KELULUSAN_GALI_TELAGA_1579579485633_408355 value = "PERMOHONAN KEBENARAN MENGGALI TELAGA (TAPAK : " + UPPER( ((java.lang.String)field_c_alamat_tapak.getOldValue())) + ")"; //$JR_EXPR_ID=18$ <---> 3. The method UPPER(String) is undefined for the type SURAT_KELULUSAN_GALI_TELAGA_1579579485633_408355 value = "PERMOHONAN KEBENARAN MENGGALI TELAGA (TAPAK : " + UPPER( ((java.lang.String)field_c_alamat_tapak.getValue())) + ")"; //$JR_EXPR_ID=18$ <---> 3 errors .
try to use simple strings function :
UPPER("Test" )
Cause:
Errors were encountered when compiling report expressions class file: 1. The method UPPER(String) is undefined for the type TESTFUNCTION_1579580245306_86231 value = UPPER("Test" ); //$JR_EXPR_ID=8$ <---> 2. The method UPPER(String) is undefined for the type TESTFUNCTION_1579580245306_86231 value = UPPER("Test" ); //$JR_EXPR_ID=8$ <---> 3. The method UPPER(String) is undefined for the type TESTFUNCTION_1579580245306_86231 value = UPPER("Test" ); //$JR_EXPR_ID=8$ <---> 3 errors .
jasper