Image not Supported #590

Open
opened 2 years ago by deividgabrielpeira · 0 comments
deividgabrielpeira commented 2 years ago (Migrated from github.com)

Brief summary


java.io.IOException: Image format not supported
    at android.graphics.BitmapRegionDecoder.nativeNewInstance(Native Method)
    at android.graphics.BitmapRegionDecoder.newInstance(BitmapRegionDecoder.java:170)
    at android.graphics.BitmapRegionDecoder.newInstance(BitmapRegionDecoder.java:204)
    at androidx.core.view.ContentInfoCompat$$ExternalSyntheticApiModelOutline0.m(SourceFile:6)
    at com.davemorrissey.labs.subscaleview.decoder.UtilKt.BitmapRegionDecoder(SourceFile:2)
    at com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder.init(SourceFile:183)
    at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$initTiles$1$1.invoke(SourceFile:3)
    at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$initTiles$1$1.invoke(SourceFile:1)
    at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(SourceFile:59)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
    at kotlinx.coroutines.DispatchedTask.run(SourceFile:116)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
    Suppressed: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.Bitmap.recycle()' on a null object reference
        at org.koitharu.kotatsu.core.util.ext.FileKt$computeSize$2.invoke$6(SourceFile:66)
        at org.koitharu.kotatsu.core.util.ext.FileKt$computeSize$2.invoke(SourceFile:9)
        ... 4 more

Steps to reproduce

  1. Extension: "Manhastro (pt)"
  2. Manhua: "Mercenary Enrollment".
  3. Finaly the bug

Kotatsu version

6.5-1

Android version

12

Device

Poco X4 GT

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • If this is an issue with a parser, I should be opening an issue in the parsers repository.
### Brief summary `````kotlin java.io.IOException: Image format not supported at android.graphics.BitmapRegionDecoder.nativeNewInstance(Native Method) at android.graphics.BitmapRegionDecoder.newInstance(BitmapRegionDecoder.java:170) at android.graphics.BitmapRegionDecoder.newInstance(BitmapRegionDecoder.java:204) at androidx.core.view.ContentInfoCompat$$ExternalSyntheticApiModelOutline0.m(SourceFile:6) at com.davemorrissey.labs.subscaleview.decoder.UtilKt.BitmapRegionDecoder(SourceFile:2) at com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder.init(SourceFile:183) at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$initTiles$1$1.invoke(SourceFile:3) at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$initTiles$1$1.invoke(SourceFile:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(SourceFile:59) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9) at kotlinx.coroutines.DispatchedTask.run(SourceFile:116) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94) Suppressed: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.Bitmap.recycle()' on a null object reference at org.koitharu.kotatsu.core.util.ext.FileKt$computeSize$2.invoke$6(SourceFile:66) at org.koitharu.kotatsu.core.util.ext.FileKt$computeSize$2.invoke(SourceFile:9) ... 4 more `````` ### Steps to reproduce 1. Extension: "Manhastro (pt)" 2. Manhua: "Mercenary Enrollment". 3. Finaly the bug ### Kotatsu version 6.5-1 ### Android version 12 ### Device Poco X4 GT ### Acknowledgements - [X] I have searched the existing issues and this is a new ticket, **NOT** a duplicate or related to another open issue. - [X] If this is an issue with a parser, I should be opening an issue in the [parsers repository](https://github.com/KotatsuApp/kotatsu-parsers/issues/new/choose).
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KotatsuApp/Kotatsu#590
Loading…
There is no content yet.