The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Boxing/unboxing to parse a primitive org.miloss.fgsms.sla.AuxHelper.CheckPolicyAndCreate(String, Connection, PolicyType, boolean, String, String, String) | PERFORMANCE | DM_BOXED_PRIMITIVE_FOR_PARSING | 362 | High |
con is null guaranteed to be dereferenced in org.miloss.fgsms.sla.AuxHelper.TryUpdateStatus(boolean, String, String, boolean, PolicyType, String, String, String, AuxHelper$FLAGS) on exception path | CORRECTNESS | NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH | 159 | Medium |
org.miloss.fgsms.sla.AuxHelper.WritePolicytoDB(ServicePolicy, String, String, boolean) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 483 | Medium |
Self assignment of e in org.miloss.fgsms.sla.AuxHelper.CheckPolicyAndCreate(String, Connection, PolicyType, boolean, String, String, String) | STYLE | SA_LOCAL_SELF_ASSIGNMENT | 421 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetCPUUsageOverTime(String, long, boolean) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 408 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetCPUUsageOverTime(String, long, boolean) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 405 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetDiskUsageOverTime(String, long, boolean) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 374 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetDiskUsageOverTime(String, long, boolean) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 371 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetLastKnownStatus(String, boolean, AtomicReference) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 508 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetLastKnownStatus(String, boolean, AtomicReference) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 505 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetMemoryUsageOverTime(String, long, boolean) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 442 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetMemoryUsageOverTime(String, long, boolean) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 439 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetNetworkUsageOverTime(String, Duration, boolean, String, String) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 480 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GetNetworkUsageOverTime(String, Duration, boolean, String, String) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 473 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GrabFaultRate(long, String) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 297 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GrabFaultRate(long, String) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 292 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GrabInvocationRate(long, String) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 333 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GrabInvocationRate(long, String) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 328 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GrabMTBF(long, String) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 264 | Medium |
org.miloss.fgsms.sla.NonTransactionalSLAProcessor.GrabMTBF(long, String) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 259 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to instance in org.miloss.fgsms.sla.SLACommon.ProcessAlerts(String, String, String, String, long, String, boolean, boolean, List, String, ServicePolicy, AlertType) | STYLE | DLS_DEAD_LOCAL_STORE | 1594 | Medium |
Null passed for non-null parameter of SLAProcessorSingleton.EnqueueAlert(AlertContainer) in org.miloss.fgsms.sla.SLACommon.ProcessAlerts(String, String, String, String, long, String, boolean, boolean, List, String, ServicePolicy, AlertType) | CORRECTNESS | NP_NULL_PARAM_DEREF | 1606 | Medium |
Exception is caught when Exception is not thrown in org.miloss.fgsms.sla.SLACommon.AlertGlobalAdminsNewPolicyCreated(String, String, boolean, PolicyType) | STYLE | REC_CATCH_EXCEPTION | 822 | Medium |
Exception is caught when Exception is not thrown in org.miloss.fgsms.sla.SLACommon.AlertUserSLASubscribed(String, List, SetAlertRegistrationsRequestMsg, boolean) | STYLE | REC_CATCH_EXCEPTION | 870 | Medium |
Exception is caught when Exception is not thrown in org.miloss.fgsms.sla.SLACommon.loadPolicy(Connection, String) | STYLE | REC_CATCH_EXCEPTION | 350 | Medium |
Exception is caught when Exception is not thrown in org.miloss.fgsms.sla.SLACommon.loadServicePolicies(Connection) | STYLE | REC_CATCH_EXCEPTION | 214 | Medium |
Exception is caught when Exception is not thrown in org.miloss.fgsms.sla.SLACommon.loadServicePoliciesWithFederation(Connection) | STYLE | REC_CATCH_EXCEPTION | 1806 | Medium |
Switch statement found in org.miloss.fgsms.sla.SLACommon.LoadProcessPoliciesPooledByHostname(String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1133-1139 | Medium |
Switch statement found in org.miloss.fgsms.sla.SLACommon.loadMachinePolicyPooled(String) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1198-1204 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to instance in org.miloss.fgsms.sla.SLAProcessorController.SizeOfQueue() | STYLE | DLS_DEAD_LOCAL_STORE | 46 | Medium |
Dead store to instance in org.miloss.fgsms.sla.SLAProcessorController.Start() | STYLE | DLS_DEAD_LOCAL_STORE | 33 | Medium |
Dead store to instance in org.miloss.fgsms.sla.SLAProcessorController.Stop() | STYLE | DLS_DEAD_LOCAL_STORE | 40 | Medium |
The method name org.miloss.fgsms.sla.SLAProcessorController.SizeOfQueue() doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 46-47 | Medium |
The method name org.miloss.fgsms.sla.SLAProcessorController.Start() doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 33-36 | Medium |
The method name org.miloss.fgsms.sla.SLAProcessorController.Stop() doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 40-42 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name org.miloss.fgsms.sla.SLAProcessorSingleton.GetQueueSize() doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 78-81 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to s in org.miloss.fgsms.sla.TransactionalSLAProcessor.ProcessRules(AddDataRequestMsg, AtomicReference, RuleBaseType) | STYLE | DLS_DEAD_LOCAL_STORE | 114 | Medium |
The method name org.miloss.fgsms.sla.TransactionalSLAProcessor.ProcessNewTransaction(AddDataRequestMsg, String) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 52-98 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of ic which is known to be null in org.miloss.fgsms.sla.actions.AMQPAlerter.ProcessActionRet(AlertContainer) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE | 220 | Medium |
Write to static field org.miloss.fgsms.sla.actions.AMQPAlerter.LastConfigRefresh from instance method org.miloss.fgsms.sla.actions.AMQPAlerter.ProcessActionRet(AlertContainer) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 137 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.actions.EmailAlerter.ValidateConfiguration(List, AtomicReference) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 140 | Medium |
Exception is caught when Exception is not thrown in org.miloss.fgsms.sla.actions.EmailAlerter.SendMailAlert(String, SLAAction, String, boolean, String) | STYLE | REC_CATCH_EXCEPTION | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.actions.SLAActionLog.ValidateConfiguration(List, AtomicReference) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 89 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.actions.SLAActionRunScript.ValidateConfiguration(List, AtomicReference) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 133 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to url in org.miloss.fgsms.sla.actions.SimpleMulticastAlerter.ProcessActionRet(AlertContainer) | STYLE | DLS_DEAD_LOCAL_STORE | 62 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to registerPublisher in org.miloss.fgsms.sla.actions.WSNotificationAlerter.RegisterProducer(String) | STYLE | DLS_DEAD_LOCAL_STORE | 348 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ActionContainsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 125 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ActionEqualsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 125 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.BrokerQueueSizeGreaterThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 144 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ConsumerContainsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 129 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ConsumerEqualsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.FaultsOverTimeGreaterThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 135 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.FaultsOverTimeLessThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 135 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighCPUUsage.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighCPUUsageOverTime.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighDiskUsageOverTime.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 135 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighMemoryUsage.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 132 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighMemoryUsageOverTime.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighNetworkUsageOverTime.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 134 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighOpenFileHandles.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 130 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.HighThreadCount.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 144 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.InvocationsOverTimeGreatThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 137 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.InvocationsOverTimeLessThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 137 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.miloss.fgsms.sla.rules.LowDiskSpace.GetMachineInfo(String, String) may fail to clean up java.sql.ResultSet on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 261 | Medium |
org.miloss.fgsms.sla.rules.LowDiskSpace.GetMachineInfo(String, String) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 257 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.MeanTimeBetweenFailureGreatThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 137 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.MeanTimeBetweenFailureLessThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 138 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.QueueOrTopicDoesNotExist.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 137 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.RequestContentContainsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.RequestMessageSizeGreaterThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.RequestMessageSizeLessThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ResponseContentContainsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 136 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ResponseMessageSizeGreaterThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ResponseMessageSizeLessThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ResponseTimeGreaterThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.ResponseTimeLessThan.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 128 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.TransactionalAgentMemoContainsIgnoreCase.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 126 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of params in org.miloss.fgsms.sla.rules.XPathExpression.ValidateConfiguration(List, AtomicReference, ServicePolicy) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 182 | Medium |