You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2010/08/23 00:28:17 UTC

[jira] Resolved: (MAHOUT-485) NullPointerException when using GenericItemBasedRecommender with FileDataModel

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

Sean Owen resolved MAHOUT-485.
------------------------------

    Resolution: Fixed

Try my latest change. I think it just needs to make sure that delegate is loaded.

> NullPointerException when using GenericItemBasedRecommender with FileDataModel
> ------------------------------------------------------------------------------
>
>                 Key: MAHOUT-485
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-485
>             Project: Mahout
>          Issue Type: Bug
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Sebastian Schelter
>            Assignee: Sean Owen
>             Fix For: 0.4
>
>
> When GenericItemBasedRecommender is instantiated it calls getMinPreference on DataModel to see if it has to build a capper. When used with a FileDataModel this results in a NullPointerException as FileDataModel tries to delegate this call to its not yet existing delegate (which is a GenericDataModel that is yet to be loaded)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.