You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sebastian Schelter (JIRA)" <ji...@apache.org> on 2010/08/20 17:29:16 UTC
[jira] Created: (MAHOUT-485) NullPointerException when using
GenericItemBasedRecommender with FileDataModel
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
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.
[jira] Resolved: (MAHOUT-485) NullPointerException when using
GenericItemBasedRecommender with FileDataModel
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (MAHOUT-485) NullPointerException when using
GenericItemBasedRecommender with FileDataModel
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated MAHOUT-485:
-----------------------------
Assignee: Sean Owen
Fix Version/s: 0.4
Due Date: 27/Aug/10
I'll look at this when I can. It's almost certainly something I caused in a last change.
> 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.