org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null

Atlassian JIRA | Piotr Maruszak | 6 years 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

    Please try to add language es_EX following error ocurrs: 2011-09-01 09:11:49,813 [http-8083-8] ERROR errors.GrailsExceptionResolver - Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null at java.lang.Thread.run(Thread.java:662) Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null ... 1 more Caused by: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null at translate.Language.getLocale(Language.groovy:46) at translate.Language$getLocale$3.call(Unknown Source) at translate.AdminController$_addLanguage_closure40.doCall(translate.AdminController:365) at $Proxy12.doInTransaction(Unknown Source) at translate.AdminController.addLanguage(translate.AdminController:364) at translate.AdminController$_closure10_closure66_closure83.doCall(translate.AdminController:94) at translate.AdminController$_closure10_closure66_closure83.doCall(translate.AdminController) at translate.AdminController$_closure9.doCall(translate.AdminController:66) at translate.AdminController.invokeMethod(translate.AdminController) at translate.AdminController$_closure10_closure66.doCall(translate.AdminController:94) at translate.AdminController$_closure10_closure66.call(translate.AdminController) at translate.AjaxRequestProcessor$_closure2.doCall(AjaxRequestProcessor.groovy:47) at translate.AdminController$_closure10.doCall(translate.AdminController:71) at translate.AdminController$_closure10.doCall(translate.AdminController) ... 1 more

    Atlassian JIRA | 6 years ago | Piotr Maruszak
    org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null
  2. 0

    Please try to add language es_EX following error ocurrs: 2011-09-01 09:11:49,813 [http-8083-8] ERROR errors.GrailsExceptionResolver - Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null at java.lang.Thread.run(Thread.java:662) Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null ... 1 more Caused by: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null at translate.Language.getLocale(Language.groovy:46) at translate.Language$getLocale$3.call(Unknown Source) at translate.AdminController$_addLanguage_closure40.doCall(translate.AdminController:365) at $Proxy12.doInTransaction(Unknown Source) at translate.AdminController.addLanguage(translate.AdminController:364) at translate.AdminController$_closure10_closure66_closure83.doCall(translate.AdminController:94) at translate.AdminController$_closure10_closure66_closure83.doCall(translate.AdminController) at translate.AdminController$_closure9.doCall(translate.AdminController:66) at translate.AdminController.invokeMethod(translate.AdminController) at translate.AdminController$_closure10_closure66.doCall(translate.AdminController:94) at translate.AdminController$_closure10_closure66.call(translate.AdminController) at translate.AjaxRequestProcessor$_closure2.doCall(AjaxRequestProcessor.groovy:47) at translate.AdminController$_closure10.doCall(translate.AdminController:71) at translate.AdminController$_closure10.doCall(translate.AdminController) ... 1 more

    Atlassian JIRA | 6 years ago | Piotr Maruszak
    org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [execute] of controller [translate.AdminController] caused exception: java.lang.AssertionError: es_EX. Expression: (locale != null). Values: locale = null
  3. 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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)

    Root Cause Analysis

    1. java.lang.AssertionError

      es_EX. Expression: (locale != null). Values: locale = null

      at translate.Language.getLocale()
    2. translate
      AdminController$_addLanguage_closure40.doCall
      1. translate.Language.getLocale(Language.groovy:46)
      2. translate.Language$getLocale$3.call(Unknown Source)
      3. translate.AdminController$_addLanguage_closure40.doCall(translate.AdminController:365)
      3 frames
    3. Unknown
      $Proxy12.doInTransaction
      1. $Proxy12.doInTransaction(Unknown Source)
      1 frame
    4. translate
      AdminController$_closure10.doCall
      1. translate.AdminController.addLanguage(translate.AdminController:364)
      2. translate.AdminController$_closure10_closure66_closure83.doCall(translate.AdminController:94)
      3. translate.AdminController$_closure10_closure66_closure83.doCall(translate.AdminController)
      4. translate.AdminController$_closure9.doCall(translate.AdminController:66)
      5. translate.AdminController.invokeMethod(translate.AdminController)
      6. translate.AdminController$_closure10_closure66.doCall(translate.AdminController:94)
      7. translate.AdminController$_closure10_closure66.call(translate.AdminController)
      8. translate.AjaxRequestProcessor$_closure2.doCall(AjaxRequestProcessor.groovy:47)
      9. translate.AdminController$_closure10.doCall(translate.AdminController:71)
      10. translate.AdminController$_closure10.doCall(translate.AdminController)
      10 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame