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

MoleculeViewer demo does not always launch successfully

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 5.0
    • deploy
    • generic
    • generic

      OS - all
      Browsers - all
      release - j2sdk1.5.0-beta1

      Steps to reproduce -

      1) Install j2sdk1.5.0 on sny OS.
      2) Go to the Plugin demos location at
      {jdk_installed_dir}/demo/plugin/applets
      3) Invoke the MoleculeViewer applet - example 3
      4) There are four applets that need to be loaded.

      However, most of the times, only one or two applet load and the following exception is thrown on the console. This problem is not reproducible at all times. Roughly, it can reproduced 7/10 times.

      Exception message
      ----------------------------------------------------------------------------
      java.lang.NullPointerException
              at XYZApp.newBackBuffer(XYZApp.java:296)
              at XYZApp.init(XYZApp.java:312)
              at sun.applet.AppletPanel.run(AppletPanel.java:354)
              at java.lang.Thread.run(Thread.java:566)
      java.lang.NullPointerException
              at XYZApp.newBackBuffer(XYZApp.java:296)
              at XYZApp.init(XYZApp.java:312)
              at sun.applet.AppletPanel.run(AppletPanel.java:354)
              at java.lang.Thread.run(Thread.java:566)
      --------------------------------------------------------------------------------

            zgu Zhengyu Gu
            anprabha Anjana Prabhakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: