From 0f71b02096118e3b6b27b524a7178b13f194e40f Mon Sep 17 00:00:00 2001 From: EliotRagueneau Date: Tue, 13 Jun 2023 14:55:09 +0100 Subject: [PATCH 1/2] :truck: Move up parent definition --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 05d3f64..90ed1a6 100644 --- a/pom.xml +++ b/pom.xml @@ -2,6 +2,11 @@ 4.0.0 + + org.reactome.maven + reactome-parent + 1.0.3 + org.reactome.server.tools analysis-core @@ -30,11 +35,6 @@ - - org.reactome.maven - reactome-parent - 1.0.3 - org.reactome.server.analysis.core.Main From 32ff0438d3e2e6db62f75b545fc128ce1bfb42a4 Mon Sep 17 00:00:00 2001 From: cqgong Date: Tue, 26 Mar 2024 16:59:18 +0000 Subject: [PATCH 2/2] :bug: fix null pointer exception when exporting species comparison analysis report --- .../core/result/external/ExternalAnalysisResult.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/reactome/server/analysis/core/result/external/ExternalAnalysisResult.java b/src/main/java/org/reactome/server/analysis/core/result/external/ExternalAnalysisResult.java index c6604d5..d034f40 100644 --- a/src/main/java/org/reactome/server/analysis/core/result/external/ExternalAnalysisResult.java +++ b/src/main/java/org/reactome/server/analysis/core/result/external/ExternalAnalysisResult.java @@ -35,7 +35,10 @@ public ExternalAnalysisResult(AnalysisStoredResult result, Integer version) { this.notFound.add(new ExternalIdentifier(ai)); } - this.warnings = new ArrayList<>(result.getWarnings()); + if (result.getWarnings() != null) { + this.warnings = new ArrayList<>(result.getWarnings()); + } + } public ExternalAnalysisSummary getSummary() {