Advertisement
Guest User

sdg

a guest
Nov 26th, 2017
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 21.56 KB | None | 0 0
  1. {
  2.   "elementsToAdd": [
  3.     {
  4.       "country": "USA",
  5.       "title": "string"
  6.     }
  7.   ],
  8.   "elementsToUpdate": {
  9.    {
  10.       "1" : {
  11.       "country": "USA",
  12.       "title": "string"
  13.       }
  14.    }
  15.   },
  16.   "numbersToDelete": [
  17.     0
  18.   ]
  19. }
  20.  
  21.  
  22. org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  23.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  24.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]
  25.  at [Source: java.io.PushbackInputStream@2caa3854; line: 10, column: 23] (through reference chain: com.common.dto.movie.request.Contribution["elementsToUpdate"'{' (code 123)): was expecting double-quote to start field name
  26.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]
  27.  at [Source: java.io.PushbackInputStream@2caa3854; line: 10, column: 23] (through reference chain: com.common.dto.movie.request.Contribution["elementsToUpdate"])
  28.     at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:388) ~[jackson-databind-2.8.9.jar:2.8.9]
  29.     at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:348) ~[jackson-databind-2.8.9.jar:2.8.9]
  30.     at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapAndThrow(BeanDeserializerBase.java:1600) ~[jackson-databind-2.8.9.jar:2.8.9]
  31.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:359) ~[jackson-databind-2.8.9.jar:2.8.9]
  32.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148) ~[jackson-databind-2.8.9.jar:2.8.9]
  33.     at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3814) ~[jackson-databind-2.8.9.jar:2.8.9]
  34.     at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2938) ~[jackson-databind-2.8.9.jar:2.8.9]
  35.     at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:235) ~[spring-web-4.3.10.RELEASE.jar:4.3.10.RELEASE]
  36.     ... 103 common frames omitted
  37. Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  38.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]
  39.     at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702) ~[jackson-core-2.8.9.jar:2.8.9]
  40.     at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558) ~[jackson-core-2.8.9.jar:2.8.9]
  41.     at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:456) ~[jackson-core-2.8.9.jar:2.8.9]
  42.     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleOddName(UTF8StreamJsonParser.java:2054) ~[jackson-core-2.8.9.jar:2.8.9]
  43.     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._parseName(UTF8StreamJsonParser.java:1701) ~[jackson-core-2.8.9.jar:2.8.9]
  44.     at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextFieldName(UTF8StreamJsonParser.java:1053) ~[jackson-core-2.8.9.jar:2.8.9]
  45.     at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:432) ~[jackson-databind-2.8.9.jar:2.8.9]
  46.     at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:365) ~[jackson-databind-2.8.9.jar:2.8.9]
  47.     at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:27) ~[jackson-databind-2.8.9.jar:2.8.9]
  48.     at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:504) ~[jackson-databind-2.8.9.jar:2.8.9]
  49.     at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:104) ~[jackson-databind-2.8.9.jar:2.8.9]
  50.     at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:357) ~[jackson-databind-2.8.9.jar:2.8.9]
  51.     ... 107 common frames omitted
  52.  
  53. 2017-11-26 21:35:18.480 DEBUG 3664 --- [io-8443-exec-12] .m.m.a.ExceptionHandlerExceptionResolver : Resolving exception from handler [public void com.web.web.controller.ContributeRestController.correctOtherTitlesContribution(java.lang.Long,com.common.dto.movie.request.Contribution<com.common.dto.movie.request.OtherTitle>)]: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  54.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  55.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]
  56.  at [Source: java.io.PushbackInputStream@2caa3854; line: 10, column: 23] (through reference chain: com.common.dto.movie.request.Contribution["elementsToUpdate"])
  57. 2017-11-26 21:35:18.480 DEBUG 3664 --- [io-8443-exec-12] .m.m.a.ExceptionHandlerExceptionResolver : Resolving exception from handler [public void com.web.web.controller.ContributeRestController.correctOtherTitlesContribution(java.lang.Long,com.common.dto.movie.request.Contribution<com.common.dto.movie.request.OtherTitle>)]: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  58.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('{' (code 123)): was expecting double-quote to start field name
  59.  at [Source: java.io.PushbackInputStream@2caa3854; line: 11, column: 5]
  60.  at [Source: java.io.PushbackInputStream@2caa3854; line: 10, column: 23] (through reference chain: com.common.dto.movie.request.Contribution["elementsToUpdate"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement