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

  1. ,
    Expert tip

    Try indicating constructor to use @JsonCreator annotation.

  2. ,

    You are trying to deserialize a type for which Jackson does not provide a default mapper. You should create your custom mapper for this type.

Solutions on the web

via Google Groups by Shrinivasan T, 9 months ago
Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@4aaa92e8; line: 1, column: 16] (through reference chain: io.confluent.kafkarest.entities.TopicProduceRequest["records"]->java.util.ArrayList[0]->io.confluent.kafkarest.entities.BinaryTopicProduceRecord["value"])
via Google Groups by Michael Richardson, 9 months ago
Can not deserialize instance of java.lang.String out of START_OBJECT token at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@5751a0d8; line: 1, column: 14] (through reference chain: io.confluent.kafkarest.entities.TopicProduceRequest["records"]->java.util.ArrayList[0]->io.confluent.kafkarest.entities.BinaryTopicProduceRecord["value"])
via GitHub by jakubczaplicki
, 9 months ago
Unexpected end-of-input when binding data into ObjectNode at [Source: java.io.StringReader@50f50495; line: 1389, column: 20]
via Stack Overflow by srinath murugula
, 11 months ago
Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: {product:[{product_type_id:1, product_cat_id:1, product_type_nm:PED}, {product_type_id:2, product_cat_id:2, product_type_nm:MOBILE APP}, {product_type_id:3
via GitHub by ittaiz
, 2 years ago
Can not deserialize instance of java.lang.String out of START_ARRAY token at [Source: N/A; line: -1, column: -1]
via incubator-zeppelin-users by moon soo Lee, 2 years 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]
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize 
instance of java.lang.String out of START_OBJECT token
 at [Source: 
org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@5751a0d8; 
line: 1, column: 14] (through reference chain: 
io.confluent.kafkarest.entities.TopicProduceRequest["records"]->java.util.ArrayList[0]->io.confluent.kafkarest.entities.BinaryTopicProduceRecord["value"])	at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)	at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:835)	at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:59)	at com.fasterxml.jackson.databind.deser.std.StringDeserializer.deserialize(StringDeserializer.java:12)	at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeWithErrorWrapping(BeanDeserializer.java:461)	at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:381)	at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1073)	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:295)	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:142)	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:217)	at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25)	at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)	at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)	at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)	at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)	at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)	at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1410)	at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:860)	at com.fasterxml.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:810)	at io.confluent.rest.validation.JacksonMessageBodyProvider.readFrom(JacksonMessageBodyProvider.java:65)	at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:260)	at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:236)	at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:156)	at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)	at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:156)	at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)	at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:853)	at org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:270)	at org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)	at org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:81)	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)	at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)	at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)	at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:308)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:291)	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1140)	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:403)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:386)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:334)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:221)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)	at org.eclipse.jetty.server.Server.handle(Server.java:499)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)	at java.lang.Thread.run(Thread.java:745)