https://issues.apache.org/bugzilla/show_bug.cgi?id=44965

--- Comment #8 from a...@rbramley.com 2010-03-24 17:06:11 UTC ---
Created an attachment (id=25178)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25178)
Make the desc checking more flexible

We were encountering the same NPE issue with FOP 0.94 and OpenJDK 1.6.0-b09
(although the stack trace was obscured and listed as
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1408)).

After stepping through the code with jdb it turns out that the default sRGB
ICCProfileDescription in OpenJDK is "sRGB built-in". 
So desc didn't match the .equals on line 140 and therefore cs was remaining
null, causing the NPE on line 144 when cs.getICCStream() was invoked.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to