Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4018285

NullPointerException while closing window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • 1.0, 1.1
    • client-libs
    • None
    • 1.1
    • generic, sparc
    • solaris_2.5
    • Not verified

      Two people have reported problems closing the JavaTest windows and getting
      NullPointerExceptions. One (mej@kindra) sent the attached stack trace:

      I have not been able to recreate the bug personally. I have tried using
      OpenWindows, CDE/OpenWindows and CDE. Nevertheless, the fact that two people
      report it lends credibility to their being some sort of problem.

      A copy of JavaTest is available in /usr/sqe/builds/sqe-tools-102-int.
      It is slightly newer than the one these folks have, but not much, and anyway,
      the stacktrace seems to be deep in AWT land, so I hope (!) the problem
      is not mine.


      ---------------------------
      Jon

      for the jdk1.1 and jck1.1

      when I do
      java javasoft.sqe.harness.CompareTool

      and then try to quit using the quit button it will not quit.
      at the window where I started the command, i have the following
      information:

      Exception occurred during event handling:
      java.lang.NullPointerException
      at sun.awt.motif.MComponentPeer.dispose(MComponentPeer.java:203)
      at sun.awt.motif.MDialogPeer.dispose(MDialogPeer.java:78)
      at java.awt.Component.removeNotify(Component.java)
      at java.awt.Container.removeNotify(Container.java)
      at java.awt.Window.dispose(Window.java)
      at java.awt.Frame.dispose(Frame.java)
      at javasoft.sqe.harness.CompareFrame.handleEvent(CompareFrame.java:112)
      at java.awt.Window.postEvent(Window.java)
      at java.awt.Component.dispatchEvent(Component.java)
      at java.awt.Window.dispatchEvent(Window.java)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:109)

      ------------------------
      I'm launching the harness with this:
      %java -ms10m -m30m javasoft.sqe.harness.Main
      I open a jtp file and then exit. You should see the NullPointerException and the harness hasn't exited. It appears the problem only happens when you load a jtp file and then exit. -- Brian Lichtenwalter

            gsaab Georges Saab
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: