Tapestry
  1. Tapestry
  2. TAPESTRY-2037

NullPointerException caused by many rapid page refreshes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.12
    • Component/s: tapestry-core, tapestry-ioc
    • Labels:
      None
    • Environment:
      jdk 1.5

      Description

      This was reported on the mailing list.

      In certain places, hitting the refresh button rapidly can cause a null pointer exception.

      It is believed this is related to a JDK 1.5 bug:

      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6550283

      Tapestry makes a few uses of ThreadLocal that are consistent with this pattern. ThreadLocals are used to connect service proxies to perthread scope services.

      We will locate all useages of ThreadLocal and, alas, synchronize access to them.

      More discussion: http://markmail.org/message/7bwztu66paz2cfqm

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Howard M. Lewis Ship
              Reporter:
              Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development