java.lang.AssertionError

GitHub | claudio-dalicandro | 8 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

      No message provided

      at org.elixir_lang.psi.impl.ElixirPsiImplUtil.fullyQualifiedName()
    2. org.elixir_lang.psi
      ElixirUnmatchedQualifiedAliasImpl.fullyQualifiedName
      1. org.elixir_lang.psi.impl.ElixirPsiImplUtil.fullyQualifiedName(ElixirPsiImplUtil.java:2015)
      2. org.elixir_lang.psi.impl.ElixirUnmatchedQualifiedAliasImpl.fullyQualifiedName(ElixirUnmatchedQualifiedAliasImpl.java:51)
      2 frames
    3. org.elixir_lang.reference
      Module.multiResolve
      1. org.elixir_lang.reference.Module.resolvableName(Module.java:38)
      2. org.elixir_lang.reference.Module.multiResolve(Module.java:165)
      2 frames
    4. IDEA
      PsiMultiReference$1.compare
      1. com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.a(PsiMultiReference.java:62)
      2. com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.access$000(PsiMultiReference.java:37)
      3. com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference$1.compare(PsiMultiReference.java:46)
      4. com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference$1.compare(PsiMultiReference.java:38)
      4 frames
    5. Java RT
      Arrays.sort
      1. java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
      2. java.util.TimSort.sort(TimSort.java:220)
      3. java.util.Arrays.sort(Arrays.java:1438)
      3 frames
    6. IDEA
      ApplicationImpl$2.run
      1. com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.a(PsiMultiReference.java:81)
      2. com.intellij.psi.impl.source.resolve.reference.impl.PsiMultiReference.getRangeInElement(PsiMultiReference.java:97)
      3. com.intellij.psi.ReferenceRange.getRanges(ReferenceRange.java:38)
      4. com.intellij.codeInsight.completion.CompletionData.getReferencePrefix(CompletionData.java:161)
      5. com.intellij.codeInsight.completion.CompletionData.findPrefixStatic(CompletionData.java:192)
      6. com.intellij.codeInsight.completion.CompletionData.findPrefixStatic(CompletionData.java:203)
      7. com.intellij.codeInsight.completion.impl.CompletionServiceImpl.createResultSet(CompletionServiceImpl.java:91)
      8. com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:80)
      9. com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:110)
      10. com.intellij.codeInsight.completion.CompletionProgressIndicator.a(CompletionProgressIndicator.java:776)
      11. com.intellij.codeInsight.completion.CompletionProgressIndicator.access$500(CompletionProgressIndicator.java:90)
      12. com.intellij.codeInsight.completion.CompletionProgressIndicator$1CalculateItems.run(CompletionProgressIndicator.java:758)
      13. com.intellij.codeInsight.completion.AsyncCompletion.a(CompletionThreading.java:87)
      14. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:848)
      15. com.intellij.codeInsight.completion.AsyncCompletion.b(CompletionThreading.java:84)
      16. com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
      17. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494)
      18. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
      19. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      20. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
      21. com.intellij.codeInsight.completion.AsyncCompletion.a(CompletionThreading.java:82)
      22. com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:307)
      22 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames