java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: Flags = 128

Stack Overflow | user3280320 | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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)
  2. 0

    Recovery a fairly large crawl on crawling013, getting following exception: 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 146.145.120.3 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 168.8.216.16 java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at java.util.Collections$SynchronizedCollection.add(Collections.java:1581) at org.archive.crawler.frontier.BdbFrontier$4.put(BdbFrontier.java:326) at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:375) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:359) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595) Later adding asserts, I see that for the key '146.145.120.3', there is not item in allqueues: Exception in thread "StartNextJob" java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595)

    JIRA | 1 decade ago | Michael Stack
    java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      Flags = 128

      at org.apache.cassandra.db.ClusteringPrefix$Deserializer.prepare()
    2. org.apache.cassandra
      UnfilteredRowIteratorWithLowerBound.computeNext
      1. org.apache.cassandra.db.ClusteringPrefix$Deserializer.prepare(ClusteringPrefix.java:421)[apache-cassandra-3.5.jar:3.5]
      2. org.apache.cassandra.db.UnfilteredDeserializer$CurrentDeserializer.prepareNext(UnfilteredDeserializer.java:172)[apache-cassandra-3.5.jar:3.5]
      3. org.apache.cassandra.db.UnfilteredDeserializer$CurrentDeserializer.hasNext(UnfilteredDeserializer.java:153)[apache-cassandra-3.5.jar:3.5]
      4. org.apache.cassandra.db.columniterator.SSTableIterator$ForwardReader.handlePreSliceData(SSTableIterator.java:96)[apache-cassandra-3.5.jar:3.5]
      5. org.apache.cassandra.db.columniterator.SSTableIterator$ForwardReader.hasNextInternal(SSTableIterator.java:141)[apache-cassandra-3.5.jar:3.5]
      6. org.apache.cassandra.db.columniterator.AbstractSSTableIterator$Reader.hasNext(AbstractSSTableIterator.java:354)[apache-cassandra-3.5.jar:3.5]
      7. org.apache.cassandra.db.columniterator.AbstractSSTableIterator.hasNext(AbstractSSTableIterator.java:229)[apache-cassandra-3.5.jar:3.5]
      8. org.apache.cassandra.db.columniterator.SSTableIterator.hasNext(SSTableIterator.java:32)[apache-cassandra-3.5.jar:3.5]
      9. org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.computeNext(LazilyInitializedUnfilteredRowIterator.java:100)[apache-cassandra-3.5.jar:3.5]
      10. org.apache.cassandra.db.rows.UnfilteredRowIteratorWithLowerBound.computeNext(UnfilteredRowIteratorWithLowerBound.java:93)[apache-cassandra-3.5.jar:3.5]
      11. org.apache.cassandra.db.rows.UnfilteredRowIteratorWithLowerBound.computeNext(UnfilteredRowIteratorWithLowerBound.java:25)[apache-cassandra-3.5.jar:3.5]
      11 frames
    3. Apache Cassandra
      AbstractIterator.hasNext
      1. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.5.jar:3.5]
      2. org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:374)[apache-cassandra-3.5.jar:3.5]
      3. org.apache.cassandra.utils.MergeIterator$ManyToOne.advance(MergeIterator.java:186)[apache-cassandra-3.5.jar:3.5]
      4. org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:155)[apache-cassandra-3.5.jar:3.5]
      5. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.5.jar:3.5]
      5 frames
    4. org.apache.cassandra
      UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext
      1. org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:419)[apache-cassandra-3.5.jar:3.5]
      2. org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:279)[apache-cassandra-3.5.jar:3.5]
      2 frames
    5. Apache Cassandra
      AbstractIterator.hasNext
      1. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.5.jar:3.5]
      1 frame
    6. org.apache.cassandra
      CommitLogReplayer$MutationInitiator$1.runMayThrow
      1. org.apache.cassandra.db.rows.UnfilteredRowIterator.isEmpty(UnfilteredRowIterator.java:70)[apache-cassandra-3.5.jar:3.5]
      2. org.apache.cassandra.db.SinglePartitionReadCommand.withSSTablesIterated(SinglePartitionReadCommand.java:637)[apache-cassandra-3.5.jar:3.5]
      3. org.apache.cassandra.db.SinglePartitionReadCommand.queryMemtableAndDiskInternal(SinglePartitionReadCommand.java:586)[apache-cassandra-3.5.jar:3.5]
      4. org.apache.cassandra.db.SinglePartitionReadCommand.queryMemtableAndDisk(SinglePartitionReadCommand.java:463)[apache-cassandra-3.5.jar:3.5]
      5. org.apache.cassandra.db.SinglePartitionReadCommand.queryStorage(SinglePartitionReadCommand.java:325)[apache-cassandra-3.5.jar:3.5]
      6. org.apache.cassandra.db.ReadCommand.executeLocally(ReadCommand.java:366)[apache-cassandra-3.5.jar:3.5]
      7. org.apache.cassandra.db.ReadCommand.executeInternal(ReadCommand.java:397)[apache-cassandra-3.5.jar:3.5]
      8. org.apache.cassandra.service.pager.AbstractQueryPager.fetchPageInternal(AbstractQueryPager.java:77)[apache-cassandra-3.5.jar:3.5]
      9. org.apache.cassandra.service.pager.SinglePartitionPager.fetchPageInternal(SinglePartitionPager.java:34)[apache-cassandra-3.5.jar:3.5]
      10. org.apache.cassandra.db.view.View.readLocalRows(View.java:565)[apache-cassandra-3.5.jar:3.5]
      11. org.apache.cassandra.db.view.View.getTemporalRowSet(View.java:621)[apache-cassandra-3.5.jar:3.5]
      12. org.apache.cassandra.db.view.ViewManager.pushViewReplicaUpdates(ViewManager.java:136)[apache-cassandra-3.5.jar:3.5]
      13. org.apache.cassandra.db.Keyspace.apply(Keyspace.java:516)[apache-cassandra-3.5.jar:3.5]
      14. org.apache.cassandra.db.Keyspace.applyFromCommitLog(Keyspace.java:409)[apache-cassandra-3.5.jar:3.5]
      15. org.apache.cassandra.db.commitlog.CommitLogReplayer$MutationInitiator$1.runMayThrow(CommitLogReplayer.java:157)[apache-cassandra-3.5.jar:3.5]
      15 frames
    7. Apache Cassandra
      WrappedRunnable.run
      1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[apache-cassandra-3.5.jar:3.5]
      1 frame
    8. Java RT
      Executors$RunnableAdapter.call
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_91]
      1 frame
    9. org.apache.cassandra
      SEPWorker.run
      1. org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164)[apache-cassandra-3.5.jar:3.5]
      2. org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105)[apache-cassandra-3.5.jar:3.5]
      2 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      1 frame