mhamedbenjmaa opened a new issue, #7944:
URL: https://github.com/apache/hop/issues/7944

   ### Apache Hop version?
   
   1.18.1
   
   ### Java version?
   
   JAVA 21
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   I have a field called "Sous-catégorie" 
   
   when i use it in a java filter or UserDefinedJavaExpression i have this error
   
   ```
   2026/08/13 14:06:50 [Error]    Case 3.0 - Unexpected error
   2026/08/13 14:06:50 [Error]    Case 3.0 - 
org.apache.hop.core.exception.HopValueException: 
   2026/08/13 14:06:50 [Error]    Case 3.0 - 
org.codehaus.commons.compiler.CompileException: Line 1, Column 2: Expression 
"Sous" is not an rvalue
   2026/08/13 14:06:50 [Error]    Case 3.0 - Line 1, Column 2: Expression 
"Sous" is not an rvalue
   2026/08/13 14:06:50 [Error]    Case 3.0 - 
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.apache.hop.pipeline.transforms.javafilter.JavaFilter.calcFields(JavaFilter.java:234)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.apache.hop.pipeline.transforms.javafilter.JavaFilter.processRow(JavaFilter.java:118)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:54)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
java.base/java.lang.Thread.run(Thread.java:1583)
   2026/08/13 14:06:50 [Error]    Case 3.0 - Caused by: 
org.codehaus.commons.compiler.CompileException: Line 1, Column 2: Expression 
"Sous" is not an rvalue
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:13228)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.toRvalueOrCompileException(UnitCompiler.java:8073)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.getConstantValue2(UnitCompiler.java:6053)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.access$11000(UnitCompiler.java:240)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler$19$1.visitAmbiguousName(UnitCompiler.java:6004)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.Java$AmbiguousName.accept(Java.java:4603)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler$19.visitLvalue(UnitCompiler.java:6003)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.Java$Lvalue.accept(Java.java:4528)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.getConstantValue(UnitCompiler.java:5999)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.getConstantValue2(UnitCompiler.java:6158)
   2026/08/13 14:06:50 [Error]    Case 3.0 -    at 
org.codehaus.janino.UnitCompiler.access$11600(UnitCompiler.java:240)
   ```
   
   <img width="653" height="405" alt="Image" 
src="https://github.com/user-attachments/assets/8d353028-6965-4695-80de-ead43248cddf";
 />
   
   <img width="1211" height="527" alt="Image" 
src="https://github.com/user-attachments/assets/d9c68e9c-fd72-4d26-a936-b11fce56a43f";
 />
   
   i put it in priority one since this affecting all java bases stuff .....
   
   ### Issue Priority
   
   Priority: 1
   
   ### Issue Component
   
   Component: Transforms


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to