Parameter alpha must not be null

Here should go questions about transforming XML with XSLT and FOP.
shudson310
Posts: 156
Joined: Sat Feb 26, 2005 12:09 am
Location: USA
Contact:

Parameter alpha must not be null

Post by shudson310 »

I just got <oXygen/> XML Editor 17.1, build 2015111718 and trying to run the default DITA MAP PDF transform scenario out of the box. It is failing with:

[fop] [ERROR] Anttask - Error rendering fo file: C:\htdocs\dita\DITAExplained\temp\pdf\oxygen_dita_temp\topic.fo <org.apache.fop.apps.FOPException: Parameter alpha must not be null

This is on Win 7 64-bit. I've not seen this error before, and usually the OOB scenarios work just fine.

Any ideas?

Thanks,

--Scott
radu_pisoi
Posts: 404
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: Parameter alpha must not be null

Post by radu_pisoi »

Hi,

This problem is related to the Apache FOP processor which tries to embed an image in the constructed PDF and fails to retrieve its alpha channel.

Usually such issues are resolved by finding the problem image and re-saving it with different alpha settings.
See: http://comments.gmane.org/gmane.text.xml.fop.user/31508
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
shudson310
Posts: 156
Joined: Sat Feb 26, 2005 12:09 am
Location: USA
Contact:

Re: Parameter alpha must not be null

Post by shudson310 »

Flattening the image in GIMP and re-exporting seems to have cleared up the problem.

As always, thanks for your quick and excellent support! oXygen truly has the best customer support in the industry.

Best regards,

--=Scott
Scott Hudson
Staff Content Engineer
Site: docs.servicenow.com
Post Reply