-
Sub-task
-
Resolution: Done
-
Medium
-
None
-
None
-
Portal Sprint 3, Portal Sprint 4, Portal Sprint 5
In UserRolesCommonServiceImpl.java of ecompportal-be-common sub-module at line number 382, the hibernate session is getting closed in finally block without proper check if the session is open or not.
I put a check to verify if the localSession is open, if it is then proceed to close.
Sonar link as below,
https://sonar.onap.org/component_issues/index?id=org.onap.portal%3Aonap-portal-parent#resolved=false|severities=BLOCKER
Line no : 382