java.lang.AssertionError

JIRA | Kevin Normoyle | 3 years 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

    This may not repeat. noting in case I repeat it. I have a list of exec expressions that are shortish. I tested all them. Now I'm adding them on and on to a single exec string, each one lengthening the string. Since they all work individually, they should all work concatenated. here's a fail with the chunk 0 problem. It may be the same problem as another jira reports I show some of the execs building up before hand, that don't fail [2014-02-14 21:29:29.059237] [2014-02-14 21:29:29.059265] exec_query parameters: {'str': 'r.hex[c(1,3,5),];'} [2014-02-14 21:29:29.059300] [2014-02-14 21:29:29.064579] exec_query parameters: {'str': 'r.hex[c(1,3,5),];1.23==2.34;'} [2014-02-14 21:29:29.064645] [2014-02-14 21:29:29.068653] exec_query parameters: {'str': 'r.hex[c(1,3,5),];1.23==2.34;1.23<2.34;'} [2014-02-14 21:29:29.068775] [2014-02-14 21:29:29.073870] exec_query parameters: {'str': 'r.hex[c(1,3,5),];1.23==2.34;1.23<2.34;1.23==2.34;'} [2014-02-14 21:29:29.073949] [2014-02-14 21:29:29.078962] exec_query parameters: {'str': 'r.hex[c(1,3,5),];1.23==2.34;1.23<2.34;1.23==2.34;1.23+(r.hex-r.hex);'} [2014-02-14 21:29:29.079029] [2014-02-14 21:29:29.085677] exec_query parameters: {'str': 'r.hex[c(1,3,5),];1.23==2.34;1.23<2.34;1.23==2.34;1.23+(r.hex-r.hex);ifelse(0,r.hex+1,r.hex+2);'} [2014-02-14 21:29:29.085737] [2014-02-14 21:29:29.092871] exec_query parameters: {'str': 'r.hex[c(1,3,5),];1.23==2.34;1.23<2.34;1.23==2.34;1.23+(r.hex-r.hex);ifelse(0,r.hex+1,r.hex+2);a=c(11,22,33,44,55,66); a[c(2,6,1),];'} [2014-02-14 21:29:29.092928] ERROR Error: Missing chunk 0 for $04ffd2010000ffffffffc6a78afded1f03a73a43e91a6341e9f3$ [2014-02-14 21:29:29.103204] 09:29:29.097 # Session ERRR WATER: [2014-02-14 21:29:29.103396] + java.lang.AssertionError [2014-02-14 21:29:29.103467] + at water.fvec.Vec.chunkIdx(Vec.java:430) [2014-02-14 21:29:29.103517] + at water.fvec.Vec.elem2BV(Vec.java:483) [2014-02-14 21:29:29.103565] + at water.fvec.Vec.chunk(Vec.java:494) [2014-02-14 21:29:29.103612] + at water.fvec.Vec.at(Vec.java:502) [2014-02-14 21:29:29.103657] + at water.exec.ASTCat.apply(ASTOp.java:939) [2014-02-14 21:29:29.103703] + at water.exec.ASTApply.exec(AST.java:193) [2014-02-14 21:29:29.103752] + at water.exec.ASTAssign.exec(AST.java:415) [2014-02-14 21:29:29.103797] + at water.exec.ASTStatement.exec(AST.java:69) [2014-02-14 21:29:29.103843] + at water.exec.Exec2.exec(Exec2.java:100) [2014-02-14 21:29:29.103888] + at water.api.Exec2.serve(Exec2.java:34) [2014-02-14 21:29:29.103935] + at water.api.Request.serveGrid(Request.java:129) [2014-02-14 21:29:29.103982] + at water.Request2.superServeGrid(Request2.java:466) [2014-02-14 21:29:29.104030] + at water.api.Exec2.serveGrid(Exec2.java:71) [2014-02-14 21:29:29.104077] + at water.api.Request.serve(Request.java:108) [2014-02-14 21:29:29.104125] + at water.api.RequestServer.serve(RequestServer.java:315) [2014-02-14 21:29:29.104175] + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421) [2014-02-14 21:29:29.104224] + at java.lang.Thread.run(Thread.java:744) [2014-02-14 21:29:29.104269] ERROR

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.AssertionError
  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

      No message provided

      at water.fvec.Vec.chunkIdx()
    2. water.fvec
      Vec.at
      1. water.fvec.Vec.chunkIdx(Vec.java:430)
      2. water.fvec.Vec.elem2BV(Vec.java:483)
      3. water.fvec.Vec.chunk(Vec.java:494)
      4. water.fvec.Vec.at(Vec.java:502)
      4 frames
    3. water.exec
      Exec2.exec
      1. water.exec.ASTCat.apply(ASTOp.java:939)
      2. water.exec.ASTApply.exec(AST.java:193)
      3. water.exec.ASTAssign.exec(AST.java:415)
      4. water.exec.ASTStatement.exec(AST.java:69)
      5. water.exec.Exec2.exec(Exec2.java:100)
      5 frames
    4. water.api
      Request.serveGrid
      1. water.api.Exec2.serve(Exec2.java:34)
      2. water.api.Request.serveGrid(Request.java:129)
      2 frames
    5. water
      Request2.superServeGrid
      1. water.Request2.superServeGrid(Request2.java:466)
      1 frame
    6. water.api
      RequestServer.serve
      1. water.api.Exec2.serveGrid(Exec2.java:71)
      2. water.api.Request.serve(Request.java:108)
      3. water.api.RequestServer.serve(RequestServer.java:315)
      3 frames
    7. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame