commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1123) NPE in BSPTree#fitToCell()
Date Mon, 19 May 2014 10:37:37 GMT

    [ https://issues.apache.org/jira/browse/MATH-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001575#comment-14001575
] 

Luc Maisonobe commented on MATH-1123:
-------------------------------------

Could you explain in which situation you encounter the exception?

The fitToCell method is a private one and should be called only in controlled case where the
error should not occur. So rather if you encounter this, it is an indication something wrong
already occurs before the call, and I guess it should be fixed too.

The best way would be to have a small reproducible test case that we could add as a non-regression
unit test once the problem is fixed.

> NPE in BSPTree#fitToCell()
> --------------------------
>
>                 Key: MATH-1123
>                 URL: https://issues.apache.org/jira/browse/MATH-1123
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.3
>         Environment: Win32_64
>            Reporter: Labrosse Aurélien
>
> Hello, 
> I faced a NPE using  BSPTree#fitToCell() from the SVN trunk. I fixed the problem using
a small patch I will attach to the ticket.



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

Mime
View raw message