FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.2.0
Threshold is Low
Effort is Max
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 345 | 16 | 0 | 0 |
Files
com.gridsystems.nextgrid.api.builder.TypeManager
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in com.gridsystems.nextgrid.api.builder.TypeManager.<static initializer>() | STYLE | REC_CATCH_EXCEPTION | 72 |
com.gridsystems.nextgrid.api.env.AbstractTransientAttribute
| Bug | Category | Details | Line |
|---|---|---|---|
| The field com.gridsystems.nextgrid.api.env.AbstractTransientAttribute.value is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available |
com.gridsystems.nextgrid.api.pom.EnactionWorker
| Bug | Category | Details | Line |
|---|---|---|---|
| Method com.gridsystems.nextgrid.api.pom.EnactionWorker.EnactionWorker(ProcessContext, Enactable) creates a thread using the default empty run method | MT_CORRECTNESS | DM_USELESS_THREAD | 54 |
com.gridsystems.nextgrid.api.pom.PemHelper
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in com.gridsystems.nextgrid.api.pom.PemHelper.fireEvent(Class, String, Object, boolean) | STYLE | REC_CATCH_EXCEPTION | 266 |
com.gridsystems.nextgrid.api.pom.ProcessPriorityComparator
| Bug | Category | Details | Line |
|---|---|---|---|
| com.gridsystems.nextgrid.api.pom.ProcessPriorityComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | Not available |
com.gridsystems.nextgrid.api.pom.UnorderedListProcessImpl$ProcessFinishedNotifier
| Bug | Category | Details | Line |
|---|---|---|---|
| Class com.gridsystems.nextgrid.api.pom.UnorderedListProcessImpl$ProcessFinishedNotifier defines non-transient non-serializable instance field cond | BAD_PRACTICE | SE_BAD_FIELD | Not available |
com.gridsystems.nextgrid.api.pom.components.FileSystemGrounding
| Bug | Category | Details | Line |
|---|---|---|---|
| Method com.gridsystems.nextgrid.api.pom.components.FileSystemGrounding.deleteFile(Service) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 199 |
com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference
| Bug | Category | Details | Line |
|---|---|---|---|
| Redundant nullcheck of com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.dh, which is known to be non-null in com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.setValue(String, Image) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 294 |
| Redundant nullcheck of com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.dh, which is known to be non-null in com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.setValue(String, MimeMultipart) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 305 |
| Redundant nullcheck of com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.dh, which is known to be non-null in com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.setValue(String, OctetStream) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 283 |
| Redundant nullcheck of com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.dh, which is known to be non-null in com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference.setValue(byte[], String) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 247 |
| Class com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference defines non-transient non-serializable instance field dh | BAD_PRACTICE | SE_BAD_FIELD | Not available |
com.gridsystems.nextgrid.api.pom.ref.DomReference
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in com.gridsystems.nextgrid.api.pom.ref.DomReference.setValue(Object) | STYLE | REC_CATCH_EXCEPTION | 114 |
| Class com.gridsystems.nextgrid.api.pom.ref.DomReference defines non-transient non-serializable instance field doc | BAD_PRACTICE | SE_BAD_FIELD | Not available |
com.gridsystems.nextgrid.api.pom.ref.ReferenceSupport
| Bug | Category | Details | Line |
|---|---|---|---|
| Condition.await() not in loop in com.gridsystems.nextgrid.api.pom.ref.ReferenceSupport.waitAvailable() | MT_CORRECTNESS | WA_AWAIT_NOT_IN_LOOP | 219 |
uk.ac.soton.itinnovation.nextgrid.api.pom.JavaGroundingImpl
| Bug | Category | Details | Line |
|---|---|---|---|
| Exception is caught when Exception is not thrown in uk.ac.soton.itinnovation.nextgrid.api.pom.JavaGroundingImpl.getInstance(Service, Class) | STYLE | REC_CATCH_EXCEPTION | 247 |