pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PDFBOX-233) pdfbox crashing.
Date Mon, 04 Aug 2008 17:26:46 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting resolved PDFBOX-233.
----------------------------------

    Resolution: Fixed

[Comment on SourceForge]
Date: 2008-05-27 21:49
Sender: danielwilson
Logged In: YES 
user_id=1737686
Originator: NO

These errors are now handled so crashing no longer occurs -- at least in
these areas.

Please grab the latest code.

Thanks.


> pdfbox crashing.
> ----------------
>
>                 Key: PDFBOX-233
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-233
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDFReader
>
> [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.


Mime
View raw message