ReadYouApp / ReadYouApp/ReadYou
bug
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 7.5k
- Forks
- 330
- PR merge metrics
- No merged PRs in 30d
Description
Version: 0.12.1
Device: Xiaomi 23054RA19C
System: Android 14 (API 34)
Stack trace:
be.ceau.opml.OpmlParseException: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:START_TAG @9:130 in java.io.InputStreamReader@dd784aa)
at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:299)
at me.ash.reader.domain.service.OpmlService$saveToDatabase$2.invokeSuspend(OpmlService.kt:180)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:115)
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:94)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@43f0377, Dispatchers.Default]
Caused by: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:START_TAG @9:130 in java.io.InputStreamReader@dd784aa)
at com.android.org.kxml2.io.KXmlParser.readEntity(KXmlParser.java:1220)
at com.android.org.kxml2.io.KXmlParser.readValue(KXmlParser.java:1402)
at com.android.org.kxml2.io.KXmlParser.parseStartTag(KXmlParser.java:1123)
at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:372)
at com.android.org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
at be.ceau.opml.OpmlParser.extract(OpmlParser.java:53)
at me.ash.reader.infrastructure.rss.OPMLDataSource.parseFileInputStream(OPMLDataSource.kt:16)
... 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 with the failing import path in infrastructure/rss/OPMLDataSource.kt, especially parseFileInputStream at the stack-trace location, and inspect the call into OpmlParser.extract. Reproduce the failure using an OPML file containing the shown outline entry and confirm that importing it completes without the unterminated entity ref exception.
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
- 38/100