Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2037

NullPointerException caused by many rapid page refreshes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 5.0.7
    • 5.0.12
    • tapestry-core, tapestry-ioc
    • None
    • 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

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              hlship Howard Lewis Ship
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: