FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
5 15 0 0

org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector

Bug Category Details Line Priority
Dead store to protocols in org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.createSharedChannel(InputStream) STYLE DLS_DEAD_LOCAL_STORE 350 Medium
Dead store to protocols in org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.createSharedChannel(URL) STYLE DLS_DEAD_LOCAL_STORE 333 Medium
Found reliance on default encoding in org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.configureJChannel(ChannelDescriptor): String.getBytes() I18N DM_DEFAULT_ENCODING 257 High
Found reliance on default encoding in org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.handle(Message): new String(byte[]) I18N DM_DEFAULT_ENCODING 688 High
Possible null pointer dereference of JGroupsCommunicationConnector.channelMap in org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.dispose() CORRECTNESS NP_NULL_ON_SOME_PATH 323 Medium
Possible null pointer dereference of JGroupsCommunicationConnector.channelMap in org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.dispose(List) CORRECTNESS NP_NULL_ON_SOME_PATH 292 Medium
org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.dispose() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 316 Medium
org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.dispose(List) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 295 Medium
org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.getGroupMembers(String) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 706 Medium
org.universAAL.middleware.connectors.communication.jgroups.JGroupsCommunicationConnector.selectJChannels(List) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 382 Medium

org.universAAL.middleware.connectors.communication.jgroups.util.CryptUtil

Bug Category Details Line Priority
Found reliance on default encoding in org.universAAL.middleware.connectors.communication.jgroups.util.CryptUtil.decrypt(String, SecretKey): new String(byte[]) I18N DM_DEFAULT_ENCODING 118 High
Found reliance on default encoding in org.universAAL.middleware.connectors.communication.jgroups.util.CryptUtil.encrypt(String, SecretKey): new String(byte[]) I18N DM_DEFAULT_ENCODING 148 High
Found reliance on default encoding in org.universAAL.middleware.connectors.communication.jgroups.util.CryptUtil.encrypt(String, SecretKey): String.getBytes() I18N DM_DEFAULT_ENCODING 148 High
org.universAAL.middleware.connectors.communication.jgroups.util.CryptUtil.generateKey(File) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 166 Medium
org.universAAL.middleware.connectors.communication.jgroups.util.CryptUtil.generateKeyPair() may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 185 Medium