com.fasterxml.jackson.databind.JsonMappingException: Could not find creator property with name 'id' (in class org.apache.spark.rdd.RDDOperationScope) at [Source: {"id":"0","name":"receiver stream"}; line: 1, column: 1]

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

Samebug tips

,
Expert tip

Try indicating constructor to use @JsonCreator annotation.

,

The easiest solution is to provide a default constructor for the class you want to convert from/to json.

Solutions on the web

via Google Groups by shravan c, 1 year ago
Could not find creator property with name 'id' (in class org.apache.spark.rdd.RDDOperationScope) at [Source: {"id":"0","name":"receiver stream"}; line: 1, column: 1]
via GitHub by david-bakin
, 1 year ago
Could not find creator property with name 'value' (in class com.bakins_bits.TestJacksonModuleParameterNames$D) at [Source: "abc:def"; line: 1, column: 1]
via hortonworks.com by Unknown author, 1 year ago
Could not find creator property with name 'id' (in class org.apache.spark.rdd.RDDOperationScope) at [Source: {"id":"3","name":"map"}; line: 1, column: 1]
via GitHub by dbl001
, 7 months ago
Could not find creator property with name 'id' (in class org.apache.spark.rdd.RDDOperationScope) at [Source: {"id":"0","name":"textFile"}; line: 1, column: 1] zeppellin has 5 different versions of jackson-databind as external dependencies
via apache.org by Unknown author, 2 years ago
Could not find creator property with name 'id' (in class org.apache.spark.rdd.RDDOperationScope) at [Source: {"id":"0","name":"parallelize"} ; line: 1, column: 1]
com.fasterxml.jackson.databind.JsonMappingException: Could not find creator property with name 'id' (in class org.apache.spark.rdd.RDDOperationScope) at [Source: {"id":"0","name":"receiver stream"}; line: 1, column: 1]
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:843)
at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:533)
at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:220)
at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:143)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer2(DeserializerCache.java:409)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:358)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:265)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:245)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:143)
at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:439)
at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:3668)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
at org.apache.spark.rdd.RDDOperationScope$.fromJson(RDDOperationScope.scala:85)
at org.apache.spark.streaming.dstream.InputDStream$$anonfun$2.apply(InputDStream.scala:76)
at org.apache.spark.streaming.dstream.InputDStream$$anonfun$2.apply(InputDStream.scala:76)
at scala.Option.map(Option.scala:146)
at org.apache.spark.streaming.dstream.InputDStream.(InputDStream.scala:76)
at org.apache.spark.streaming.dstream.ReceiverInputDStream.(ReceiverInputDStream.scala:42)
at org.apache.spark.streaming.dstream.PluggableInputDStream.(PluggableInputDStream.scala:27)
at org.apache.spark.streaming.StreamingContext$$anonfun$receiverStream$1.apply(StreamingContext.scala:293)
at org.apache.spark.streaming.StreamingContext$$anonfun$receiverStream$1.apply(StreamingContext.scala:293)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
at org.apache.spark.streaming.StreamingContext.withNamedScope(StreamingContext.scala:269)
at org.apache.spark.streaming.StreamingContext.receiverStream(StreamingContext.scala:292)
at chapter02.EntreeDatasetPipeline$.main(EntreeDatasetPipeline.scala:241)
at chapter02.EntreeDatasetPipeline.main(EntreeDatasetPipeline.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 6 months ago

Write tip

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