java.lang.ClassCastException: scala.collection.immutable.$colon$colon cannot be cast to scala.collection.immutable.Map

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ligadata-ahmad
, 1 year ago
scala.collection.immutable.$colon$colon cannot be cast to scala.collection.immutable.Map
java.lang.ClassCastException: scala.collection.immutable.$colon$colon cannot be cast to scala.collection.immutable.Map
at com.ligadata.MetadataAPI.ConfigUtils$$anonfun$UploadModelsConfig$1.apply(ConfigUtils.scala:630)
at com.ligadata.MetadataAPI.ConfigUtils$$anonfun$UploadModelsConfig$1.apply(ConfigUtils.scala:628)
at scala.collection.Iterator$class.foreach(Iterator.scala:742)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
at com.ligadata.MetadataAPI.ConfigUtils$.UploadModelsConfig(ConfigUtils.scala:628)
at com.ligadata.MetadataAPI.MetadataAPIImpl$.UploadModelsConfig(MetadataAPIImpl.scala:3973)
at com.ligadata.MetadataAPI.Utility.ConfigService$.removeEngineConfig(ConfigService.scala:173)
at com.ligadata.MetadataAPI.StartMetadataAPI$.route(StartMetadataAPI.scala:665)
at com.ligadata.MetadataAPI.StartMetadataAPI$.main(StartMetadataAPI.scala:354)
at com.ligadata.MetadataAPI.StartMetadataAPI.main(StartMetadataAPI.scala)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.