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

Java throws NullPointerException when select a test from JavaTest tool

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.5
    • CPU:
      x86
    • OS:
      windows_95
    • Verification:
      Verified

      Description


      john.bui@eng 1997-10-29

      - jdk115f: Regression test failed. Java throws NullPointerException when select a test
      from the JavaTest menu. This works fine on Solaris.


      Here are the error messages:

      E:\jtpfiles\f5dip114ajit57jdk>D:\jdk115f\bin\java -ms10m javasoft.sqe.harness.Main
      Exception occurred during event dispatching:
      java.lang.NullPointerException: invalid peer
              at sun.awt.windows.WListPeer.getSelectedIndexes(WListPeer.java:48)
              at java.awt.List.removeNotify(List.java:179)
              at java.awt.Container.removeNotify(Container.java:1147)
              at java.awt.Window.dispose(Window.java:177)
              at javasoft.sqe.gui.TFChoiceDialog.done(TextFieldWithChoice.java:260)
              at javasoft.sqe.gui.TFChoiceDialog.handleEvent(TextFieldWithChoice.java:
      225)
              at java.awt.Window.postEvent(Window.java:451)
              at java.awt.Component.postEvent(Component.java:1894)
              at java.awt.Component.dispatchEventImpl(Component.java:1776)
              at java.awt.Component.dispatchEvent(Component.java:1704)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)


      Steps to reproduce the problem:

      - start JavaTest:
         D:\jdk115f\bin\java -ms10m javasoft.sqe.harness.Main
      - select the jtp file from the File->open menu
      - modified the initial URL's (click on "?")
      - the NullPointerException was thrown.

        Attachments

          Activity

            People

            Assignee:
            lbunnisunw Lara Bunni (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: