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
            Priority: Trivial


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