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

CPapplets is passing with MSVM but failing with SunJVM for all jdk1.5.0_XX

XMLWordPrintable

    • x86
    • windows_xp

      CPapplets from http://physics.orst.edu/~rubin/nacphy/CPapplets is throwing NullPointerException with all jdk1.5.0_XX on IE browser with SunJVM but loading fine and no exceptions with MSVM on Windows XP Pro SP2.

      How to Reproduce:
      -----------------
      Install any jre1.5.0_XX and make sure java console pops up, then follow the instructions,

      1. Browse to provided URL http://www.physics.orst.edu/~rubin/nacphy/CPapplets
      2. (CPApplets - Lissajous Figures)
      3. Browse to provided URL
      4. On the left side menu bar, under the "Lissajous Figures" heading choose 'Create them in (English)'.
      5. Applet will load in the middle of the page.
      6. Read the instructions above the applet then interact with it by changing the ratio of frequencies and on the phase difference.
      7. Attempt to resize the applet/browser window.
      8. Reload the applet by holding down the 'Shift' key and clicking the refresh button.
      9. Open another instance of the applet using 'Ctrl-N'
      10. Close all applet/browser windows to terminate the applet.
      11. Check the Java Console for warnings/errors.

      With SunJVM Exception thrown in console:
      ------------------------------------------
      Java Plug-in 1.5.0_06
      Using JRE version 1.5.0_06-ea Java HotSpot(TM) Client VM
      User home directory = D:\Documents and Settings\user

      Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
      at Fig2Canv.update(Fig2.java:163)
      at sun.awt.RepaintArea.updateComponent(Unknown Source)
      at sun.awt.RepaintArea.paint(Unknown Source)
      at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      With MSVM in Console :
      ---------------------
      Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810

      No Exceptions.

      Note:
      -----
      This is reproduceable OFF/ON SWAN.

            stanleyh Stanley Ho (Inactive)
            skantesunw Srilatha Kante (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: