SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
16 6 0 0

Files

Class Bugs
org.europa.together.application.acl.ResourcesHbmDAO 1
org.europa.together.application.acl.RolesHbmDAO 2
org.europa.together.orchestration.acl.LoginLogout 1
org.europa.together.orchestration.acl.Registration 1
org.europa.together.service.acl.PermissionService 1

org.europa.together.application.acl.ResourcesHbmDAO

Bug Category Details Line Priority
Possible null pointer dereference of resource in org.europa.together.application.acl.ResourcesHbmDAO.update(ResourcesDO) CORRECTNESS NP_NULL_ON_SOME_PATH 89 Medium

org.europa.together.application.acl.RolesHbmDAO

Bug Category Details Line Priority
Null pointer dereference of role in org.europa.together.application.acl.RolesHbmDAO.delete(String) CORRECTNESS NP_ALWAYS_NULL 43 Medium
Load of known null value in org.europa.together.application.acl.RolesHbmDAO.delete(String) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 43 Medium

org.europa.together.orchestration.acl.LoginLogout

Bug Category Details Line Priority
Do not catch NullPointerException like in org.europa.together.orchestration.acl.LoginLogout.login(String, String) STYLE DCN_NULLPOINTER_EXCEPTION 94 Medium

org.europa.together.orchestration.acl.Registration

Bug Category Details Line Priority
Nullcheck of account at line 89 of value previously dereferenced in org.europa.together.orchestration.acl.Registration.verifyAccount(String) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 89 High

org.europa.together.service.acl.PermissionService

Bug Category Details Line Priority
Call to Exception.equals(String) in org.europa.together.service.acl.PermissionService.createPermission(PermissionDO) CORRECTNESS EC_UNRELATED_TYPES 186 High