Project

General

Profile

Actions

Bug #23701

closed

Software DAO can lead to NoSuchElement exception

Added by François ARMAND 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In ReadOnlySoftwareDAOImpl#getSoftwareByNode we have a direct request to map by key without checking for the case when the key is not in map, leading to NoSuchElement exception and unknows app state.

The occurence may be rare, in my case it was triggered by CVE plugins in - I think - a software that was deleted on the node.

Actions

Also available in: Atom PDF