cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Dusbabek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-2258) service.SerializationsTest failes under cobertura
Date Mon, 14 Mar 2011 20:55:29 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Dusbabek updated CASSANDRA-2258:
-------------------------------------

    Attachment: v1-0001-fix-cobertura-brokenness-by-forcing-serialVersionUIDs.txt

> service.SerializationsTest failes under cobertura
> -------------------------------------------------
>
>                 Key: CASSANDRA-2258
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2258
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Jonathan Ellis
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.7.5
>
>         Attachments: v1-0001-fix-cobertura-brokenness-by-forcing-serialVersionUIDs.txt
>
>
> ant codecoverage -Dtest.name=SerializationsTest gives
> {noformat}
>     [junit] Testcase: testTreeResponseRead(org.apache.cassandra.service.SerializationsTest):
Caused an ERROR
>     [junit] java.io.InvalidClassException: org.apache.cassandra.dht.BigIntegerToken;
local class incompatible: stream classdesc serialVersionUID = -5833589141319293006, local
class serialVersionUID = 2280189098581028124
>     [junit] java.lang.RuntimeException: java.io.InvalidClassException: org.apache.cassandra.dht.BigIntegerToken;
local class incompatible: stream classdesc serialVersionUID = -5833589141319293006, local
class serialVersionUID = 2280189098581028124
>     [junit] 	at org.apache.cassandra.service.AntiEntropyService$TreeResponseVerbHandler.deserialize(AntiEntropyService.java:634)
>     [junit] 	at org.apache.cassandra.service.SerializationsTest.testTreeResponseRead(SerializationsTest.java:90)
>     [junit] Caused by: java.io.InvalidClassException: org.apache.cassandra.dht.BigIntegerToken;
local class incompatible: stream classdesc serialVersionUID = -5833589141319293006, local
class serialVersionUID = 2280189098581028124
>     [junit] 	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
>     [junit] 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
>     [junit] 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
>     [junit] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
>     [junit] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>     [junit] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
>     [junit] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>     [junit] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>     [junit] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>     [junit] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
>     [junit] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>     [junit] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>     [junit] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>     [junit] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
>     [junit] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>     [junit] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>     [junit] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>     [junit] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
>     [junit] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>     [junit] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>     [junit] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>     [junit] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
>     [junit] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
>     [junit] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
>     [junit] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
>     [junit] 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
>     [junit] 	at org.apache.cassandra.service.AntiEntropyService$TreeResponseVerbHandler.deserialize(AntiEntropyService.java:630)
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message