Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1812

Use of RequestScopedCache for removing InterceptionDecorationContext is causing problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.9.Final, 3.0.0.Alpha4
    • 2.2.7.Final
    • None
    • None

      A user gets IllegalStateException if the method HttpSession.invalidate() is invoked inside an intercepted method (see the forum reference). This is likely caused by the fact that RequestScopedCache.endRequest() is also called during HttpContextLifecycle.sessionDestroyed(HttpSession) and so the current stack is removed before the invocation finishes.

              rhn-engineering-jharting Jozef Hartinger
              mkouba@redhat.com Martin Kouba
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: