[
https://issues.apache.org/jira/browse/CASSANDRA-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897760#action_12897760
]
Gary Dusbabek commented on CASSANDRA-1378:
------------------------------------------
full error:
ERROR [CompactionExecutor:1] 2010-08-12 08:59:31,088 CassandraDaemon.java (line
82) Uncaught exception in thread Thread[CompactionExecutor:1,5,main]
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at
org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:87)
at
org.apache.cassandra.db.CompactionManager$CompactionExecutor.afterExecute(CompactionManager.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NullPointerException
at
org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:90)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
... 2 more
ERROR [MIGRATION-STAGE:1] 2010-08-12 08:59:31,089 CassandraDaemon.java (line
82) Uncaught exception in thread Thread[MIGRATION-STAGE:1,5,main]
java.util.concurrent.ExecutionException: java.lang.RuntimeException:
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at
org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:87)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:888)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException:
java.lang.NullPointerException
at
org.apache.cassandra.db.migration.Migration.cleanupDeadFiles(Migration.java:246)
at
org.apache.cassandra.db.migration.DropKeyspace.applyModels(DropKeyspace.java:86)
at org.apache.cassandra.db.migration.Migration.apply(Migration.java:156)
at
org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:722)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
... 2 more
Caused by: java.util.concurrent.ExecutionException:
java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at
org.apache.cassandra.db.migration.Migration.cleanupDeadFiles(Migration.java:238)
... 8 more
Caused by: java.lang.NullPointerException
at
org.apache.cassandra.db.CompactionManager$1.call(CompactionManager.java:90)
... 5 more
> add then drop Keyspace without putting anything in it causes exception
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-1378
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1378
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7 beta 1
> Environment: Single node. Both Linux and Windows.
> Reporter: Jeremiah Jordan
> Assignee: Gary Dusbabek
> Priority: Minor
>
> The following from python causes an exception on
> apache-cassandra-2010-08-10_13-08-19-bin.tar.gz and a bunch of earlier builds
> in the 0.7 line:
> socket = TSocket.TSocket(host, 9160)
> transport = TTransport.TFramedTransport(socket)
> protocol = TBinaryProtocol.TBinaryProtocolAccelerated(transport)
> client = Cassandra.Client(protocol)
> transport.open()
> try:
> client.describe_keyspace(dbName)
> except NotFoundException, e:
> keyspaceDef = KsDef(name=dbName,
>
> strategy_class='org.apache.cassandra.locator.RackUnawareStrategy',
> replication_factor=replicationFactor,
> cf_defs=[])
> client.set_keyspace('system')
> client.system_add_keyspace(keyspaceDef)
> try:
> client.describe_keyspace(dbName)
> client.set_keyspace('system')
> client.system_drop_keyspace(dbName)
> except NotFoundException, e:
> pass
> The system_drop_keyspace throws:
> InvalidRequestException(why='java.util.concurrent.ExecutionException:
> java.lang.NullPointerException')
> If I put a system_add_column_family in the middle it doesn't crash.
> I think this broke sometime after apache-cassandra-2010-07-06_13-27-21
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.