You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by mc...@apache.org on 2022/02/11 09:23:58 UTC
[hop] branch master updated: HOP-3744 NPE when you have a window without name and try to close it
This is an automated email from the ASF dual-hosted git repository.
mcasters 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 1951639 HOP-3744 NPE when you have a window without name and try to close it
new 566666d Merge pull request #1350 from gvdutra/HOP-3744
1951639 is described below
commit 1951639e631edd574982c7d29e7873c312df5d8f
Author: Gabriel Dutra <gv...@gmail.com>
AuthorDate: Tue Feb 8 23:02:43 2022 -0800
HOP-3744 NPE when you have a window without name and try to close it
---
core/src/main/java/org/apache/hop/metadata/api/HopMetadataBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/hop/metadata/api/HopMetadataBase.java b/core/src/main/java/org/apache/hop/metadata/api/HopMetadataBase.java
index ed88588..66cd09a 100644
--- a/core/src/main/java/org/apache/hop/metadata/api/HopMetadataBase.java
+++ b/core/src/main/java/org/apache/hop/metadata/api/HopMetadataBase.java
@@ -44,7 +44,7 @@ public class HopMetadataBase implements IHopMetadata {
if (this == o) {
return true;
}
- if (o == null || getClass() != o.getClass()) {
+ if (o == null || name == null || getClass() != o.getClass()) {
return false;
}
HopMetadataBase that = (HopMetadataBase) o;