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

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


The following commit(s) were added to refs/heads/master by this push:
     new ee64dc7  HOP-2198: avoid NPE by moving read order (#389)
ee64dc7 is described below

commit ee64dc742d407003d1452167415c04c9304575b6
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Tue Nov 17 22:17:44 2020 +0100

    HOP-2198: avoid NPE by moving read order (#389)
---
 .../org/apache/hop/debug/action/ModifyActionLogLevelExtensionPoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plugins/misc/debug/src/main/java/org/apache/hop/debug/action/ModifyActionLogLevelExtensionPoint.java
 
b/plugins/misc/debug/src/main/java/org/apache/hop/debug/action/ModifyActionLogLevelExtensionPoint.java
index fa32cbf..113d064 100644
--- 
a/plugins/misc/debug/src/main/java/org/apache/hop/debug/action/ModifyActionLogLevelExtensionPoint.java
+++ 
b/plugins/misc/debug/src/main/java/org/apache/hop/debug/action/ModifyActionLogLevelExtensionPoint.java
@@ -65,8 +65,8 @@ public class ModifyActionLogLevelExtensionPoint implements 
IExtensionPoint<IWork
         if ( rootWorkflow.getParentWorkflow() == null && 
rootWorkflow.getParentPipeline() == null ) {
           break;
         }
-        rootWorkflow = rootWorkflow.getParentWorkflow();
         rootPipeline = rootWorkflow.getParentPipeline();
+        rootWorkflow = rootWorkflow.getParentWorkflow();
       } else {
         if ( rootPipeline.getParentWorkflow() == null && 
rootPipeline.getParentPipeline() == null ) {
           break;

Reply via email to