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

NPE in dispatcher cleanup when FilterDispatcher is used in a portlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.11, 2.1.0
    • None
    • None
    • 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

            lukaszlenart Lukasz Lenart
            nilsga Nils-Helge Garli
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: