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

COMPATIBILITY: popcap - Typer Shark applet fails to load- fatal error

XMLWordPrintable

    • generic
    • windows_xp

      Tested OS/Browser:
                              XP-Home(sp2)/IE6
                              win 2000 pro(sp4)/IE6
                              win 2003 SE/ IE6
                         (The same problem occured using Firefox 1.0/ NS 7.2)
      Tested build: j2re 1.6.0- build 31

      Problem:
      -------
      The applet fails to load with fatal error. IllegalArgumentException and JSException throws in the java console. It works fine using MS VM on the same configuration/machine.

      Steps to reproduce:
      ------------------
      1) Install j2re1.6.0-build 31 into the test system
      2) Using IE6, Browse http://www.popcap.com
      3) Click on "All Games"
      4) Click on "Typer Shark" (under "Web Games" section)
      5) Click on "Click to Play"
      6) Wait for the applet loading to complete (sometimes it is slow with Sun VM)
      7) Click on "Click Here to Continue with TyperShark Basis"
      8) Click on "Easy" or "Normal" level to play the game

      It throws the following message in the browser
       !!FAILED TO OPEN ERROR LOG!!
      Fatal Application Error A fatal error has occurred.
      Also, while loading the applet it throws the JSException in the java console.

      The applet gets loaded in the browser and work fine with MS VM


      Here's the detailed output from Sun Java Console:
      ------------------------------------------------

      Java Plug-in 1.6.0
      Using JRE version 1.6.0-ea Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\dtftest


      ----------------------------------------------------
      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
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------

      Tracker 2.02: Notifying...
      FU: inanna.popcap.com<BR>

      Done.

      seed4 (config) = 844047695
      seed5 (theme) = 844047711
      Build #90 (Thu Oct 09 16:56:38 2003)
      seed5 (theme) = 844047726
      seed4 (config) = 844047726
      seed4 (config) = 844047726
      seed4 (config) = 844047726
      seed4 (config) = 844047726
      seed4 (config) = 844047726
      netscape.javascript.JSException: Unknown name.

      Tracker 2.02: Notifying...
      FU: inanna.popcap.com<BR>

      Done.

      Tracker: Leaving...
      FU: inanna.popcap.com<BR>

      Done.

      Tracker 2.02: Notifying...
      FU: inanna.popcap.com<BR>

      Done.

      seed4 (config) = 844146632
      seed5 (theme) = 844146632
      Build #90 (Thu Oct 09 16:56:38 2003)
      seed5 (theme) = 844146664
      seed4 (config) = 844146664
      seed4 (config) = 844146664
      seed4 (config) = 844146664
      seed4 (config) = 844146664
      seed4 (config) = 844146664
      netscape.javascript.JSException: Unknown name.

      java.lang.NullPointerException
      at v.<init>(DashoA8464)
      at sexy.gui.SexyApplet.a(DashoA8464)
      at sexy.gui.SexyApplet.b(DashoA8464)
      at typershark.WordSharkApplet.b(DashoA8464)
      at sexy.gui.SexyApplet.init(DashoA8464)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      FATAL ERROR: exception
          DETAILS: java.lang.NullPointerException
      at v.<init>(DashoA8464)
      at sexy.gui.SexyApplet.a(DashoA8464)
      at sexy.gui.SexyApplet.b(DashoA8464)
      at typershark.WordSharkApplet.b(DashoA8464)
      at sexy.gui.SexyApplet.init(DashoA8464)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      java.lang.NullPointerException
      at sexy.gui.SexyApplet.d(DashoA8464)
      at typershark.WordSharkApplet.d(DashoA8464)
      at sexy.gui.SexyApplet.a(DashoA8464)
      at sexy.gui.SexyApplet.a(DashoA8464)
      at sexy.gui.SexyApplet.init(DashoA8464)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Getting image typershark/images/zz_upsell_bg1.gif (0)
      Getting image typershark/images/zz_upsell_bg2.gif (0)
      Getting image typershark/images/zz_upsell_button_hilite.gif (0)
      Getting image typershark/images/zz_loaderbar2.gif (0)
      Getting image typershark/images/zz_loaderbar1.gif (0)
      WARNING: Unreferenced zip image 'upper_hose.gif'
      Getting image typershark/images/topbackground.jpg (0)
      Getting image typershark/images/water1.jpg (0)
      Getting image typershark/images/back.jpg (0)
      Getting image typershark/images/shark.jpg (0)
      Getting image typershark/images/_shark.jpg (0)
      Getting image typershark/images/empwave.gif (0)
      Palletized diver_idle.gif
      Palletized diver_turn.gif
      Palletized ?swim.gif
      Palletized ?charge.gif
      Palletized ?bite.gif
      Palletized sharkshock.gif
      Palletized ?sharkdie.gif
      Palletized bubble1.gif
      Palletized bubble2.gif
      Palletized bubble3.gif
      Palletized ?extralife.gif
      Palletized _upper_hose.gif
      Palletized statusbarX.gif
      Palletized buttonsX.gif
      Palletized _sharkfont1.gif
      Palletized gem_green.gif
      Palletized gem_orange.gif
      Palletized gem_purple.gif
      Palletized gem_red.gif
      Palletized gem_white.gif
      Palletized gem_yellow.gif
      Palletized statusXbutton.gif
      Palletized gameselector.gif
      Palletized _mapfont1.gif
      Palletized airgauge.gif
      Palletized ?carry.gif
      Palletized eaten.gif
      Palletized ?swim_eyesteeth.gif
      Palletized water1.jpg
      Palletized ?textovers.gif
      Palletized ?typershark_logo.gif
      Palletized _sharkfont1reversed.gif
      Palletized statusXready.gif
      Palletized muzzflash.gif
      Palletized empwave.gif
      Palletized ?star_95.gif
      Palletized ?star_96.gif
      Palletized ?star_97.gif
      Palletized ?star_98.gif
      Palletized ?star_99.gif
      Palletized ?star_100.gif
      Palletized gameselect_glow.gif
      Palletized ?piranha_swim.gif
      Palletized piranha_die.gif
      Palletized piranha_bite.gif
      seed3 (res) = 844150820
      Getting image typershark/images/intertitle.gif (0)
      Getting image typershark/images/intertext.gif (0)
      Getting image typershark/images/interscreen1.gif (0)
      Getting image typershark/images/interscreen2.gif (0)
      Getting image typershark/images/interscreen3.gif (0)
      Getting image typershark/images/interstar.gif (0)
      Initially loading data/waves7.zip as dictionary file
      Getting zip input stream
      Getting next entry
      getting size, entering loop
      Closing stream
      before themed attack
      line 1
      line 2
      after
      Loading Wavefile = data/waves1.zip-async
      Getting image typershark/images/oceanfloor.gif (0)
      Getting image typershark/images/mountain.gif (0)
      Getting image typershark/images/mapbg.jpg (0)
      Getting image typershark/images/point.gif (0)
      Getting image typershark/images/mapx.gif (0)
      Getting image typershark/images/mapship.gif (0)
      Getting image typershark/images/gemglow.gif (0)
      Getting image typershark/images/bermback.jpg (0)
      Getting image typershark/images/bermtriangle.gif (0)
      Filter time: 2735
      Resource loading time: 4797ms
      Loading Wavefile = data/waves2.zip-async
      Loading Wavefile = data/waves3.zip-async
      Loading Wavefile = data/waves4.zip-async
      Loading Wavefile = data/waves5.zip-async
      Loading Wavefile = data/waves6.zip-async
      Loading Wavefile = data/waves7.zip-async
      Loading Wavefile = data/waves8.zip-async
      Loading Wavefile = data/waves9.zip-async
      Loading Wavefile = data/waves10.zip-async
      Choosing easy game
      Tracker 2.02: Notifying...
      FU: inanna.popcap.com<BR>

      Done.

      java.lang.IllegalArgumentException: Width (0) and height (47) cannot be <= 0
      at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
      at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
      at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
      at java.awt.Component.createImage(Unknown Source)
      at sexy.gui.SexyApplet.createImage(DashoA8464)
      at v.<init>(DashoA8464)
      at sexy.gui.SexyApplet.a(DashoA8464)
      at sexy.gui.SexyApplet.b(DashoA8464)
      at al.<init>(DashoA8464)
      at typershark.WordSharkApplet.i(DashoA8464)
      at z.j(DashoA8464)
      at y.c(DashoA8464)
      at o.a(DashoA8464)
      at n.a(DashoA8464)
      at sexy.gui.SexyApplet.mouseUp(DashoA8464)
      at java.awt.Component.handleEvent(Unknown Source)
      at java.awt.Component.postEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.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)
      FATAL ERROR: exception
          DETAILS: java.lang.IllegalArgumentException: Width (0) and height (47) cannot be <= 0
      at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
      at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
      at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
      at java.awt.Component.createImage(Unknown Source)
      at sexy.gui.SexyApplet.createImage(DashoA8464)
      at v.<init>(DashoA8464)
      at sexy.gui.SexyApplet.a(DashoA8464)
      at sexy.gui.SexyApplet.b(DashoA8464)
      at al.<init>(DashoA8464)
      at typershark.WordSharkApplet.i(DashoA8464)
      at z.j(DashoA8464)
      at y.c(DashoA8464)
      at o.a(DashoA8464)
      at n.a(DashoA8464)
      at sexy.gui.SexyApplet.mouseUp(DashoA8464)
      at java.awt.Component.handleEvent(Unknown Source)
      at java.awt.Component.postEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.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)

      Unfreed Widget Managers: 1
      Unfreed Widgets in Manager: 6
      Resource thread exiting
      Destroy At: 1113240766359
      Tracker: Leaving...

      >> 1 SUCCESS

      Applet thread shut down
      FU: inanna.popcap.com<BR>

      Done

      ********************************************************************************










      ###@###.### 2005-04-11 22:50:04 GMT

            never Tom Rodriguez
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: