NPE in PomReader while PostgresClient.getInstance

Description

Overview:
Steps to Reproduce:

  1. RMB v31.0.2

  2. A project with several submodules using RMB.

  3. Call PostgresClient.getInstance from one of the submodule.

Actual Results:
NullPointerException

Additional Information:
Probable breaking change from previous versions is on the screenshot.

PomReader cannot read parent pom's dependencyManagement entry when the pom doesn't contains a version:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Adam Dickmeiss September 4, 2020 at 5:35 PM
Edited

The exception itself occurs in earlier version of RMB. It was not spotted because the exception was ignored. Here's a snippet from folio-service-tools using 30.0.2.

Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Core: Platform

Fix versions

Release

Q3 2020

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 3, 2020 at 2:15 PM
Updated September 16, 2020 at 12:34 PM
Resolved September 9, 2020 at 11:14 AM
TestRail: Cases
TestRail: Runs