diff --git a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/entity/persistence/PersistenceLabel.java b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/entity/persistence/PersistenceLabel.java index 1e2a645e29..9343668290 100644 --- a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/entity/persistence/PersistenceLabel.java +++ b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/entity/persistence/PersistenceLabel.java @@ -111,7 +111,11 @@ public boolean equals(Object o) { @Override public int hashCode() { int result = this.getLabelKey().hashCode(); - result = 31 * result + this.stringValue.hashCode(); + String thisStringValue = getStringValue(); + if (null == thisStringValue) { + return result; + } + result = 31 * result + thisStringValue.hashCode(); return result; } } diff --git a/pom.xml b/pom.xml index 4e0708a5bf..86b8263ae3 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ 2.10.5 1.4.20 0.9.12 - 3.4.1 + 3.5.7 8.0.28 1.1.22 3.27.0-GA