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"])

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

Solutions on the web

via Jenkins JIRA by Brantone, 1 year ago
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"])
via Jenkins JIRA by Brantone, 1 year ago
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"])
via GitHub by rathinaganesh
, 1 year ago
Error reading entity from input stream. (through reference chain: java.util.ArrayList[0]->org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"])
via GitHub by rathinaganesh
, 2 years ago
Error reading entity from input stream. (through reference chain: java.util.ArrayList[0]->org.openstack4j.openstack.networking.domain.NeutronNetwork["neutronSubnets"])
via Stack Overflow by TomR
, 5 months ago
could not initialize proxy - no Session (through reference chain: java.util.ArrayList[0]->mycom.entities.Invoice["invoiceLines"]->org.hibernate.collection.internal.PersistentBag[0]-> mycom.entities.Good["good"]-> mycom.entities.Good_$$_jvst4f9_c["id"])
via Stack Overflow by Nikolay
, 1 month ago
: org.codehaus.jackson.map.JsonMappingException: java.lang.String cannot be cast to org.joda.time.LocalDateTime (through reference chain: com.my.AccountDetailResponse["registrationDate"])
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)
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 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)

Users with the same issue

You are the first who have seen this exception.

Write tip

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