This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new 55a1537d87 Fix injection on lists for static values, #6069 (#6086)
55a1537d87 is described below

commit 55a1537d8734313aa2d532914ace49bd624cbba1
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Thu Nov 27 12:41:32 2025 +0100

    Fix injection on lists for static values, #6069 (#6086)
---
 .../main/java/org/apache/hop/core/injection/bean/BeanInjector.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/engine/src/main/java/org/apache/hop/core/injection/bean/BeanInjector.java 
b/engine/src/main/java/org/apache/hop/core/injection/bean/BeanInjector.java
index 3654c2e23b..e2ddb41f63 100644
--- a/engine/src/main/java/org/apache/hop/core/injection/bean/BeanInjector.java
+++ b/engine/src/main/java/org/apache/hop/core/injection/bean/BeanInjector.java
@@ -258,7 +258,11 @@ public class BeanInjector<Meta extends Object> {
                   && prop.path.get(i + 1).stringList) {
                 // Set the string...
                 //
-                next = data.getString(dataName, null);
+                if (data != null) {
+                  next = data.getString(dataName, null);
+                } else {
+                  next = dataValue;
+                }
 
                 // We're done here, don't try to set anything on the child 
property
                 // Break out of the path loop:

Reply via email to