xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "juan bedoya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (XGC-100) runing ImageViewer example faili with some tiff files
Date Thu, 08 Oct 2015 12:15:26 GMT

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

juan bedoya updated XGC-100:
----------------------------
    Attachment: IMG_with_Err.tif

Tiff file used to test the ImageViewer.
This file can be loaded with the Windows image viewer and with MSPaint, but XMLGraphicsCommons
fail to load it

> runing ImageViewer example faili with some tiff files
> -----------------------------------------------------
>
>                 Key: XGC-100
>                 URL: https://issues.apache.org/jira/browse/XGC-100
>             Project: XMLGraphicsCommons
>          Issue Type: Bug
>          Components: image codecs
>    Affects Versions: 2.0.1
>         Environment: OS: Windows 7, Core i7-2620M, 8GB 
>            Reporter: juan bedoya
>         Attachments: IMG_with_Err.tif
>
>
> When traing to load the ImageViewer example with some tiff files the library fail to
load it. I was able to load other tiff files generated by the same source.
> This is the stack trace when fail:
> Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0
> 	at org.apache.xmlgraphics.image.codec.tiff.TIFFFaxDecoder.nextLesserThan8Bits(TIFFFaxDecoder.java:1417)
> 	at org.apache.xmlgraphics.image.codec.tiff.TIFFFaxDecoder.decodeT6(TIFFFaxDecoder.java:964)
> 	at org.apache.xmlgraphics.image.codec.tiff.TIFFImage.getTile(TIFFImage.java:839)
> 	at org.apache.xmlgraphics.image.rendered.AbstractRed.copyToRaster(AbstractRed.java:615)
> 	at org.apache.xmlgraphics.image.codec.tiff.TIFFImage.copyData(TIFFImage.java:739)
> 	at org.apache.xmlgraphics.image.rendered.AbstractRed.getData(AbstractRed.java:551)
> 	at sun.java2d.SunGraphics2D.drawRenderedImage(Unknown Source)
> 	at org.apache.xmlgraphics.image.loader.impl.ImageConverterBitmap2G2D$Graphics2DImagePainterImpl.paint(ImageConverterBitmap2G2D.java:70)
> 	at image.loader.ViewerFrame$1.paintComponent(ViewerFrame.java:79)
> 	at javax.swing.JComponent.paint(Unknown Source)
> 	at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
> 	at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
> 	at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
> 	at java.awt.Container.paint(Unknown Source)
> 	at java.awt.Window.paint(Unknown Source)
> 	at sun.awt.RepaintArea.paintComponent(Unknown Source)
> 	at sun.awt.RepaintArea.paint(Unknown Source)
> 	at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
> 	at sun.awt.windows.WWindowPeer.handleEvent(Unknown Source)
> 	at java.awt.Component.dispatchEventImpl(Unknown Source)
> 	at java.awt.Container.dispatchEventImpl(Unknown Source)
> 	at java.awt.Window.dispatchEventImpl(Unknown Source)
> 	at java.awt.Component.dispatchEvent(Unknown Source)
> 	at java.awt.EventQueue.dispatchEvent(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> 	at java.awt.EventDispatchThread.run(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message