FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 09-14-2011, 07:51 AM
RaphaŽl Hertzog
 
Default Bug#641530: fop: fails with java.lang.IllegalArgumentException: Cannot open file sRGB.pf

Package: fop
Version: 1:1.0.dfsg2-2
Severity: grave
Justification: renders package unusable

As you can see in #640308, fop doesn't work any longer... and I have the exact
same problem when trying to build the publican package.

I'm not sure what's the root cause of the problem but it might be similar
to this report:
http://www-01.ibm.com/support/docview.wss?uid=swg1PM17433

So possibly a security change that forbids the automatic discovery
of files with a relative path if some symlinks are involved. CCing debian-java
as their input can be useful here.

I'm using:
$ java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre9-1)
OpenJDK Server VM (build 20.0-b11, mixed mode)

Failure log:

[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
java.lang.IllegalArgumentException: Cannot open file sRGB.pf
at java.awt.color.ICC_Profile.activateDeferredProfile (ICC_Profile.java:1085)
at java.awt.color.ICC_Profile$1.activate(ICC_Profile. java:741)
at sun.java2d.cmm.ProfileDeferralMgr.activateProfiles (ProfileDeferralMgr.java:93)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile .java:774)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile .java:994)
at org.apache.fop.pdf.PDFICCBasedColorSpace.setupsRGB ColorProfile(PDFICCBasedColorSpace.java:141)
at org.apache.fop.pdf.PDFICCBasedColorSpace.setupsRGB AsDefaultRGBColorSpace(PDFICCBasedColorSpace.java: 109)
at org.apache.fop.render.pdf.PDFRenderingUtil.addsRGB ColorSpace(PDFRenderingUtil.java:265)
at org.apache.fop.render.pdf.PDFRenderingUtil.setupPD FDocument(PDFRenderingUtil.java:378)
at org.apache.fop.render.pdf.PDFDocumentHandler.start Document(PDFDocumentHandler.java:144)
at org.apache.fop.render.intermediate.IFRenderer.star tRenderer(IFRenderer.java:253)
at org.apache.fop.area.RenderPagesModel.<init>(Render PagesModel.java:79)
at org.apache.fop.area.AreaTreeHandler.setupModel(Are aTreeHandler.java:130)
at org.apache.fop.area.AreaTreeHandler.<init>(AreaTre eHandler.java:102)
at org.apache.fop.render.RendererFactory.createFOEven tHandler(RendererFactory.java:359)
at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuild er.java:105)
at org.apache.fop.apps.Fop.createDefaultHandler(Fop.j ava:101)
at org.apache.fop.apps.Fop.<init>(Fop.java:79)
at org.apache.fop.apps.FopFactory.newFop(FopFactory.j ava:271)
at org.apache.fop.cli.InputHandler.renderTo(InputHand ler.java:109)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:207)


-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fop depends on:
ii default-jre-headless [java2-runtime-headless] 1:1.6-43
ii gcj-4.4-jre-headless [java2-runtime-headless] 4.4.6-10
ii gcj-4.6-jre-headless [java2-runtime-headless] 4.6.1-4
ii gcj-jre-headless [java2-runtime-headless] 4:4.6.1-2
ii java-wrappers 0.1.23
ii libavalon-framework-java 4.2.0-7
ii libbatik-java 1.7-7
ii libbsf-java 1:2.4.0-4
ii libcommons-io-java 1.4-3
ii libcommons-logging-java 1.1.1-8
ii libxalan2-java 2.7.1-5
ii libxerces2-java 2.11.0-2
ii libxml-commons-external-java 1.4.01-2
ii libxmlgraphics-commons-java 1.4.dfsg-3
ii libxt6 1:1.1.1-2
ii libxtst6 2:1.2.0-3
ii openjdk-6-jre-headless [java2-runtime-headless] 6b23~pre9-1
ii sun-java6-jre [java2-runtime-headless] 6.26-3

Versions of packages fop recommends:
ii libsaxon-java 1:6.5.5-7

Versions of packages fop suggests:
pn fop-doc <none>
pn libservlet2.4-java <none>

-- no debconf information



--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110914075140.32397.24830.reportbug@rivendell.loc aldomain">http://lists.debian.org/20110914075140.32397.24830.reportbug@rivendell.loc aldomain
 

Thread Tools




All times are GMT. The time now is 10:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org