From: SourceForge.net <no...@so...> - 2007-04-16 21:30:57
|
Bugs item #1701822, was opened at 2007-04-16 17:30 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1701822&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nick Guenther (kousu) Assigned to: Nobody/Anonymous (nobody) Summary: DefaultBoxAndWhiskerCategoryDataset doesn't follow contracts Initial Comment: In DefaultBoxAndWhiskerCategoryDataset.add() there is double minval = item.getMinOutlier().doubleValue(); double maxval = item.getMaxOutlier().doubleValue(); where item is a BoxAndWhiskerItem. In the documentation for BoxAndWhiskerItem, the min and max outliers are explicitly allowed to be null (and certainly the code doesn't enforce any sort of checks on them), however this line will crash confusingly if they are null. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1701822&group_id=15494 |
From: SourceForge.net <no...@so...> - 2007-04-17 13:23:43
|
Bugs item #1701822, was opened at 2007-04-16 21:30 Message generated for change (Comment added) made by mungady You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1701822&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: General >Group: 1.0.x >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nick Guenther (kousu) >Assigned to: David Gilbert (mungady) Summary: DefaultBoxAndWhiskerCategoryDataset doesn't follow contracts Initial Comment: In DefaultBoxAndWhiskerCategoryDataset.add() there is double minval = item.getMinOutlier().doubleValue(); double maxval = item.getMaxOutlier().doubleValue(); where item is a BoxAndWhiskerItem. In the documentation for BoxAndWhiskerItem, the min and max outliers are explicitly allowed to be null (and certainly the code doesn't enforce any sort of checks on them), however this line will crash confusingly if they are null. ---------------------------------------------------------------------- >Comment By: David Gilbert (mungady) Date: 2007-04-17 13:23 Message: Logged In: YES user_id=112975 Originator: NO Thanks for the report. I've committed a fix to CVS for inclusion in the 1.0.6 release. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1701822&group_id=15494 |
From: SourceForge.net <no...@so...> - 2007-04-17 14:12:23
|
Bugs item #1701822, was opened at 2007-04-16 21:30 Message generated for change (Comment added) made by mungady You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1701822&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: 1.0.x Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Nick Guenther (kousu) Assigned to: David Gilbert (mungady) Summary: DefaultBoxAndWhiskerCategoryDataset doesn't follow contracts Initial Comment: In DefaultBoxAndWhiskerCategoryDataset.add() there is double minval = item.getMinOutlier().doubleValue(); double maxval = item.getMaxOutlier().doubleValue(); where item is a BoxAndWhiskerItem. In the documentation for BoxAndWhiskerItem, the min and max outliers are explicitly allowed to be null (and certainly the code doesn't enforce any sort of checks on them), however this line will crash confusingly if they are null. ---------------------------------------------------------------------- >Comment By: David Gilbert (mungady) Date: 2007-04-17 14:12 Message: Logged In: YES user_id=112975 Originator: NO Thanks for the report. I've committed a fix to CVS for inclusion in the 1.0.6 release. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- Comment By: David Gilbert (mungady) Date: 2007-04-17 13:23 Message: Logged In: YES user_id=112975 Originator: NO Thanks for the report. I've committed a fix to CVS for inclusion in the 1.0.6 release. Regards, Dave Gilbert JFreeChart Project Leader ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1701822&group_id=15494 |