Geometry.getPathIntersect(), sometimes incorrectly returns a Point2D without a corresponding JSO object. Using said Point2D will cause a NPE. Unfortunately, there is no way to check if the Point2D has a null JSO since the JSO is inaccessible. Geometry.getPathIntersect() should either return null, raise an exception, or return a valid Point2D instead of a "broken" Point2D so we can detect this case and handle it appropriately .
Geometry.getPathIntersect()
, sometimes incorrectly returns a Point2D without a corresponding JSO object. Using said Point2D will cause a NPE. Unfortunately, there is no way to check if the Point2D has a null JSO since the JSO is inaccessible.Geometry.getPathIntersect()
should either return null, raise an exception, or return a valid Point2D instead of a "broken" Point2D so we can detect this case and handle it appropriately .