From 8bb8316f0a860d43c0501e827c9adfb32e2a1ec5 Mon Sep 17 00:00:00 2001 From: "Ovidiu Stefan.Popescu.76011119" Date: Thu, 10 Oct 2024 14:43:55 +0300 Subject: [PATCH 1/2] defect #2612043: Check if element is null before processing it --- src/main/java/com/microfocus/bdd/JunitReportReader.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/microfocus/bdd/JunitReportReader.java b/src/main/java/com/microfocus/bdd/JunitReportReader.java index 128193a..5471492 100644 --- a/src/main/java/com/microfocus/bdd/JunitReportReader.java +++ b/src/main/java/com/microfocus/bdd/JunitReportReader.java @@ -89,6 +89,10 @@ public Element next() { } private Element getElement(StartElement startElementEvent) { + if (null == startElementEvent) { + return null; + } + Element element = new Element(); try { String elementName = getElementName(startElementEvent); From 8805a17c9146f8faf0c21d4e777b5a76fc14d1f7 Mon Sep 17 00:00:00 2001 From: "Ovidiu Stefan.Popescu.76011119" Date: Thu, 10 Oct 2024 18:49:41 +0300 Subject: [PATCH 2/2] defect #2612043: Update version in pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 35a3d44..c51e0e1 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.microfocus.adm.almoctane.bdd bdd2octane - 1.1.8-SNAPSHOT + 1.1.9-SNAPSHOT maven-plugin bdd2octane