commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyrille Artho (JIRA)" <>
Subject [jira] [Created] (MATH-1115) Constructor of PolyhedronsSet throws NullPointerException
Date Mon, 14 Apr 2014 02:40:14 GMT
Cyrille Artho created MATH-1115:

             Summary: Constructor of PolyhedronsSet throws NullPointerException
                 Key: MATH-1115
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.2
         Environment: Mac OS 10.9 with Java 6, 7
            Reporter: Cyrille Artho

The following statement throws a NullPointerException:
new org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet(0.0d, 0.0d, 0.0d, 0.0d,
0.0d, 0.0d);

I found that other numbers also produce that effect. The stack trace:
        at org.apache.commons.math3.geometry.partitioning.BSPTree.fitToCell(
        at org.apache.commons.math3.geometry.partitioning.BSPTree.insertCut(
        at org.apache.commons.math3.geometry.partitioning.RegionFactory.buildConvex(
        at org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.buildBoundary(
        at org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.<init>(

This message was sent by Atlassian JIRA

View raw message