FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.3.2
Threshold is Low
Effort is Max
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
503 | 27 | 0 | 0 |
Files
com.gridsystems.innergrid.api.AbstractConnection
Bug | Category | Details | Line |
---|---|---|---|
Bad comparison of nonnegative value with -1 in com.gridsystems.innergrid.api.AbstractConnection.test(Reader) | CORRECTNESS | INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE | 482 |
com.gridsystems.innergrid.api.AbstractImplBase
Bug | Category | Details | Line |
---|---|---|---|
com.gridsystems.innergrid.api.AbstractImplBase.axisGetStub() invokes java.net.URL.equals(Object), which blocks to do domain name resolution | PERFORMANCE | DMI_BLOCKING_METHODS_ON_URL | 127 |
com.gridsystems.innergrid.api.AcceptCertificateOfKeyStore
Bug | Category | Details | Line |
---|---|---|---|
com.gridsystems.innergrid.api.AcceptCertificateOfKeyStore.initKeyStore(File, String) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 187 |
com.gridsystems.innergrid.api.ApiFactory
Bug | Category | Details | Line |
---|---|---|---|
com.gridsystems.innergrid.api.ApiFactory.<static initializer>() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 84 |
Method com.gridsystems.innergrid.api.ApiFactory.getAllApis() uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 262 |
Possible null pointer dereference of ? in com.gridsystems.innergrid.api.ApiFactory.<static initializer>() | CORRECTNESS | NP_NULL_ON_SOME_PATH | 86 |
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.ApiFactory.newApi(Class, Connection) | STYLE | REC_CATCH_EXCEPTION | 295 |
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.ApiFactory.parseResource(URL, Connection) | STYLE | REC_CATCH_EXCEPTION | 112 |
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.ApiFactory.parseResourceKeyValue(String, String, Connection) | STYLE | REC_CATCH_EXCEPTION | 143 |
com.gridsystems.innergrid.api.ClientApiFactory
Bug | Category | Details | Line |
---|---|---|---|
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.ClientApiFactory.<static initializer>() | STYLE | REC_CATCH_EXCEPTION | 193 |
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.ClientApiFactory.fixWsdl(ClientApiFactory$ApiEntry, Connection) | STYLE | REC_CATCH_EXCEPTION | 325 |
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.ClientApiFactory.register(ClientApiFactory$ApiEntry) | STYLE | REC_CATCH_EXCEPTION | 218 |
com.gridsystems.innergrid.api.ClientApiFactory.fixWsdl(ClientApiFactory$ApiEntry, Connection) ignores exceptional return value of java.io.File.delete() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 326 |
com.gridsystems.innergrid.api.ClientApiFactory.fixWsdl(ClientApiFactory$ApiEntry, Connection) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 297 |
com.gridsystems.innergrid.api.CloneUtils
Bug | Category | Details | Line |
---|---|---|---|
Should com.gridsystems.innergrid.api.CloneUtils.cloneArray(Object[]) return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 49 |
com.gridsystems.innergrid.api.IOUtils
Bug | Category | Details | Line |
---|---|---|---|
com.gridsystems.innergrid.api.IOUtils.close(Object) might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 79 |
com.gridsystems.innergrid.api.IOUtils.close(Closeable) might ignore java.io.IOException | BAD_PRACTICE | DE_MIGHT_IGNORE | 67 |
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.api.IOUtils.close(Object) | STYLE | REC_CATCH_EXCEPTION | 79 |
com.gridsystems.innergrid.api.WSOutboundHandler
Bug | Category | Details | Line |
---|---|---|---|
com.gridsystems.innergrid.api.WSOutboundHandler is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 30-43 |
com.gridsystems.innergrid.kernel.KernelException
Bug | Category | Details | Line |
---|---|---|---|
Dead store of null to params in com.gridsystems.innergrid.kernel.KernelException.fromRemoteException(RemoteException) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 250 |
com.gridsystems.innergrid.kernel.KernelException.getParams() may expose internal representation by returning KernelException.params | MALICIOUS_CODE | EI_EXPOSE_REP | 197 |
new com.gridsystems.innergrid.kernel.KernelException(Throwable, QName, String, Object[]) may expose internal representation by storing an externally mutable object into KernelException.params | MALICIOUS_CODE | EI_EXPOSE_REP2 | 142 |
new com.gridsystems.innergrid.kernel.KernelException(QName, String, Object[], Throwable) may expose internal representation by storing an externally mutable object into KernelException.params | MALICIOUS_CODE | EI_EXPOSE_REP2 | 104 |
Redundant nullcheck of trace, which is known to be non-null in com.gridsystems.innergrid.kernel.KernelException.printStackTrace(PrintStream) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 437 |
Redundant nullcheck of trace, which is known to be non-null in com.gridsystems.innergrid.kernel.KernelException.printStackTrace(PrintWriter) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 408 |
com.gridsystems.innergrid.kernel.UUIDUtils
Bug | Category | Details | Line |
---|---|---|---|
Exception is caught when Exception is not thrown in com.gridsystems.innergrid.kernel.UUIDUtils.findMacAddress() | STYLE | REC_CATCH_EXCEPTION | 102 |
com.gridsystems.innergrid.serializers.CertificateDeserializer
Bug | Category | Details | Line |
---|---|---|---|
Class com.gridsystems.innergrid.serializers.CertificateDeserializer implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 37-78 |