You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/10/21 12:15:59 UTC
[jira] Updated: (PDFBOX-233) pdfbox crashing.
[ https://issues.apache.org/jira/browse/PDFBOX-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated PDFBOX-233:
---------------------------------
Priority: Major
Reporter: Jukka Zitting
Fix Version/s: 0.8.0-incubator
> pdfbox crashing.
> ----------------
>
> Key: PDFBOX-233
> URL: https://issues.apache.org/jira/browse/PDFBOX-233
> Project: PDFBox
> Issue Type: Bug
> Components: PDFReader
> Reporter: Jukka Zitting
> Fix For: 0.8.0-incubator
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1633676
> Originally submitted by code_slave on 2007-01-11 17:08.
> at org.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:84)
> at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452)
> at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
> at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
> at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:105)
> at org.pdfbox.pdmodel.PDPage.convertToImage(PDPage.java:657)
> at VFW.Viewers.visualDocumentViewer.recoverimagefromdb(visualDocumentViewer.java:632)
> at VFW.Viewers.visualDocumentViewer.mav$recoverimagefromdb(visualDocumentViewer.java:86)
> at VFW.Viewers.visualDocumentViewer$1.run(visualDocumentViewer.java:688)
> i have submitted a sample pdf file to your email account that i cannot post here
> ,
> basically it was working fine in 0.7.3, then i thought i would get clever and clean it up in adobe professional to reduce it's size.
> so i did then wrote it out as being compatible with reader 4.0 and later.
> now it works fine in every other adobe reader but will not read in PDFBOX
> [comment on SourceForge]
> Originally sent by code_slave.
> Logged In: YES
> user_id=413743
> Originator: YES
> O.K ,it's something to do with the image,
> in the package the code is returning a null awtImage , even though the type seems to have been setup correcty by the code
> so when it hits the :
> int width = awtImage.getWidth();
> it throws a null exception, but I don't know enough about the code to find why.
> if( xobject instanceof PDXObjectImage )
> {
> PDXObjectImage image = (PDXObjectImage)xobject;
> try
> {
> BufferedImage awtImage = image.getRGBImage();
> Matrix ctm = drawer.getGraphicsState().getCurrentTransformationMatrix();
> //error here at next line
> int width = awtImage.getWidth();
> int height = awtImage.getHeight();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.