Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2523

NPE in dispatcher cleanup when FilterDispatcher is used in a portlet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.11, 2.1.0
    • Fix Version/s: Future
    • Labels:
      None
    • Environment:

      JBoss Portal 2.6.4, Struts 2.1.1

      Description

      When the FilterDispatcher is configured in web.xml, it does cleanup first, then JSR168Dispatcher does cleanup, and for some reason, the ThreadLocal variable (the actual ThreadLocal variable, not the value it contain) is null. I don't know if this is an issue only in JBoss.

        Attachments

        1. FilterDispatcher.diff
          2 kB
          Torsten Krah
        2. stackTrace_failure.txt
          13 kB
          Torsten Krah
        3. stackTrace_ok.txt
          4 kB
          Torsten Krah

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nilsga Nils-Helge Garli
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: