PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
Post here questions and problems related to editing and publishing DITA content.
PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
Hi,
we have just updated our publishing engine and the publishing template to version 25.
Our IT colleague tried to make a test conversion, which failed with the following error:
I have no idea what to make of this error message. Local conversions with the publishing template and the XML editor work. Any ideas?
Susanne
we have just updated our publishing engine and the publishing template to version 25.
Our IT colleague tried to make a test conversion, which failed with the following error:
Code: Select all
pdf-css.chemistry.embedded:
[echo] =============================
[echo] Oxygen PDF Chemistry
[echo] Installation directory: /data/oxygen/plugins/com.oxygenxml.pdf.css/lib/oxygen-pdf-chemistry
[echo] Processing: /tmp/temp20230303184730734/stage1.xml.pp
[echo] Output file: /data/oxygen/out_pdf/UG_Doxis4_Gateway_SmartBridgeForTeams.pdf
[echo] =============================
[java] INFO OxygenPDFChemistry - oXygen PDF Chemistry version 25.0 build 2023-01-18T00:17:06Z
[java] INFO OxygenPDFChemistry - Max memory available: 982Mb
[java] INFO c - Oxygen PDF Chemistry licensed to: SER Software Technology GmbH, start date: Oct 4, 2022, license version: 24
[java] INFO x - CSS: file:/data/oxygen/plugins/com.oxygenxml.webhelp.responsive/oxygen-webhelp/app/topic-page-print.css
[java] INFO x - CSS: file:/data/oxygen/plugins/com.oxygenxml.pdf.css/css/print/p-dita.css
[java] INFO x - CSS: file:/data/oxygen/plugins/com.oxygenxml.editlink/pdf-css.css
[java] INFO x - CSS: file:/data/oxygen/plugins/SER_WebHelp_Responsive_PDF/SER_PDF.css
[java] INFO x - CSS: file:/data/oxygen/plugins/SER_WebHelp_Responsive_PDF/SER_CommonCustomizations.css
[java] Exception in thread "main" java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE
[java] at com.oxygenxml.chemistry.e.z.b(Unknown Source)
[java] at com.oxygenxml.chemistry.e.z.e(Unknown Source)
[java] at com.oxygenxml.chemistry.e.z.b(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.b(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.b(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.processInternal(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry$1.b(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry$1.run(Unknown Source)
[java] at ro.sync.security.SandboxCore.runWithConfirmation(SandboxCore.java:258)
[java] at ro.sync.security.ConnectionsSandbox.runWithConnectConfirmation(ConnectionsSandbox.java:263)
[java] at ro.sync.security.Sandbox.runWithConnectConfirmation(Sandbox.java:355)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.process(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.process(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.process(Unknown Source)
[java] at com.oxygenxml.chemistry.OxygenPDFChemistry.main(Unknown Source)
Susanne
-
- Posts: 498
- Joined: Wed Oct 16, 2019 3:47 pm
Re: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
Post by julien_lacour »
Hello Susanne,
How are you running Oxygen Publishing Engine? Inside or outside Oxygen?
Regards,
Julien
How are you running Oxygen Publishing Engine? Inside or outside Oxygen?
Regards,
Julien
-
- Posts: 498
- Joined: Wed Oct 16, 2019 3:47 pm
Re: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
Post by julien_lacour »
Susanne,
Could you copy the full console log of this error and attach the CSS stylesheet(s) you are using? I tried on my side but cannot obtain this error.
If you don't want to share the files you can send them directly to support@oxygenxml.com.
Regards,
Julien
Could you copy the full console log of this error and attach the CSS stylesheet(s) you are using? I tried on my side but cannot obtain this error.
If you don't want to share the files you can send them directly to support@oxygenxml.com.
Regards,
Julien
Re: PDF conversion problem (java.lang.NoSuchFieldError: KEY_OXY_FOREGROUND_IMAGE)
The problem is solved. It was caused by outdated version 24 libraries in the /data/oxygen/plugins/com.oxygenxml.pdf.css/lib/oxygen-pdf-chemistry folder. After a fresh installation, the PDF conversion works again without errors.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service