Exception in docpub conversion

42 views
Skip to first unread message

Daniel Soriano Gil

unread,
Jun 27, 2014, 6:42:46 AM6/27/14
to pdfnet-w...@googlegroups.com
What about this exception?

danielsoriano:tecnos danielsoriano$ ~/Sites/pdftron/docpub_mac/docpub -f xod -o ./ --verb 2  --norender --noprint 9788430960101.pdf
'outdir' parameter: ./
'format' parameter: .xod
'prefer_jpg' parameter: true
'flatten_threshold' parameter: default
'norender' parameter: true
'enhance_thin_lines' parameter: true
'op' parameter: pdfx
'noprinter' parameter: true
Processing...
/Users/danielsoriano/proyectos/tirant/cloudlibrary/remesas/tecnos/9788430960101.pdf
An error occurred during conversion.  The input format may not be supported.
Exception:
 
Message: GetNumber() can't be invoked on Obj of this type.
 Conditional expression: false
 Filename   : Obj.cpp
 Function   : IllegalFunctionException
 Linenumber : 228


Also with PDFViewTest


PDFNet is running in demo mode.
Exception:
 
Message: GetNumber() can't be invoked on Obj of this type.
 Conditional expression: false
 Filename   : Obj.cpp
 Function   : IllegalFunctionException
 Linenumber : 228
 Error code : 0


 at pdftron.PDF.PDFDoc.GetFirstBookmark(Native Method)
 at pdftron.PDF.PDFDoc.getFirstBookmark(PDFDoc.java:876)
 at PDFViewer.setDoc(PDFViewer.java:99)
 at PDFViewTest.open(PDFViewTest.java:870)
 at PDFViewTest$20.actionPerformed(PDFViewTest.java:390)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
 at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
 at java.awt.Component.processMouseEvent(Component.java:6414)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
 at java.awt.Component.processEvent(Component.java:6179)
 at java.awt.Container.processEvent(Container.java:2084)
 at java.awt.Component.dispatchEventImpl(Component.java:4776)
 at java.awt.Container.dispatchEventImpl(Container.java:2142)
 at java.awt.Component.dispatchEvent(Component.java:4604)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4279)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4209)
 at java.awt.Container.dispatchEventImpl(Container.java:2128)
 at java.awt.Window.dispatchEventImpl(Window.java:2492)
 at java.awt.Component.dispatchEvent(Component.java:4604)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
 at java.awt.EventQueue.access$400(EventQueue.java:82)
 at java.awt.EventQueue$2.run(EventQueue.java:676)
 at java.awt.EventQueue$2.run(EventQueue.java:674)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:690)
 at java.awt.EventQueue$3.run(EventQueue.java:688)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)




Matt Parizeau

unread,
Jun 27, 2014, 2:02:54 PM6/27/14
to pdfnet-w...@googlegroups.com
Hi,

Can you send the pdf that is causing the issue.

Thanks,

Matt Parizeau
Software Developer
PDFTron Systems Inc.

Support

unread,
Jun 27, 2014, 3:10:25 PM6/27/14
to pdfnet-w...@googlegroups.com


Based on the error your PDF is corrupt. You can send the file to support at pdftron for analysis.




On Friday, June 27, 2014 3:42:46 AM UTC-7, Daniel Soriano Gil wrote:
Message has been deleted

Matt Parizeau

unread,
Jul 8, 2014, 4:55:10 PM7/8/14
to pdfnet-w...@googlegroups.com
We haven't received the files, you can email them to support at pdftron.com.

Matt Parizeau
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages