[
https://issues.apache.org/jira/browse/CASSANDRA-5844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Shuler resolved CASSANDRA-5844.
---------------------------------------
Resolution: Invalid
Calling this invalid - upgrade test was completely rewritten, and is going
through another re-write, currently, so errors are being looked after.
> NullPointer exception running upgrade_through_versions_test dtest
> -----------------------------------------------------------------
>
> Key: CASSANDRA-5844
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5844
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.9
> Environment: java version "1.7.0_25"
> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
> Reporter: Daniel Meyer
> Attachments: node1.log, node2.log, node3.log
>
>
> This error is observed while running upgrade_through_versions_test.
> Specifically the error occurs going from 1.2 -> trunk:
> ERROR: Only upgrade part of the cluster, so we have mixed versions when
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Users/danielmeyer/Sources/riptano/cassandra-dtest/dtest.py", line
> 145, in tearDown
> raise AssertionError('Unexpected error in %s node log: %s' % (node.name,
> errors))
> AssertionError: Unexpected error in node3 node log: ['ERROR
> [MigrationStage:1] 2013-08-02 15:12:13,647 CassandraDaemon.java (line 192)
> Exception in thread Thread[MigrationStage:1,5,main]\n']
> The exception found in logs (node3) is as follows:
> java.lang.NullPointerException
> at org.apache.cassandra.db.DefsTable.addColumnFamily(DefsTable.java:510)
> at
> org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:444)
> at org.apache.cassandra.db.DefsTable.mergeSchema(DefsTable.java:354)
> at
> org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:55)
> at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
--
This message was sent by Atlassian JIRA
(v6.2#6252)