SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.3
Threshold is low
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
102 |
35 |
0 |
0 |
org.logicmachine.rebl.domain.entities.ActiveEntity
org.logicmachine.rebl.domain.entities.ActiveEntity$1
org.logicmachine.rebl.domain.resources.CloseableResource
org.logicmachine.rebl.domain.stateMachines.StateMachine
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.logicmachine.rebl.domain.stateMachines.StateMachine at new org.logicmachine.rebl.domain.stateMachines.StateMachine(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
279 |
Medium |
org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler at new org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler(StateMachine, Enum) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
123 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler at new org.logicmachine.rebl.domain.stateMachines.StateMachineExceptionHandler(StateMachine, Enum, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
153 |
Medium |
org.logicmachine.rebl.domain.transactions.ScopedTransaction
Bug |
Category |
Details |
Line |
Priority |
Shared primitive variable "transactionTimeoutInSeconds" in one thread may not yield the value of the most recent write from another thread |
MT_CORRECTNESS |
AT_STALE_THREAD_WRITE_OF_PRIMITIVE |
406 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
143 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(ScopedTransaction) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
192 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(TransactionAwareScope) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
163 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(TransactionAwareScope, byte[], boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
215 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.ScopedTransaction at new org.logicmachine.rebl.domain.transactions.ScopedTransaction(TransactionAwareScope, byte[], byte[], boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
252 |
Medium |
org.logicmachine.rebl.domain.transactions.attributes.impl.TransactionActionImpl
org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope at new org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
274 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope at new org.logicmachine.rebl.domain.transactions.managers.JdbcTransactionAwareScope(String, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
326 |
Medium |
Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
528 |
Low |
Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
533 |
Low |
org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope at new org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
176 |
Medium |
Exception thrown in class org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope at new org.logicmachine.rebl.domain.transactions.managers.TransactionAwareWithWriteAheadScope(String, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
229 |
Medium |
Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
337 |
Low |
Method intentionally throws RuntimeException. |
BAD_PRACTICE |
THROWS_METHOD_THROWS_RUNTIMEEXCEPTION |
294 |
Low |
org.logicmachine.rebl.language.context.EnvironmentObject
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.logicmachine.rebl.language.context.EnvironmentObject at new org.logicmachine.rebl.language.context.EnvironmentObject(Object) 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 |
Exception thrown in class org.logicmachine.rebl.language.context.EnvironmentObject at new org.logicmachine.rebl.language.context.EnvironmentObject(Object, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
103 |
Medium |
org.logicmachine.rebl.language.context.Scope
Bug |
Category |
Details |
Line |
Priority |
Shared primitive variable "isClosed" in one thread may not yield the value of the most recent write from another thread |
MT_CORRECTNESS |
AT_STALE_THREAD_WRITE_OF_PRIMITIVE |
2417 |
Medium |
Shared primitive variable "isParallel" in one thread may not yield the value of the most recent write from another thread |
MT_CORRECTNESS |
AT_STALE_THREAD_WRITE_OF_PRIMITIVE |
2416 |
Medium |
Shared primitive variable "inheritBusinessEntities" in one thread may not yield the value of the most recent write from another thread |
MT_CORRECTNESS |
AT_STALE_THREAD_WRITE_OF_PRIMITIVE |
2617 |
Medium |
Shared primitive variable "inheritParallelSetting" in one thread may not yield the value of the most recent write from another thread |
MT_CORRECTNESS |
AT_STALE_THREAD_WRITE_OF_PRIMITIVE |
1119 |
Medium |
Shared primitive variable "isParallel" in one thread may not yield the value of the most recent write from another thread |
MT_CORRECTNESS |
AT_STALE_THREAD_WRITE_OF_PRIMITIVE |
1094 |
Medium |
Exception thrown in class org.logicmachine.rebl.language.context.Scope at new org.logicmachine.rebl.language.context.Scope() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
889 |
Medium |
Exception thrown in class org.logicmachine.rebl.language.context.Scope at new org.logicmachine.rebl.language.context.Scope(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
908 |
Medium |