org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.StringReader@232ed90b; line: 1, column: 2]

GitHub | pcambra | 4 months ago
  1. 0

    Attributes set from the web interface are not arrays

    GitHub | 4 months ago | pcambra
    org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.StringReader@232ed90b; line: 1, column: 2]
  2. 0

    Hue Pairing Error - Bindings - openHAB Community

    openhab.org | 10 months ago
    org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: java.io.StringReader@168deda; line: 1, column: 1]

    29 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.codehaus.jackson.map.JsonMappingException

      Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token at [Source: java.io.StringReader@232ed90b; line: 1, column: 2]

      at org.codehaus.jackson.map.JsonMappingException.from()
    2. Data Mapper for Jackson
      ObjectMapper.readValue
      1. org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      2. org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      3. org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      4. org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.handleNonArray(StringCollectionDeserializer.java:210)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      5. org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:156)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      6. org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:146)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      7. org.codehaus.jackson.map.deser.std.StringCollectionDeserializer.deserialize(StringCollectionDeserializer.java:18)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      8. org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:319)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      9. org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      10. org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      11. org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      12. org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1870)[jackson-mapper-asl-1.9.5.jar:1.9.5]
      12 frames
    3. nl.surfnet.mujina
      SSOSuccessAuthnResponder.handleRequest
      1. nl.surfnet.mujina.saml.xml.AssertionGenerator.getAttributesFromCookie(AssertionGenerator.java:140)[classes/:na]
      2. nl.surfnet.mujina.saml.xml.AssertionGenerator.generateAssertion(AssertionGenerator.java:114)[classes/:na]
      3. nl.surfnet.mujina.saml.xml.AuthnResponseGenerator.generateAuthnResponse(AuthnResponseGenerator.java:63)[classes/:na]
      4. nl.surfnet.mujina.saml.SSOSuccessAuthnResponder.handleRequest(SSOSuccessAuthnResponder.java:133)[classes/:na]
      4 frames