java.lang.NullPointerException

Stack Overflow | Evan Zamir | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.apache.spark.ml.regression.LinearRegression.train()
  2. org.apache.spark
    LinearRegression.train
    1. org.apache.spark.ml.regression.LinearRegression.train(LinearRegression.scala:164)
    2. org.apache.spark.ml.regression.LinearRegression.train(LinearRegression.scala:70)
    2 frames
  3. Spark Project ML Library
    Predictor.fit
    1. org.apache.spark.ml.Predictor.fit(Predictor.scala:90)
    2. org.apache.spark.ml.Predictor.fit(Predictor.scala:71)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
    3. py4j.Gateway.invoke(Gateway.java:280)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:211)
    6 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame