SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.6
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
11 | 3 | 0 | 0 |
Files
Class | Bugs |
---|---|
io.wcm.dam.assetservice.impl.AssetRequestServlet | 2 |
io.wcm.dam.assetservice.impl.DamPathHandler | 1 |
io.wcm.dam.assetservice.impl.AssetRequestServlet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference in io.wcm.dam.assetservice.impl.AssetRequestServlet.toResultJson(List) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 117 | Medium |
Possible null pointer dereference in io.wcm.dam.assetservice.impl.AssetRequestServlet.toResultJson(List) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 115 | Medium |
io.wcm.dam.assetservice.impl.DamPathHandler
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class io.wcm.dam.assetservice.impl.DamPathHandler at new io.wcm.dam.assetservice.impl.DamPathHandler(String[], String, int, ResourceResolverFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 83 | Medium |