java.io.InvalidClassException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Ted Tencza,
  • 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}
    via by Ted Tencza,
    • 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)

    Users with the same issue

    Handemelindo
    1 times, last one,
    Unknown User
    2 times, last one,
    Ghosts
    3 times, last one,
    Hronom
    1 times, last one,
    ajinkya_w
    11 times, last one,
    40 more bugmates