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

1.7.0-b10 threw NullPointerException at com.sun.imageio.plugins.common.PaletteBuilder.findPaletteEnt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • client-libs
    • None
    • 2d
    • x86
    • linux

      Java Version: 1.7.0-ea-b10
      Platforms: ubuntu and fodera core 6
                 hostname: venetian.sfbay and sunfire002.sfbay
      Problems:
       we have a test case GIFProgressiveDisposalTest, when we run it using b10, it threw exceptions in above platforms, but 1.6.0_01_b04 is OK.
      The test case is attached, and the exceptions are as following:
      java.lang.NullPointerException
      at com.sun.imageio.plugins.common.PaletteBuilder.findPaletteEntry(PaletteBuilder.java:310)
      at com.sun.imageio.plugins.common.PaletteBuilder.getIndexColorModel(PaletteBuilder.java:296)
      at com.sun.imageio.plugins.common.PaletteBuilder.getIndexedImage(PaletteBuilder.java:145)
      at com.sun.imageio.plugins.common.PaletteBuilder.createIndexedImage(PaletteBuilder.java:77)
      at com.sun.imageio.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:564)
      at com.sun.imageio.plugins.gif.GIFImageWriter.writeToSequence(GIFImageWriter.java:510)
      at GIFProgressiveDisposalTest.createAnimatedImage(GIFProgressiveDisposalTest.java:298)
      at GIFProgressiveDisposalTest.doTest(GIFProgressiveDisposalTest.java:163)
      at javasoft.clientsqe.tonga.AbstractTongaManualTest.initScenario(AbstractTongaManualTest.java:197)
      at javasoft.clientsqe.tonga.InstructionsFrame$ButtonHandler.actionPerformed(InstructionsFrame.java:161)
      at java.awt.Button.processActionEvent(Button.java:392)
      at java.awt.Button.processEvent(Button.java:360)
      at java.awt.Component.dispatchEventImpl(Component.java:4401)
      at java.awt.Component.dispatchEvent(Component.java:4231)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:258)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

      To reproduce the problem:
      1. set JAVA_HOME to 1.7.0-ea-b10
      2. set FILTER to GIFProgressiveDisposalTest
      3. cd /net/sqe1/quality2/swing/Mustang_2d_weekly/2d/src/2D_ImageIOTiger
      4. ../../../share/bin/gnumake/linux/gnumake runfilter
      5. following the instruction, in the last case, you will see the exceptions threw.
      It can be reproducible as always.

            bae Andrew Brygin
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: