java.lang.IllegalStateException

Not found the servlet request, not web scope now?

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21467

  • via GitHub by marevol
    , 5 months ago
    Not found the servlet request, not web scope now?
  • via Google Groups by OcpSoft Support Forums, 1 month ago
    Request is within the scope of a filter or servlet that does not support asynchronous operations
  • Request is within the scope of a filter or servlet that does not support asynchronous operations
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.