Error While Using PDF WaterMark With Other Renditions that are not PDF
(Doc ID 1466903.1)
Last updated on AUGUST 07, 2024
Applies to:
Oracle WebCenter Content - Version 11.1.1.5.0 and laterInformation in this document applies to any platform.
Symptoms
====Issue Clarification====
On : 11.1.1.5.0 version, Document Management
When attempting to download a non-PDF rendition using PDF Watermark,
the following error occurs.
ERROR
-----------------------
Java.io.IOException: PDF header signature not found.. [ Detalhes ]
Ocorreu um erro. O rastreamento de pilha a seguir apresenta mais informações.
!csUserEventMessage,sysadmin,CIS!$!syJavaExceptionWrapper,java.io.IOException: PDF header signature not found.
intradoc.common.ServiceException:
at pdfwatermark.PdfwFileFilter.applyWatermark(PdfwFileFilter.java:1102)
at pdfwatermark.PdfwFileFilter.doWatermarkTempDir(PdfwFileFilter.java:753)
at pdfwatermark.PdfwFileFilter.doWatermark(PdfwFileFilter.java:729)
at pdfwatermark.PdfwFileFilter.doFilter(PdfwFileFilter.java:377)
at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
at intradoc.server.FileService.prepareForFileResponse(FileService.java:1494)
at intradoc.server.FileService.doResponse(FileService.java:1455)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:802)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.io.IOException: PDF header signature not found.
at com.lowagie.text.pdf.PRTokeniser.checkPdfHeader(Unknown Source)
at com.lowagie.text.pdf.PdfReader.readPdf(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at com.lowagie.text.pdf.PdfReader.<init>(Unknown Source)
at pdfwatermark.PdfwFileFilter.applyWatermark(PdfwFileFilter.java:944)
at pdfwatermark.PdfwFileFilter.doWatermarkTempDir(PdfwFileFilter.java:753)
at pdfwatermark.PdfwFileFilter.doWatermark(PdfwFileFilter.java:729)
at pdfwatermark.PdfwFileFilter.doFilter(PdfwFileFilter.java:377)
... 11 more
STEPS to replicate:
1- Enable PDF WaterMark, create a rule (any one), create a test template .
2- Checkin a PDF file that trigger the dynamic PDF WaterMark
3- Attach any non PDF file, XML or JPF for example.
4- Try to download the attached file.
The follow error will occur:
java.io.IOException: PDF header signature not found
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |