Struts 2
  1. Struts 2
  2. WW-2523

NPE in dispatcher cleanup when FilterDispatcher is used in a portlet

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Lukasz Lenart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
        Nils-Helge Garli made changes -
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 46501 ] Struts - editable closed status [ 49745 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 44976 ] Struts - editable closed status (temporary) [ 46501 ]
        Torsten Krah made changes -
        Attachment FilterDispatcher.diff [ 13895 ]
        Torsten Krah made changes -
        Attachment stackTrace_failure.txt [ 13894 ]
        Torsten Krah made changes -
        Attachment stackTrace_ok.txt [ 13893 ]
        Nils-Helge Garli made changes -
        Field Original Value New Value
        Affects Version/s 2.1.0 [ 21794 ]
        Affects Version/s 2.0.11 [ 21860 ]
        Nils-Helge Garli created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development