pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4581) Exception XRSurfaceData.getRaster not implemented yet on Swing, Linux
Date Fri, 12 Jul 2019 17:13:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883995#comment-16883995
] 

ASF subversion and git services commented on PDFBOX-4581:
---------------------------------------------------------

Commit 1862990 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1862990 ]

PDFBOX-4581, PDFBOX-4583: improve javadoc

> Exception XRSurfaceData.getRaster not implemented yet on Swing, Linux
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-4581
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4581
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.15
>         Environment: Ubuntu 18.04.2 LTS
>            Reporter: Jan Buschtöns
>            Priority: Major
>             Fix For: 2.0.17, 3.0.0 PDFBox
>
>         Attachments: notYetImplemented_PDFBox_FORMGEN-2185-master.zip
>
>
> When trying to render certain PDFs on a swing Graphics object, I get the following Exception
on Linux:
> {code:java}
> Exception in thread "AWT-EventQueue-0" java.lang.InternalError: not implemented yet
> at java.desktop/sun.java2d.xr.XRSurfaceData.getRaster(XRSurfaceData.java:91)
> at java.desktop/sun.java2d.loops.Blit$AnyBlit.Blit(Blit.java:163)
> at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:972)
> at java.desktop/sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:583)
> at java.desktop/sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
> at java.desktop/sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1027)
> at java.desktop/sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186)
> at java.desktop/sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3415)
> at java.desktop/sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3545)
> at org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroup(PageDrawer.java:1570)
> at org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:66)
> at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:869)
> at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:505)
> at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:479)
> at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:152)
> at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:265)
> at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:401)
> at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:370)
> at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:355)
> at org.apache.pdfbox.rendering.PDFRenderer.renderPageToGraphics(PDFRenderer.java:342)
> at de.abm.bug.App$PDFView.paint(App.java:29)
> at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
> at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
> at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
> at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
> at java.desktop/javax.swing.JLayeredPane.paint(JLayeredPane.java:590)
> at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
> at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5262)
> at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:246)
> at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1323)
> at java.desktop/javax.swing.JComponent.paint(JComponent.java:1060)
> at java.desktop/java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
> at java.desktop/sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:78)
> at java.desktop/sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:115)
> at java.desktop/java.awt.Container.paint(Container.java:2002)
> at java.desktop/java.awt.Window.paint(Window.java:3940)
> at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:876)
> at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:848)
> at java.base/java.security.AccessController.doPrivileged(Native Method)
> at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:848)
> at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:823)
> at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:772)
> at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1890)
> at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at java.base/java.security.AccessController.doPrivileged(Native Method)
> at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
> at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> This does not happen on Windows 10.
> The same exception came up in the comments to PDFBOX-2905.
> Seems to be the same problem as in [JDK-6689349.|https://bugs.openjdk.java.net/browse/JDK-6689349]

> I reproduced this with PDFBox 2.0.13, 2.0.15 and 3.0.0-SNAPSHOT. And also with an oracle
jdk.1.8.0_201, open jdk 1.8.0_212 and open jdk 11.0.1.
> I've attached an example maven project using the same PDF as in PDFBOX-2905.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message