You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2010/06/07 18:23:45 UTC
[jira] Commented: (MAHOUT-410) NPE when calling hasPreferenceValues
or getPreferenceValues on newly created FileDataModel
[ https://issues.apache.org/jira/browse/MAHOUT-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876299#action_12876299 ]
Hudson commented on MAHOUT-410:
-------------------------------
Integrated in Mahout-Quality #54 (See [http://hudson.zones.apache.org/hudson/job/Mahout-Quality/54/])
MAHOUT-410
> NPE when calling hasPreferenceValues or getPreferenceValues on newly created FileDataModel
> --------------------------------------------------------------------------------------------
>
> Key: MAHOUT-410
> URL: https://issues.apache.org/jira/browse/MAHOUT-410
> Project: Mahout
> Issue Type: Bug
> Components: Collaborative Filtering
> Affects Versions: 0.3
> Reporter: Frank Scholten
> Assignee: Sean Owen
> Priority: Trivial
> Fix For: 0.4
>
> Attachments: FileDataModel_checkLoaded.patch
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> An NPE gets thrown when calling hasPreferenceValues() or getPreferenceValue(long userID, long itemID) on a newly created FileDataModel. This happens because these methods do not call checkLoaded() before forwarding the method call to the delegate. Other overridden methods do call checkLoaded(). Seems like a bug.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.