java.lang.IllegalStateException: Not found the servlet request, not web scope now?

GitHub | marevol | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Failed to update clickCounts

    GitHub | 3 months ago | marevol
    java.lang.IllegalStateException: Not found the servlet request, not web scope now?
  2. 0

    Ignore ClientAbortException

    GitHub | 10 months ago | marevol
    java.lang.IllegalStateException: Failed to download the input stream: {fess-crawler.log, application/octet-stream, {Content-Disposition=[Ljava.la ng.String;@4a4b59bd}}
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Remove NPE from ContainerNotAvailableException on debug level loggging

    GitHub | 10 months ago | marevol
    org.codelibs.fess.exception.ContainerNotAvailableException: java.lang.NullPointerException
  5. 0

    admin page synonym data can't delete

    GitHub | 7 months ago | ma2tani
    org.lastaflute.web.token.exception.DoubleSubmitVerifyTokenBeforeValidationException: Look! Read the message below. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * The verifyToken() was called before validate() in action. [Advice] The verifyToken() should be after validate(). The verifyToken() deletes session token if success, so it may be token-not-found exception if validation error. (validation error's response may need session token) For example: (x): public HtmlResponse update(Integer memberId) { verifyToken(...); // *Bad: session token is deleted here validate(form, messages -> {}, () -> { // may be this exception if validation error return asHtml(path_...); // the html may need token... }); ... } (o): public HtmlResponse update(Integer memberId) { validate(form, messages -> {}, () -> { return asHtml(path_...); // session token remains }); verifyToken(...); // Good ... } [Execute Method] public HtmlResponse AdminDictSynonymAction@delete(EditForm) [Requested Token] opt:{e4670a3200e0e013595607123ce05a53} [Saved Token] opt:{{class org.codelibs.fess.app.web.admin.dict.synonym.AdminDictSynonymAction=e4670a3200e0e013595607123ce05a53, class org.codelibs.fess.app.web.admin.fileconfig.AdminFileconfigAction=d2d3aa563436c7898342874242e52b8f}} * * * * * * * * * */

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not found the servlet request, not web scope now?

      at org.lastaflute.web.util.LaRequestUtil.lambda$getOptionalRequest$0()
    2. org.lastaflute.web
      LaRequestUtil.lambda$getOptionalRequest$0
      1. org.lastaflute.web.util.LaRequestUtil.lambda$getOptionalRequest$0(LaRequestUtil.java:46)[lastaflute-0.8.8.jar:?]
      1 frame
    3. org.dbflute.optional
      OptionalObject.get
      1. org.dbflute.optional.BaseOptional.directlyGet(BaseOptional.java:120)[dbflute-runtime-1.1.2.jar:?]
      2. org.dbflute.optional.OptionalObject.get(OptionalObject.java:104)[dbflute-runtime-1.1.2.jar:?]
      2 frames
    4. org.lastaflute.web
      TypicalLoginAssist.logout
      1. org.lastaflute.web.util.LaRequestUtil.getRequest(LaRequestUtil.java:36)[lastaflute-0.8.8.jar:?]
      2. org.lastaflute.web.servlet.session.SimpleSessionManager.getRequest(SimpleSessionManager.java:361)[lastaflute-0.8.8.jar:?]
      3. org.lastaflute.web.servlet.session.SimpleSessionManager.getSessionExisting(SimpleSessionManager.java:369)[lastaflute-0.8.8.jar:?]
      4. org.lastaflute.web.servlet.session.SimpleSessionManager.removeAttribute(SimpleSessionManager.java:208)[lastaflute-0.8.8.jar:?]
      5. org.lastaflute.web.login.TypicalLoginAssist.logout(TypicalLoginAssist.java:668)[lastaflute-0.8.8.jar:?]
      5 frames
    5. org.codelibs.fess
      RoleQueryHelper.lambda$3
      1. org.codelibs.fess.helper.RoleQueryHelper.lambda$3(RoleQueryHelper.java:138)[classes/:?]
      1 frame
    6. org.dbflute.optional
      OptionalObject.ifPresent
      1. org.dbflute.optional.BaseOptional.callbackIfPresent(BaseOptional.java:105)[dbflute-runtime-1.1.2.jar:?]
      2. org.dbflute.optional.OptionalObject.ifPresent(OptionalObject.java:94)[dbflute-runtime-1.1.2.jar:?]
      2 frames
    7. org.codelibs.fess
      AggregateLogJob$execute.call
      1. org.codelibs.fess.helper.RoleQueryHelper.build(RoleQueryHelper.java:138)[classes/:?]
      2. org.codelibs.fess.app.service.SearchService.lambda$5(SearchService.java:241)[classes/:?]
      3. org.codelibs.fess.es.client.FessEsClient.search(FessEsClient.java:595)[classes/:?]
      4. org.codelibs.fess.es.client.FessEsClient.getDocumentList(FessEsClient.java:691)[classes/:?]
      5. org.codelibs.fess.es.client.FessEsClient.getDocumentList(FessEsClient.java:665)[classes/:?]
      6. org.codelibs.fess.app.service.SearchService.getDocumentListByDocIds(SearchService.java:239)[classes/:?]
      7. org.codelibs.fess.helper.SearchLogHelper.lambda$15(SearchLogHelper.java:313)[classes/:?]
      8. org.codelibs.fess.app.service.SearchService.bulkUpdate(SearchService.java:275)[classes/:?]
      9. org.codelibs.fess.helper.SearchLogHelper.processClickLogQueue(SearchLogHelper.java:311)[classes/:?]
      10. org.codelibs.fess.helper.SearchLogHelper.storeSearchLog(SearchLogHelper.java:152)[classes/:?]
      11. org.codelibs.fess.job.AggregateLogJob.execute(AggregateLogJob.java:33)[classes/:?]
      12. org.codelibs.fess.job.AggregateLogJob$execute.call(Unknown Source)[classes/:?]
      12 frames
    8. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)[groovy-all-2.4.8.jar:2.4.8]
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)[groovy-all-2.4.8.jar:2.4.8]
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)[groovy-all-2.4.8.jar:2.4.8]
      3 frames
    9. Unknown
      Script1.run
      1. Script1.run(Script1.groovy:1)[shell:?]
      1 frame
    10. Groovy
      GroovyShell.evaluate
      1. groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)[groovy-all-2.4.8.jar:2.4.8]
      2. groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)[groovy-all-2.4.8.jar:2.4.8]
      3. groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)[groovy-all-2.4.8.jar:2.4.8]
      3 frames
    11. org.codelibs.fess
      ScriptExecutorJob.run
      1. org.codelibs.fess.util.GroovyUtil.evaluate(GroovyUtil.java:41)[classes/:?]
      2. org.codelibs.fess.job.impl.GroovyExecutor.execute(GroovyExecutor.java:31)[classes/:?]
      3. org.codelibs.fess.app.job.ScriptExecutorJob.run(ScriptExecutorJob.java:91)[classes/:?]
      3 frames
    12. org.lastaflute.job
      Cron4jTask.execute
      1. org.lastaflute.job.LaJobRunner.actuallyRun(LaJobRunner.java:169)[lasta-job-0.2.5.jar:?]
      2. org.lastaflute.job.LaJobRunner.doRun(LaJobRunner.java:154)[lasta-job-0.2.5.jar:?]
      3. org.lastaflute.job.LaJobRunner.run(LaJobRunner.java:118)[lasta-job-0.2.5.jar:?]
      4. org.lastaflute.job.cron4j.Cron4jTask.runJob(Cron4jTask.java:150)[lasta-job-0.2.5.jar:?]
      5. org.lastaflute.job.cron4j.Cron4jTask.doExecute(Cron4jTask.java:137)[lasta-job-0.2.5.jar:?]
      6. org.lastaflute.job.cron4j.Cron4jTask.execute(Cron4jTask.java:101)[lasta-job-0.2.5.jar:?]
      6 frames
    13. it.sauronsoftware.cron4j
      TaskExecutor$Runner.run
      1. it.sauronsoftware.cron4j.TaskExecutor$Runner.run(Unknown Source)[cron4j-2.2.5.jar:?]
      1 frame
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_112]
      1 frame