java.lang.AssertionError: 9:8: error: did not generate token ""e""

GitHub | Stephan202 | 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

    Regression in handling multi-line varargs

    GitHub | 9 months ago | Stephan202
    java.lang.AssertionError: 9:8: error: did not generate token ""e""
  2. 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)
  3. 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      9:8: error: did not generate token ""e""

      at com.google.googlejavaformat.OpsBuilder.sync()
    2. com.google.googlejavaformat
      JavaInputAstVisitor.visit
      1. com.google.googlejavaformat.OpsBuilder.sync(OpsBuilder.java:188)
      2. com.google.googlejavaformat.java.JavaInputAstVisitor.sync(JavaInputAstVisitor.java:3622)
      3. com.google.googlejavaformat.java.JavaInputAstVisitor.visit(JavaInputAstVisitor.java:1480)
      3 frames
    3. JDT Core
      ASTNode.accept
      1. org.eclipse.jdt.core.dom.NumberLiteral.accept0(NumberLiteral.java:136)
      2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      2 frames
    4. com.google.googlejavaformat
      JavaInputAstVisitor.visit
      1. com.google.googlejavaformat.java.JavaInputAstVisitor.argList(JavaInputAstVisitor.java:3011)
      2. com.google.googlejavaformat.java.JavaInputAstVisitor.addArguments(JavaInputAstVisitor.java:2995)
      3. com.google.googlejavaformat.java.JavaInputAstVisitor.visit(JavaInputAstVisitor.java:731)
      3 frames
    5. JDT Core
      ASTNode.accept
      1. org.eclipse.jdt.core.dom.ClassInstanceCreation.accept0(ClassInstanceCreation.java:302)
      2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      2 frames
    6. com.google.googlejavaformat
      JavaInputAstVisitor.visit
      1. com.google.googlejavaformat.java.JavaInputAstVisitor.declareOne(JavaInputAstVisitor.java:3303)
      2. com.google.googlejavaformat.java.JavaInputAstVisitor.addDeclaration(JavaInputAstVisitor.java:3401)
      3. com.google.googlejavaformat.java.JavaInputAstVisitor.visit(JavaInputAstVisitor.java:1007)
      3 frames
    7. JDT Core
      ASTNode.accept
      1. org.eclipse.jdt.core.dom.FieldDeclaration.accept0(FieldDeclaration.java:281)
      2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      2 frames
    8. com.google.googlejavaformat
      JavaInputAstVisitor.visit
      1. com.google.googlejavaformat.java.JavaInputAstVisitor.addBodyDeclarations(JavaInputAstVisitor.java:3474)
      2. com.google.googlejavaformat.java.JavaInputAstVisitor.visit(JavaInputAstVisitor.java:1957)
      2 frames
    9. JDT Core
      ASTNode.accept
      1. org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:453)
      2. org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2711)
      2 frames
    10. com.google.googlejavaformat
      FormatFileCallable.call
      1. com.google.googlejavaformat.java.JavaInputAstVisitor.visit(JavaInputAstVisitor.java:404)
      2. com.google.googlejavaformat.java.Formatter.format(Formatter.java:122)
      3. com.google.googlejavaformat.java.Formatter.getFormatReplacements(Formatter.java:188)
      4. com.google.googlejavaformat.java.Formatter.formatSource(Formatter.java:166)
      5. com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:55)
      6. com.google.googlejavaformat.java.FormatFileCallable.call(FormatFileCallable.java:28)
      6 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames