org.codehaus.jackson.map.JsonMappingException: Error reading entity from input stream. (through reference chain: java.util.ArrayList[0]->org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"])

GitHub | rathinaganesh | 2 years ago
  1. 0

    Error listing Networks and Subnets using Openstack4j-2.0.0-SNAPSHOT-withdeps.jar

    GitHub | 2 years ago | rathinaganesh
    org.codehaus.jackson.map.JsonMappingException: Error reading entity from input stream. (through reference chain: java.util.ArrayList[0]->org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"])
  2. 0

    Error listing Networks and Subnets using Openstack4j-2.0.0-SNAPSHOT-withdeps.jar

    GitHub | 2 years ago | rathinaganesh
    org.codehaus.jackson.map.JsonMappingException: Error reading entity from input stream. (through reference chain: java.util.ArrayList[0]->org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"])
  3. 0

    We have collection of jobs, where including some of them cause the monitor to not display anything. It still has dark screen and title, but does not actually display job info. {code} Nov 13, 2014 11:53:15 PM WARNING org.kohsuke.stapler.HttpResponseRenderer$Default handleJavaScriptProxyMethodCall call to /$stapler/bound/d680fdd4-3714-4ec9-8c17-fb3fab9ae89b/fetchJobViews failed org.codehaus.jackson.map.JsonMappingException: hudson.plugins.git.GitChangeSetList cannot be cast to hudson.plugins.perforce.PerforceChangeLogSet (through reference chain: java.util.ArrayList[0]->com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView["changeSetCount"]) at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:218) at org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:183) at org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(SerializerBase.java:140) at org.codehaus.jackson.map.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:158) at org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:112) at org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:122) at org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:71) at org.codehaus.jackson.map.ser.std.AsArraySerializerBase.serialize(AsArraySerializerBase.java:86) at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610) at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256) at org.codehaus.jackson.map.ObjectMapper._configAndWriteValue(ObjectMapper.java:2575) at org.codehaus.jackson.map.ObjectMapper.writeValueAsString(ObjectMapper.java:2097) at com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView.jsonFrom(BuildMonitorView.java:163) at com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView.fetchJobViews(BuildMonitorView.java:152) at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) [...SNIP...] Caused by: java.lang.ClassCastException: hudson.plugins.git.GitChangeSetList cannot be cast to hudson.plugins.perforce.PerforceChangeLogSet at com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.BuildView.changeSetCount(BuildView.java:131) at com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView.changeSetCount(JobView.java:122) at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.jackson.map.ser.BeanPropertyWriter.get(BeanPropertyWriter.java:483) at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:418) at org.codehaus.jackson.map.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:150) ... 91 more {code}

    Jenkins JIRA | 2 years ago | Brantone
    org.codehaus.jackson.map.JsonMappingException: hudson.plugins.git.GitChangeSetList cannot be cast to hudson.plugins.perforce.PerforceChangeLogSet (through reference chain: java.util.ArrayList[0]->com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView["changeSetCount"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jackson self reference leading to cycle

    Stack Overflow | 5 years ago | elkarel
    org.codehaus.jackson.map.JsonMappingException: Direct self-reference leading to cycle (through reference chain: com.fgm.imsma.pojo.Hazard["location"]->com.fgm.imsma.pojo.Location["location"])
  6. 0

    How to serialize Java generics with SimpleJson

    Stack Overflow | 4 years ago | faiko
    org.codehaus.jackson.map.JsonMappingException: No serializer found for class ...UpdateBroadcastMessageData and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

    3 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

      Error reading entity from input stream. (through reference chain: java.util.ArrayList[0]->org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"])

      at org.codehaus.jackson.map.JsonMappingException.wrapWithPath()
    2. Data Mapper for Jackson
      ObjectMapper.writeValueAsString
      1. org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:218)
      2. org.codehaus.jackson.map.JsonMappingException.wrapWithPath(JsonMappingException.java:183)
      3. org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(SerializerBase.java:140)
      4. org.codehaus.jackson.map.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:158)
      5. org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:112)
      6. org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:122)
      7. org.codehaus.jackson.map.ser.std.StdContainerSerializers$IndexedListSerializer.serializeContents(StdContainerSerializers.java:71)
      8. org.codehaus.jackson.map.ser.std.AsArraySerializerBase.serialize(AsArraySerializerBase.java:86)
      9. org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:610)
      10. org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:256)
      11. org.codehaus.jackson.map.ObjectMapper._configAndWriteValue(ObjectMapper.java:2575)
      12. org.codehaus.jackson.map.ObjectMapper.writeValueAsString(ObjectMapper.java:2097)
      12 frames
    3. com.adaranet.cloudfabric
      OpenstackController.fetchComputeData
      1. com.adaranet.cloudfabric.controller.OpenstackController.fetchComputeData(OpenstackController.java:195)
      1 frame