java.lang.NullPointerException: This exception has no message.


Solutions on the web3

Solution icon of github
This exception has no message.

Solution icon of github
This exception has no message.

Solution icon of github
This exception has no message.

Stack trace

java.lang.NullPointerException
	at scala.collection.immutable.StringOps$.length$extension(StringOps.scala:47)
	at scala.collection.immutable.StringOps.length(StringOps.scala:47)
	at scala.collection.IndexedSeqOptimized$class.isEmpty(IndexedSeqOptimized.scala:27)
	at scala.collection.immutable.StringOps.isEmpty(StringOps.scala:29)
	at scala.collection.TraversableOnce$class.nonEmpty(TraversableOnce.scala:111)
	at scala.collection.immutable.StringOps.nonEmpty(StringOps.scala:29)
	at org.apache.spark.ml.attribute.AttributeGroup.<init>(AttributeGroup.scala:42)
	at org.apache.spark.ml.attribute.AttributeGroup.<init>(AttributeGroup.scala:65)
	at org.apache.spark.ml.feature.VectorAssembler.transform(VectorAssembler.scala:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 3 months ago
Once, 5 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago