You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Maciej Lisowski <m....@powerprice.pl> on 2010/08/03 16:47:25 UTC

unable to start cassandra

Hi all, 

I'm new here and new with Cassandra and I've got problem to run it (v.
0.6.4) with jdk1.6.0_21. 

When I type "cassandra" to run it I get error:

 

ERROR 16:23:53,803 Uncaught exception in thread
Thread[ROW-MUTATION-STAGE:5,5,main]

java.util.concurrent.ExecutionException: java.lang.RuntimeException:
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(De
buggableThreadPoolExecutor.java:86)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:888)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.RuntimeException: java.lang.NullPointerException

        at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        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.ja
va:886)

        ... 2 more

Caused by: java.lang.NullPointerException

        at
org.apache.cassandra.db.Table$TableMetadata.getColumnFamilyId(Table.java:131
)

        at org.apache.cassandra.db.Table.getColumnFamilyId(Table.java:364)

        at
org.apache.cassandra.db.commitlog.CommitLog$4.runMayThrow(CommitLog.java:256
)

        at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)

        ... 6 more

 

I was looking for info what could happen but I didn't find. can someone help
me with this? 

If I have to send something more (configuration or whatever) let me know 

 

Maciek


RE: unable to start cassandra

Posted by Maciej Lisowski <m....@powerprice.pl>.
Ok, problem solved - I've removed all from logs and data directories run it
with sun jdk and for now everything works fine. 

 

From: Maciej Lisowski [mailto:m.lisowski@powerprice.pl] 
Sent: Tuesday, August 03, 2010 4:47 PM
To: user@cassandra.apache.org
Subject: unable to start cassandra

 

Hi all, 

I'm new here and new with Cassandra and I've got problem to run it (v.
0.6.4) with jdk1.6.0_21. 

When I type "cassandra" to run it I get error:

 

ERROR 16:23:53,803 Uncaught exception in thread
Thread[ROW-MUTATION-STAGE:5,5,main]

java.util.concurrent.ExecutionException: java.lang.RuntimeException:
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(De
buggableThreadPoolExecutor.java:86)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:888)

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)

        at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.RuntimeException: java.lang.NullPointerException

        at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)

        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

        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.ja
va:886)

        ... 2 more

Caused by: java.lang.NullPointerException

        at
org.apache.cassandra.db.Table$TableMetadata.getColumnFamilyId(Table.java:131
)

        at org.apache.cassandra.db.Table.getColumnFamilyId(Table.java:364)

        at
org.apache.cassandra.db.commitlog.CommitLog$4.runMayThrow(CommitLog.java:256
)

        at
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)

        ... 6 more

 

I was looking for info what could happen but I didn't find. can someone help
me with this? 

If I have to send something more (configuration or whatever) let me know 

 

Maciek