Skip to content

Errors when trying to rednder some type of PDFs #1

Open
@IskanderMustafin

Description

@IskanderMustafin

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions