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

The applet crystalsquid_MonkeyTrouble throws exception:sun.awt.image.ImageFormatException in java console when loading it.

XMLWordPrintable

    • x86
    • linux

      Testsuite:set1 in Applet Compatibility
      Test name(s):crystalsquid_MonkeyTrouble
      Product(s) tested:6u60b06 64bit
      OS/architecture: OEL 6.2 Unbreakable Kernel x64

      Reproducible: Always
      Reproducible on machine:egtc

      Is it a Regression:Not sure
      (jre6u51 b11 64bit+FF22 64bit+OEL 6.2 Unbreakable Kernel x64:FAILED,it's the same issue.)
      (jre6u45 b06 64bit+FF22 64bit+OEL 6.2 Unbreakable Kernel x64:FAILED,it's the same issue.)


      Test result on the last GAed release for this train:
      (jre6u51 b11 64bit+FF22 64bit+OEL 6.2 Unbreakable Kernel x64:FAILED,it's the same issue.)

      [if Fail] Test result on FCS:

      Is it a platform specific issue:
      (jre6u60b06 64bit+IE9 64bit+Win7 x64:PASS)


      Exception/Error from Log:
      http://aurora-ds.us.oracle.com:9500/runs%2F266815.ManualSubmit-1/workDir/set1/crystalsquid_MonkeyTrouble.jtr


      Copy applet workspace,install test jre,and run this case
      Steps to reproduce:

      Workspace is located at :
      http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/8/applet

      1)After excracting jre6u60b06 which we download from http://jre.us.oracle.com/java/re/jdk/6u60/promoted/fcs/b06/bundles/linux-amd64/jre-6u60-linux-amd64.bin and check "Enable tracing" and "Enable logging" of the Advanced tab from java control panel

      2)extract FF22 from http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/22.0/linux-x86_64/en-US/firefox-22.0.tar.bz2 to local machine

      3)add plugin to firefox

      ln -s ../jre1.6.0_60/lib/amd64/libnpjp2.so ~/.mozilla/plugins

      4)use FF22 to load http://www.crystalsquid.com/games

      5)Accept warning messsage

      #expected results:
      the applet should be loaded successfully without exception.

      #Actual behavior:
      The applet can be loaded in the end,but it throws exception:sun.awt.image.ImageFormatException in java console,refer to MonkeyTrouble.png and MonkeyTrouble.txt.

      #Exceptions:
      sun.awt.image.ImageFormatException: Huffman table 0x01 was not defined
      at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
      at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
      at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
      at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
      at sun.awt.image.ImageFetcher.run(Unknown Source)
      sun.awt.image.ImageFormatException: Huffman table 0x01 was not defined
      at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
      at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
      at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
      at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
      at sun.awt.image.ImageFetcher.run(Unknown Source)
      sun.awt.image.ImageFormatException: Invalid progressive parameters Ss=1 Se=60 Ah=5 Al=3
      at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
      at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
      at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
      at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
      at sun.awt.image.ImageFetcher.run(Unknown Source)
      sun.awt.image.ImageFormatException: Huffman table 0x01 was not defined
      at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
      at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
      at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
      at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
      at sun.awt.image.ImageFetcher.run(Unknown Source)

      The following two cases failed as the same issue
      set1/pogo_HogHeavenSlots
      set1/pogo_MahjongGarden

      #validation:
      same configuration/6u45 fcs b06---Failed as the same issue
      same configuration/6u51 fcs b11---Failed as the same issue
      same JRE( test target ), Win7 x64, IE 9 x64---PASS

            scfitch Stephen Fitch
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: