java.io.InvalidClassException: com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205

Atlassian JIRA | Ted Tencza | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Since we allow customized elastic images on Bamboo, we should have instructions for customers on how to update their elastic images when Studio gets upgraded. Otherwise, they'll encounter errors with their agents not starting up: {code} Exception in thread "main" java.io.InvalidClassException: com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at com.atlassian.urlfetcher.URLFetcherImpl.fetchSerializedObject(URLFetcherImpl.java:22) at com.atlassian.aws.ec2.EC2Utils.getUserData(EC2Utils.java:65) at com.atlassian.bamboo.agent.elastic.client.RetrieveMetaData.main(RetrieveMetaData.java:25) {code} Also, this [page|http://confluence.atlassian.com/display/JIRASTUDIO/Getting+Started+with+Bamboo+in+JIRA+Studio] probably also needs to be updated as it seems to suggest that customers can only use the default elastic image: {quote} * Bamboo in JIRA Studio only uses the default image supplied by Atlassian. Hence, you cannot customise the capabilities of elastic agents for Bamboo in JIRA Studio. {quote}

    Atlassian JIRA | 7 years ago | Ted Tencza
    java.io.InvalidClassException: com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205
  2. 0

    Since we allow customized elastic images on Bamboo, we should have instructions for customers on how to update their elastic images when Studio gets upgraded. Otherwise, they'll encounter errors with their agents not starting up: {code} Exception in thread "main" java.io.InvalidClassException: com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at com.atlassian.urlfetcher.URLFetcherImpl.fetchSerializedObject(URLFetcherImpl.java:22) at com.atlassian.aws.ec2.EC2Utils.getUserData(EC2Utils.java:65) at com.atlassian.bamboo.agent.elastic.client.RetrieveMetaData.main(RetrieveMetaData.java:25) {code} Also, this [page|http://confluence.atlassian.com/display/JIRASTUDIO/Getting+Started+with+Bamboo+in+JIRA+Studio] probably also needs to be updated as it seems to suggest that customers can only use the default elastic image: {quote} * Bamboo in JIRA Studio only uses the default image supplied by Atlassian. Hence, you cannot customise the capabilities of elastic agents for Bamboo in JIRA Studio. {quote}

    Atlassian JIRA | 7 years ago | Ted Tencza
    java.io.InvalidClassException: com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205
  3. 0

    Bug 101476 – "Serializable class without serialVersionUID" setting and writeReplace

    eclipse.org | 11 months ago
    java.io.InvalidClassException: sertest.ExternalizableTest; local class incompatible: stream classdesc serialVersionUID = -1, local class serialVersionUID = 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Migrating_Spring31_Hibernate4 - jgk-spring-recipes - spring 3.1.0.RC1 and hibernate 4.0.0.CR7 - Spring recipes - Google Project Hosting

    google.com | 1 year ago
    java.io.InvalidClassException: org.springframework.security.core.context.SecurityContextImpl; local class incompatible: stream classdesc serialVersionUID = -8599415456903658526, local class serialVersionUID = 310
  6. 0

    Connection Interrupted when opening a Communica... | SCN

    sap.com | 1 year ago
    java.io.InvalidClassException: com.sap.aii.ibdir.bom.cpa.Channel; local class incompatible: stream classdesc serialVersionUID = 366016170231986765, local class serialVersionUID = 2790972994638010697
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. java.io.InvalidClassException

    com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl; local class incompatible: stream classdesc serialVersionUID = 8007425760037335237, local class serialVersionUID = -3465981521537969205

    at java.io.ObjectStreamClass.initNonProxy()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
    2. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
    3. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    4. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
    5. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    6. java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    6 frames
  3. com.atlassian.urlfetcher
    URLFetcherImpl.fetchSerializedObject
    1. com.atlassian.urlfetcher.URLFetcherImpl.fetchSerializedObject(URLFetcherImpl.java:22)
    1 frame
  4. com.atlassian.aws
    EC2Utils.getUserData
    1. com.atlassian.aws.ec2.EC2Utils.getUserData(EC2Utils.java:65)
    1 frame
  5. com.atlassian.bamboo
    RetrieveMetaData.main
    1. com.atlassian.bamboo.agent.elastic.client.RetrieveMetaData.main(RetrieveMetaData.java:25)
    1 frame