Mahout
  1. Mahout
  2. MAHOUT-819

NullPointerException in matrix vector multiplication in TimesSquaredJob

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: Math
    • Labels:
      None

      Description

      TimesSquaredMapper causes a NullPointerException in method close() if member out isn't initiated.
      Adding a null-check fixes the issue.

      1. MAHOUT-819.patch
        0.6 kB
        Christoph Nagel

        Activity

        Hide
        Sebastian Schelter added a comment -

        Thank you very much Christoph.

        Show
        Sebastian Schelter added a comment - Thank you very much Christoph.
        Hide
        Hudson added a comment -

        Integrated in Mahout-Quality #1064 (See https://builds.apache.org/job/Mahout-Quality/1064/)
        MAHOUT-819 NullPointerException in matrix vector multiplication in TimesSquaredJob

        ssc : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176380
        Files :

        • /mahout/trunk/core/src/main/java/org/apache/mahout/math/hadoop/TimesSquaredJob.java
        Show
        Hudson added a comment - Integrated in Mahout-Quality #1064 (See https://builds.apache.org/job/Mahout-Quality/1064/ ) MAHOUT-819 NullPointerException in matrix vector multiplication in TimesSquaredJob ssc : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1176380 Files : /mahout/trunk/core/src/main/java/org/apache/mahout/math/hadoop/TimesSquaredJob.java

          People

          • Assignee:
            Sebastian Schelter
            Reporter:
            Christoph Nagel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development