Skip to content

Crash when saving pictures #1247

@fengyuyang297-cmyk

Description

@fengyuyang297-cmyk

Checklist

  • I've already searched in existing issues and haven't found a similar problem reported.
  • I'm using the latest version of the app
  • This error caused the app to crash
  • This error is reproducible

Which category best fits this error?

Feed Sync

App version

0.16.1

Reproduction steps

Save picture causes crash

Crash report

Version: 0.16.1
Device: OnePlus PLQ110
System: Android 16 (API 36)

Stack trace: 

.lang.IllegalArgumentException: MIME type application/octet-stream cannot be inserted into content://media/external_primary/images/media; expected MIME type under image/*
	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:153)
	at android.content.ContentProviderProxy.insert(ContentProviderNative.java:589)
	at android.content.ContentResolver.insert(ContentResolver.java:2269)
	at android.content.ContentResolver.insert(ContentResolver.java:2225)
	at me.ash.reader.infrastructure.android.AndroidImageDownloader$downloadImage$2.invokeSuspend(AndroidImageDownloader.kt:153)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:112)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:8)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:93)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@c86ebe0, Dispatchers.Main.immediate]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinguntriagedThis issue hasn't been triaged yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions