java.lang.IllegalStateException: Cannot set request attribute - request is not active anymore!

Stack Overflow | Abhay | 4 months 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.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Cannot set request attribute - request is not active anymore!

    at grails.plugin.multitenant.core.servlet.CurrentTenantServletFilter.doFilter()
  2. grails.plugin.multitenant
    CurrentTenantServletFilter.doFilter
    1. grails.plugin.multitenant.core.servlet.CurrentTenantServletFilter.doFilter(CurrentTenantServletFilter.java:53)
    1 frame
  3. com.bq.security
    BqCustomTokenFilter$$EQ0438yG.doFilter
    1. com.bq.security.client.BqCustomTokenFilter$$EQ0438yG.doFilter(BqCustomTokenFilter.groovy:142)
    1 frame
  4. grails.plugin.springsecurity
    DebugFilter.doFilter
    1. grails.plugin.springsecurity.web.filter.DebugFilter.invokeWithWrappedRequest(DebugFilter.java:102)
    2. grails.plugin.springsecurity.web.filter.DebugFilter.doFilter(DebugFilter.java:69)
    2 frames
  5. com.brandseye.cors
    CorsFilter.doFilter
    1. com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:100)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames