Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2512

java.lang.NullPointerException: Parameter alpha must not be null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • None
    • None
    • None

    Description

      fop is not capable of dealing with some PNG, it keeps on failing with:

      Error while rendering page 9
      java.lang.NullPointerException: Parameter alpha must not be null

      Exception
      java.lang.NullPointerException: Parameter alpha must not be null

      Input is:

      $ pnginfo test.png
      test.png...
      Image Width: 411 Image Length: 225
      Bitdepth (Bits/Sample): 8
      Channels (Samples/Pixel): 1
      Pixel depth (Pixel Depth): 8
      Colour Type (Photometric Interpretation): PALETTED COLOUR with alpha (18 colours, 17 transparent)
      Image filter: Single row per byte filter
      Interlacing: No interlacing
      Compression Scheme: Deflate method 8, 32k window
      Resolution: 0, 0 (unit unknown)
      FillOrder: msb-to-lsb
      Byte Order: Network (Big Endian)
      Number of text strings: 0 of 0

      Attachments

        1. 16x16.png
          0.8 kB
          Stefan Quandt
        2. 19x13.png
          0.7 kB
          Stefan Quandt
        3. 22x22.png
          1 kB
          Stefan Quandt

        Issue Links

          Activity

            People

              Unassigned Unassigned
              malaterre Mathieu Malaterre
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: