You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2022/02/18 07:30:21 UTC
[hop] branch master updated: HOP-3409 NPE when creating an hop
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/hop.git
The following commit(s) were added to refs/heads/master by this push:
new afc0d20 HOP-3409 NPE when creating an hop
new aa4458f Merge pull request #1375 from gvdutra/HOP-3409
afc0d20 is described below
commit afc0d202a98ee199450b8fab06e534434515e0c1
Author: Gabriel Dutra <gv...@gmail.com>
AuthorDate: Thu Feb 17 20:21:36 2022 -0800
HOP-3409 NPE when creating an hop
---
.../org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
index dd3e7e0..661b321 100644
--- a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
+++ b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
@@ -1713,6 +1713,9 @@ public class HopGuiPipelineGraph extends HopGuiAbstractGraph
}
protected void addHop(IStream stream) {
+ if(candidate == null) {
+ return;
+ }
switch (stream.getStreamType()) {
case ERROR:
addErrorHop();