ReadYouApp / ReadYouApp/ReadYou
There is a bug
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 7.5k
- Forks
- 330
- PR merge metrics
- No merged PRs in 30d
Description
1. Environment
- Device: [Pixel 6]
- OS: [Android 13]
- APP: [0.9.6]
2. Describe the bug
(I may not respond in a timely manner, but you will be notified when this issue is resolved or refused to be resolved.)
Version: 0.10.1
Device: vivo V2354A
System: Android 14 (API 34)
Stack trace:
be.ceau.opml.OpmlParseException: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT @3:88 in java.io.InputStreamReader@dc1a5e7)
at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:550)
at me.ash.reader.domain.service.OpmlService$saveToDatabase$2.invokeSuspend(OpmlService.kt:176)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:111)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:4)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:96)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@ebf1700, Dispatchers.Default]
Caused by: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT @3:88 in java.io.InputStreamReader@dc1a5e7)
at com.android.org.kxml2.io.KXmlParser.readEntity(KXmlParser.java:1235)
at com.android.org.kxml2.io.KXmlParser.readValue(KXmlParser.java:1417)
at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:402)
at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:322)
at be.ceau.opml.OpmlParser.extract(OpmlParser.java:49)
at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:20)
... 6 more
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at OPMLDataSource.kt:550 and trace the import flow from OpmlService.kt:176, using the reported Android 14 stack trace as the entry point. Reproduce the failure with the affected OPML input if it can be obtained; done means the import no longer fails on this case and the relevant behavior is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100