java.lang.AssertionError: null

Google Groups | Anubhav Kale | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Repairs at scale in Cassandra 2.1.13

    Google Groups | 8 months ago | Anubhav Kale
    java.lang.AssertionError: null
  2. 0

    I just updated my laptop to Cassandra 2.1 and created a fresh data folder. When trying to run my automated tests i get a lot these exceptions in the Cassandra log: {code} ERROR [SharedPool-Worker-1] 2014-09-23 12:59:17,812 ErrorMessage.java:218 - Unexpected exception during request java.lang.AssertionError: null at org.apache.cassandra.db.composites.CompoundDenseCellNameType.create(CompoundDenseCellNameType.java:57) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.Constants$Setter.execute(Constants.java:313) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey(UpdateStatement.java:91) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.statements.BatchStatement.addStatementMutations(BatchStatement.java:235) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.statements.BatchStatement.getMutations(BatchStatement.java:181) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:283) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:269) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:264) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:187) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:206) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:118) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:422) [apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:318) [apache-cassandra-2.1.0.jar:2.1.0] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103) [netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:31) [netty-all-4.0.20.Final.jar:4.0.20.Final] at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:323) [netty-all-4.0.20.Final.jar:4.0.20.Final] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_67] at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:163) [apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:103) [apache-cassandra-2.1.0.jar:2.1.0] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67] ERROR [Thrift:9] 2014-09-23 12:59:17,823 CustomTThreadPoolServer.java:219 - Error occurred during processing of message. java.lang.ClassCastException: org.apache.cassandra.db.composites.BoundedComposite cannot be cast to org.apache.cassandra.db.composites.CellName at org.apache.cassandra.db.composites.AbstractCellNameType.cellFromByteBuffer(AbstractCellNameType.java:170) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.thrift.CassandraServer.deleteColumnOrSuperColumn(CassandraServer.java:936) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.thrift.CassandraServer.createMutationList(CassandraServer.java:860) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.thrift.CassandraServer.batch_mutate(CassandraServer.java:971) ~[apache-cassandra-2.1.0.jar:2.1.0] at org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.getResult(Cassandra.java:3996) ~[apache-cassandra-thrift-2.1.0.jar:2.1.0] at org.apache.cassandra.thrift.Cassandra$Processor$batch_mutate.getResult(Cassandra.java:3980) ~[apache-cassandra-thrift-2.1.0.jar:2.1.0] at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) ~[libthrift-0.9.1.jar:0.9.1] at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) ~[libthrift-0.9.1.jar:0.9.1] at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:201) ~[apache-cassandra-2.1.0.jar:2.1.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67] {code} I cannot say what is causing these. So I am posting this as it is for now, hoping somebody already knows what the issue is. - Currently CQL and thrift is running side by side. - Many of the CQL tables use compact storage. I could dig deeper and try to isolate the cause if necessary.

    Apache's JIRA Issue Tracker | 3 years ago | Christian Spriegel
    java.lang.AssertionError: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    3.0.8 AssertionError

    Google Groups | 4 months ago | sfes...@gmail.com
    java.lang.AssertionError: null
  5. 0

    [Solr-user] Re: SolrTestCaseJ4 Error: "java.lang.RuntimeException: java.io.IOException: Can't find resource..." - Grokbase

    grokbase.com | 1 year ago
    java.lang.AssertionError: fix your classpath to have tests-framework.jar before lucene-core.jar* at __randomizedtesting.SeedInfo.seed([50225DA1F52F32BB]:0) at org.apache.lucene.util.TestRuleSetupAndRestoreClassEnv.before(TestRuleSetupAndRestoreClassEnv.java:189) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      null

      at org.apache.cassandra.transport.ServerConnection.applyStateTransition()
    2. org.apache.cassandra
      Message$Dispatcher.channelRead0
      1. org.apache.cassandra.transport.ServerConnection.applyStateTransition(ServerConnection.java:100)[apache-cassandra-2.1.14.jar:2.1.14]
      2. org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:442)[apache-cassandra-2.1.14.jar:2.1.14]
      3. org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:335)[apache-cassandra-2.1.14.jar:2.1.14]
      3 frames
    3. Netty
      AbstractChannelHandlerContext$8.run
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[netty-all-4.0.23.Final.jar:4.0.23.Final]
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)[netty-all-4.0.23.Final.jar:4.0.23.Final]
      3. io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32)[netty-all-4.0.23.Final.jar:4.0.23.Final]
      4. io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324)[netty-all-4.0.23.Final.jar:4.0.23.Final]
      4 frames
    4. Java RT
      Executors$RunnableAdapter.call
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_65]
      1 frame
    5. org.apache.cassandra
      SEPWorker.run
      1. org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164)[apache-cassandra-2.1.14.jar:2.1.14]
      2. org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105)[apache-cassandra-2.1.14.jar:2.1.14]
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_65]
      1 frame