Tobi823 / ffupdater

FFUpdater: Updater for privacy friendly browser
https://f-droid.org/en/packages/de.marmaro.krt.ffupdater
GNU General Public License v3.0
687 stars 33 forks source link

ffupdater keeps crashing on checking #477

Closed ffu-user closed 1 year ago

ffu-user commented 1 year ago

As requested by app crash message, here it is following description of behaviour:

if Foreground: Update checks on metered: app crash and crash message

if no Foreground check, Background only, unmetered (but with no unmetered connection possible, so just checked without connecting) : no crash

The crash message:

Stacktrace:

java.lang.NoSuchMethodError: No virtual method start(Ljava/lang/String;)I in class Ljava/util/regex/Matcher; or its super classes (declaration of 'java.util.regex.Matcher' appears in /system/framework/core-libart.jar)
 at kotlin.internal.jdk8.JDK8PlatformImplementations$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:0)
 at kotlin.internal.jdk8.JDK8PlatformImplementations.getMatchResultNamedGroup(JDK8PlatformImplementations.kt:45)
 at kotlin.text.MatcherMatchResult$groups$1.get(Regex.kt:372)
 at kotlin.text.jdk8.RegexExtensionsJDK8Kt.get(RegexExtensions.kt:35)
 at de.marmaro.krt.ffupdater.network.mozillaci.MozillaCiJsonConsumer.findTaskId(MozillaCiJsonConsumer.kt:28)
 at de.marmaro.krt.ffupdater.network.mozillaci.MozillaCiJsonConsumer$findTaskId$1.invokeSuspend(MozillaCiJsonConsumer.kt:0)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
 at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
 at android.os.Handler.handleCallback(Handler.java:739)
 at android.os.Handler.dispatchMessage(Handler.java:95)
 at android.os.Looper.loop(Looper.java:148)
 at android.app.ActivityThread.main(ActivityThread.java:5477)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
 Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@3cb2914, Dispatchers.Main]

Logs:

java.lang.NoSuchMethodError: No virtual method start(Ljava/lang/String;)I in class Ljava/util/regex/Matcher; or its super classes (declaration of 'java.util.regex.Matcher' appears in /system/framework/core-libart.jar)
 at kotlin.internal.jdk8.JDK8PlatformImplementations$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:0)
 at kotlin.internal.jdk8.JDK8PlatformImplementations.getMatchResultNamedGroup(JDK8PlatformImplementations.kt:45)
 at kotlin.text.MatcherMatchResult$groups$1.get(Regex.kt:372)
 at kotlin.text.jdk8.RegexExtensionsJDK8Kt.get(RegexExtensions.kt:35)
 at de.marmaro.krt.ffupdater.network.mozillaci.MozillaCiJsonConsumer.findTaskId(MozillaCiJsonConsumer.kt:28)
 at de.marmaro.krt.ffupdater.network.mozillaci.MozillaCiJsonConsumer$findTaskId$1.invokeSuspend(MozillaCiJsonConsumer.kt:0)
 at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
 at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
 at android.os.Handler.handleCallback(Handler.java:739)
 at android.os.Handler.dispatchMessage(Handler.java:95)
 at android.os.Looper.loop(Looper.java:148)
 at android.app.ActivityThread.main(ActivityThread.java:5477)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
 Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@3cb2914, Dispatchers.Main]
Device information: Key Value
FFUpdater version 78.1.2 (151) release Github
Device 6039K (6039K, idol347, msm8916)
Manufacturer TCL (TCL)
Supported ABIs armeabi-v7a, armeabi
Android version 6.0.1 (SDK: 23)
OS 50493-2600, sl_nb_zpxiang, release-keys, 1474864846000

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Error message from FFUpdater Please copy and paste the error message with the stacktrace and error log here:

Tobi823 commented 1 year ago

I can reproduce this error

Tobi823 commented 1 year ago

I found the problem and fix it. The fix will be part of the next release.