SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
73 |
5 |
0 |
0 |
org.djutils.serialization.DisplayType
Bug |
Category |
Details |
Line |
Priority |
Exception thrown in class org.djutils.serialization.DisplayType at new org.djutils.serialization.DisplayType(SerializationUnits, int, Unit, String, String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
2011 |
Medium |
Possible null pointer dereference of null in org.djutils.serialization.DisplayType.getByteCode(Unit) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
2125 |
High |
Possible null pointer dereference of null in org.djutils.serialization.DisplayType.getIntCode(Unit) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
2112 |
High |
org.djutils.serialization.SerializationUnits
Bug |
Category |
Details |
Line |
Priority |
Possible null pointer dereference of null in org.djutils.serialization.SerializationUnits.getUnitCode(Unit) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
326 |
High |
org.djutils.serialization.util.SerialDataDumper
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.djutils.serialization.util.SerialDataDumper.serialDataDumper(EndianUtil, int, byte[]): java.io.ByteArrayOutputStream.toString() |
I18N |
DM_DEFAULT_ENCODING |
68 |
High |