Potential NullPointerException in Frame
The field version of Frame.getStaticTransformTo
javadoc states that null date
parameters are allowed (they are allowed in the primitive double version).
However, the first instruction is date.hasZeroField()
, which will trigger an exception if null date is passed.
This occured to me because SonarQube identified a bug between lines 530 and 534 of the field version of GroundStation.getOffsetGeodeticPoint
, as the check for null date is performed after getStaticTransformTo
has been called.