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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.