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

JSObject tests are failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • deploy
    • x86, sparc
    • solaris_9

      steps to reproduce -

      1. Install jre 1.4 beta-refresh build (build 1.4.0-beta_refresh-b63a)

      2. Set the NPX_PLUGIN_PATH appropriately.

      3. Execute the JSObject test from -

      http://sqesvr.eng.sun.com/deployment1/ws/doc/proc/JPI_JSobject.html

      4. The automated tests using JavaScript failed.

      5. The problem occured in the following configurations.

      Solaris Sparc 9 (build 38) - NS 4.75
              Solaris x86 (build 38) - NS 4.73

       The exceptions thrown on the console are as follows




      Java(TM) Plug-in: Version 1.4.0
      Using JRE version 1.4.0-beta_refresh Java HotSpot(TM) Client VM
      User home directory = /home/ap122462
      Proxy Configuration: Manual Configuration
           Proxy: http=webcache-cup:8080;ftp=webcache-cup:8080;gopher=webcache-cup:8080
           Proxy Overrides:

      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      q: hide console
      s: dump system properties
      t: dump thread list
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      Exception caught!
      netscape.javascript.JSException
      at netscape.javascript.JSObject.getWindow(JSObject.java:141)
      at docmeth_Test.start(docmeth_Test.java:18)
      at sun.applet.AppletPanel.run(AppletPanel.java:358)
      at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
      at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
      at java.lang.Thread.run(Thread.java:579)
      STATUS: docmeth_Test EXCEPTION
      Checking the status
      STATUS: docmeth_Test FAILED
      Checking the status
      STATUS: navdoc_Test FAILED
      java.lang.NullPointerException
      at sun.applet.AppletPanel.setDefaultFocus(AppletPanel.java:440)
      at sun.applet.AppletPanel.run(AppletPanel.java:365)
      at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
      at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
      at java.lang.Thread.run(Thread.java:579)
      java.lang.NullPointerException
      at sun.applet.AppletPanel.setDefaultFocus(AppletPanel.java:440)
      at sun.applet.AppletPanel.run(AppletPanel.java:365)
      at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
      at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
      at java.lang.Thread.run(Thread.java:579)
      /home/ap122462/.plugin140.log
      Checking the status
      STATUS: navloc_Test FAILED
      Checking the status
      STATUS: locmeth_Test FAILED
      Checking the status
      STATUS: winprops_Test FAILED
      Checking the status
      STATUS: navprops_Test FAILED
      Checking the status
      STATUS: navhis_Test FAILED
      Time to close window in 10 seconds
      Time to close window in 9 seconds
      Time to close window in 8 seconds
      Time to close window in 7 seconds
      Time to close window in 6 seconds
      Time to close window in 5 seconds
      Time to close window in 4 seconds
      Time to close window in 3 seconds
      Time to close window in 2 seconds
      Time to close window in 1 seconds
      java.lang.NullPointerException
      at sun.applet.AppletPanel.setDefaultFocus(AppletPanel.java:440)
      at sun.applet.AppletPanel.run(AppletPanel.java:365)
      at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
      at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
      at java.lang.Thread.run(Thread.java:579)
      java.lang.NullPointerException
      at sun.applet.AppletPanel.setDefaultFocus(AppletPanel.java:440)
      at sun.applet.AppletPanel.run(AppletPanel.java:365)
      at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
      at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
      at java.lang.Thread.run(Thread.java:579)

            stanleyh Stanley Ho (Inactive)
            anprabha Anjana Prabhakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: