You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The plug-in throws NullPointerException when trying to show information for a vulnerability that does not have any severity reason data.
java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "com.jfrog.ide.common.nodes.subentities.ResearchInfo.getSeverityReasons()" is null at com.jfrog.ide.idea.ui.webview.WebviewObjectConverter.convertIssueToDepPage(WebviewObjectConverter.java:19) at com.jfrog.ide.idea.ui.JFrogLocalToolWindow.updateIssueOrLicenseInWebview(JFrogLocalToolWindow.java:247) at com.jfrog.ide.idea.ui.JFrogLocalToolWindow.lambda$registerListeners$1(JFrogLocalToolWindow.java:124) ...
To Reproduce
Scan a codebase with a vulnerability that does not have any serverity reason data, e.g. XRAY-199921.
Click the vulnerabiltity in the tree-view.
Expected behavior
Missing data is handled and vulnerability information rendered.
Screenshots
N/A
Versions
JFrog IDEA plugin version: 2.1.2
Operating system: RHEL 8.7
Xray version: 7.49.3
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
The plug-in throws NullPointerException when trying to show information for a vulnerability that does not have any severity reason data.
java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "com.jfrog.ide.common.nodes.subentities.ResearchInfo.getSeverityReasons()" is null at com.jfrog.ide.idea.ui.webview.WebviewObjectConverter.convertIssueToDepPage(WebviewObjectConverter.java:19) at com.jfrog.ide.idea.ui.JFrogLocalToolWindow.updateIssueOrLicenseInWebview(JFrogLocalToolWindow.java:247) at com.jfrog.ide.idea.ui.JFrogLocalToolWindow.lambda$registerListeners$1(JFrogLocalToolWindow.java:124) ...
To Reproduce
Scan a codebase with a vulnerability that does not have any serverity reason data, e.g. XRAY-199921.
Click the vulnerabiltity in the tree-view.
Expected behavior
Missing data is handled and vulnerability information rendered.
Screenshots
N/A
Versions
Additional context
N/A
The text was updated successfully, but these errors were encountered: