You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/06/02 17:15:00 UTC

DO NOT REPLY [Bug 44965] NPE in FopPDFImage

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


Jeremias Maerki <je...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO




--- Comment #3 from Jeremias Maerki <je...@apache.org>  2008-06-02 08:14:59 PST ---
Sorry for the delay. I've been away for a few days. Can you please tell me what
Java VM you are using (java -version)? The error here is something I've never
seen before. It almost looks like your JVM installation is incomplete and lacks
one of the standard color profiles (LINEAR_RGB) returned by the following code:
ColorSpace.getInstance(ColorSpace.CS_LINEAR_RGB)
This color space should (if I don't read the class library javadocs
incorrectly) always be available. In a Sun JVM 1.4.2/1.5/6.0, LINEAR_RGB.pf is
normally located in the "<jre>/lib/cmm" directory together with the other
built-in color profiles. The same applies to Apache Harmony.

(In reply to comment #2)
> OK, I tried with 0.95beta. Now I get another Exception:
<snip/>
> Caused by: java.lang.IllegalArgumentException: Can't load standard profile:
> LINEAR_RGB.pf
>         at java.awt.color.ICC_Profile$2.run(ICC_Profile.java:912)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.awt.color.ICC_Profile.getStandardProfile(ICC_Profile.java:905)
>         at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:886)
>         at java.awt.color.ColorSpace.getInstance(ColorSpace.java:347)
>         at
> org.apache.xmlgraphics.ps.ImageEncodingHelper.<clinit>(ImageEncodingHelper.java:40)
>         ... 71 more
> 


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