[ 
https://issues.apache.org/jira/browse/SPARK-21331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077701#comment-16077701
 ] 

Sean Owen commented on SPARK-21331:
-----------------------------------

I don't see evidence that the NPE is related to computeSVD. The line the error 
occurs on in your stack trace is blank in Spark 2.1.0, so are you sure that's 
the version you're using? whatever the problem is we could probably find a 
better error, but it's not clear what the message. Are you sure this isn't a 
problem with how you built it locally, like did you do a clean build? Ideally, 
reproduce this vs a released version to rule that out.

> java.lang.NullPointerException for certain methods in classes of MLlib
> ----------------------------------------------------------------------
>
>                 Key: SPARK-21331
>                 URL: https://issues.apache.org/jira/browse/SPARK-21331
>             Project: Spark
>          Issue Type: Bug
>          Components: Build, MLlib
>    Affects Versions: 2.1.0
>         Environment: Spark running locally on OSX at spark://127.0.0.1:7077.
>            Reporter: Anirban Das
>
> I am trying to run the following code using sbt package and sbt run. I am 
> getting a runtime error that seems to be a bug since the same code works 
> great on spark-shell with Scala. The error occurs when executing the 
> computeSVD line. If this line is commented out, the program works fine. I am 
> having similar issues for other methods for classes in MLlib as well. This 
> looks like a bug to me.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to