JBIG2-Image-Decoder icon indicating copy to clipboard operation
JBIG2-Image-Decoder copied to clipboard

Errors when trying to rednder some type of PDFs

Open IskanderMustafin opened this issue 12 years ago • 0 comments

When try to render some types of PDF I always get an exception.

Please, fix this bug.

Error stack-trace:

java.lang.IndexOutOfBoundsException: bitIndex < 0: -1152

   at java.util.BitSet.get(Unknown Source)

   at org.jpedal.jbig2.image.JBIG2Bitmap.getPixel(Unknown Source)

   at org.jpedal.jbig2.image.JBIG2Bitmap.combine(Unknown Source)

   at org.jpedal.jbig2.image.JBIG2Bitmap.readTextRegion(Unknown Source)

   at org.jpedal.jbig2.segment.region.text.TextRegionSegment.readSegment(Unknown Source)

   at org.jpedal.jbig2.decoders.JBIG2StreamDecoder.readSegments(Unknown Source)

   at org.jpedal.jbig2.decoders.JBIG2StreamDecoder.decodeJBIG2(Unknown Source)
   at org.jpedal.jbig2.JBIG2Decoder.decodeJBIG2(Unknown Source)

IskanderMustafin avatar Sep 27 '12 09:09 IskanderMustafin