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

NullPointerException thrown while trying to reload Animator demo applet

XMLWordPrintable

    • x86
    • windows_xp

      OPERATING SYSTEM(S):
      --------------------
      Windows XP

      FULL JDK VERSION(S):
      --------------------
      java version "1.6.0_02"
      Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)


      STEPS TO REPRODUCE:
      -------------------
      1) Download and extract the above mentioned java build and set the path
         to the same.
      2) cd to %JAVA_HOME%\demo\applets\Animator\
      3) Run the command appletviewer example1.html
      4) Applet will be launched.
      5) Try to use the reload option by clicking on applet menu and select
         reload option.
      6) On the console you will see the Exception:

      java.lang.NullPointerException
              at Animation.loadAnimationMedia(Animator.java:580)
              at Animation.init(Animator.java:510)
              at Animator.init(Animator.java:281)
              at sun.applet.AppletPanel.run(AppletPanel.java:418)
              at java.lang.Thread.run(Thread.java:619)

            vdrozdov Victor Drozdov (Inactive)
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: