You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because the return value of "org.hipparchus.geometry.partitioning.BSPTree.getAttribute()" is null
at org.hipparchus.geometry.partitioning.RegionFactory$VanishingToLeaf.fixNode(RegionFactory.java:381)
at org.hipparchus.geometry.partitioning.BSPTree.insertInTree(BSPTree.java:680)
at org.hipparchus.geometry.partitioning.RegionFactory$IntersectionMerger.merge(RegionFactory.java:267)
at org.hipparchus.geometry.partitioning.BSPTree.merge(BSPTree.java:437)
at org.hipparchus.geometry.partitioning.BSPTree.merge(BSPTree.java:455)
The text was updated successfully, but these errors were encountered:
I got a null pointer exception when I ran the code below. I guess it's a minor bug.
try {
intersection = (SphericalPolygonsSet) factory.intersection(zone.copySelf(), targetSphericalPolygonsSet.copySelf());
} catch (Exception e) {
e.printStackTrace();
}
java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because the return value of "org.hipparchus.geometry.partitioning.BSPTree.getAttribute()" is null
at org.hipparchus.geometry.partitioning.RegionFactory$VanishingToLeaf.fixNode(RegionFactory.java:381)
at org.hipparchus.geometry.partitioning.BSPTree.insertInTree(BSPTree.java:680)
at org.hipparchus.geometry.partitioning.RegionFactory$IntersectionMerger.merge(RegionFactory.java:267)
at org.hipparchus.geometry.partitioning.BSPTree.merge(BSPTree.java:437)
at org.hipparchus.geometry.partitioning.BSPTree.merge(BSPTree.java:455)
The text was updated successfully, but these errors were encountered: