[ 
https://issues.apache.org/jira/browse/MATH-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luc Maisonobe resolved MATH-1115.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3

Fixed in subversion repository as of r1590254.

We have also included the same javadoc improvements as in MATH-1117.

Thanks for the report.

> Constructor of PolyhedronsSet throws NullPointerException
> ---------------------------------------------------------
>
>                 Key: MATH-1115
>                 URL: https://issues.apache.org/jira/browse/MATH-1115
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.2
>         Environment: Mac OS 10.9 with Java 6, 7
>            Reporter: Cyrille Artho
>             Fix For: 3.3
>
>         Attachments: Report1.java, Report1a.java
>
>
> 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:
> java.lang.NullPointerException
>         at 
> org.apache.commons.math3.geometry.partitioning.BSPTree.fitToCell(BSPTree.java:297)
>         at 
> org.apache.commons.math3.geometry.partitioning.BSPTree.insertCut(BSPTree.java:155)
>         at 
> org.apache.commons.math3.geometry.partitioning.RegionFactory.buildConvex(RegionFactory.java:55)
>         at 
> org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.buildBoundary(PolyhedronsSet.java:119)
>         at 
> org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSet.<init>(PolyhedronsSet.java:97)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to