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

        Sean Owen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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
        Sebastian Schelter made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Assignee Sebastian Schelter [ ssc ]
        Resolution Fixed [ 1 ]
        Hide
        Sebastian Schelter added a comment -

        Thank you very much Christoph.

        Show
        Sebastian Schelter added a comment - Thank you very much Christoph.
        Christoph Nagel made changes -
        Attachment MAHOUT-819.patch [ 12496680 ]
        Christoph Nagel made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.6 [ 12316364 ]
        Christoph Nagel created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development