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

Sean Owen resolved MAHOUT-410.
------------------------------

         Assignee: Sean Owen
    Fix Version/s: 0.4
       Resolution: Fixed

Good one, fixed.

> 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.

Reply via email to