Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-485

NullPointerException when using GenericItemBasedRecommender with FileDataModel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.4
    • None

    Description

      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)

      Attachments

        Activity

          People

            srowen Sean R. Owen
            ssc Sebastian Schelter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: