Merlinb54:Ferret throws NPE while doing Accessibility testing of SwingSet2

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • beta
    • x86
    • solaris
    • Verified

      While doing Accessibility testing of SwingSet2 demo with Ferret Accessibility tool, Null Pointer Exception occurs on the Console.

      Steps to reproduce:

      1) Launch SwingSet2 demo with Ferret Accessibility tool on Sol IA2.8 (32bit) or Sol Sparc2.7 (64bit).
      2) After both SwingSet2 and Ferret have launched, select 'Track Mouse' menu item from 'Settings' menu of Ferret.
      3) Click on a frame in Internal Frames demo of SwingSet2.
      The following exception occurs on the console:


      java.lang.NullPointerException
              at com.sun.java.accessibility.util.EventQueueMonitor.getAccessibleAt(EventQueueMonitor.java:442)
              at Ferret.updateAccessibleAtMouse(Ferret.java:265)
              at Ferret.timerTimeout(Ferret.java:181)
              at Ferret.actionPerformed(Ferret.java:175)
              at javax.swing.Timer.fireActionPerformed(Timer.java:254)
              at javax.swing.Timer$DoPostEvent.run(Timer.java:188)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)


      %java -version

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b54)
      Java HotSpot(TM) Client VM (build 1.4beta-B54, mixed mode)


      The NPE doesn't occur all the time. I was able to reproduce it in 2 out of 5 attempts that i made.


      ruchika.mehdiratta@Eng 2001-03-06

            Assignee:
            Lynn Monsanto (Inactive)
            Reporter:
            Ruchika Mehdiratta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: