Bug#692556: java.lang.NullPointerException: Parameter alpha must not be null
Mathieu Malaterre
malat at debian.org
Wed Nov 7 12:25:29 UTC 2012
Package: fop
Version: 1:1.0.dfsg2-6~bpo60+1
Severity: normal
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
As a simple workaround:
$ convert test.png new.png
$ pnginfo new.png
new.png...
Image Width: 411 Image Length: 225
Bitdepth (Bits/Sample): 8
Channels (Samples/Pixel): 4
Pixel depth (Pixel Depth): 32
Colour Type (Photometric Interpretation): RGB with alpha channel
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
...just works out of the box !
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fop depends on:
ii default-jre-headl 1:1.6-40 Standard Java or Java compatible R
ii gcj-4.4-jre-headl 4.4.5-2 Java runtime environment using GIJ
ii gcj-jre-headless 4:4.4.5-1 Java runtime environment using GIJ
ii libfop-java 1:1.0.dfsg2-6~bpo60+1 XML formatter driven by XSL Format
ii openjdk-6-jre-hea 6b18-1.8.13-0+squeeze2 OpenJDK Java runtime, using Hotspo
Versions of packages fop recommends:
ii libsaxon-java 1:6.5.5-6 The Saxon XSLT Processor
Versions of packages fop suggests:
pn fop-doc <none> (no description available)
ii libservlet2.5-java 6.0.35-1+squeeze2 Servlet 2.5 and JSP 2.1 Java API c
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 5167 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20121107/35692611/attachment.png>
More information about the pkg-java-maintainers
mailing list