[ https://issues.apache.org/jira/browse/PDFBOX-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737357#comment-16737357 ]
ASF subversion and git services commented on PDFBOX-4417: --------------------------------------------------------- Commit 1850777 from Tilman Hausherr in branch 'pdfbox/trunk' [ https://svn.apache.org/r1850777 ] PDFBOX-4417: use try-with-resources > Merged file has several structure trees > --------------------------------------- > > Key: PDFBOX-4417 > URL: https://issues.apache.org/jira/browse/PDFBOX-4417 > Project: PDFBox > Issue Type: Bug > Components: Utilities > Affects Versions: 2.0.13 > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Priority: Major > Labels: StructureTree > Fix For: 2.0.14, 3.0.0 PDFBox > > Attachments: 001031.pdf, 054080.pdf, PDFBOX-4417-merged-bad.pdf > > > Something goes wrong with all the cloning. The result file has a > StructTreeRoot at objects 8, 697 and 730. And there is also the "COSStream > has been closed and cannot be read" exception (PDFBOX-3999) if one closes the > source before saving. > If the close is removed the current tests pass, so the tests are not yet > complete. > Merging [^001031.pdf] (file from FDA) with itself also brings an orphan > check error. > Merging [^054080.pdf] (file also at > https://pubs.usgs.gov/wdr/wdr-sc-04/wy04/pdfs/02148000.2004.sw.pdf ) with > itself also shows two StructTreeRoot dictionaries (and no other failing test, > despite the commits related to [^001031.pdf] ). -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org