Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Joplin app crashes on startup

  • /e/ version: 0.9-2020062860623 (based on Android 7.1.2)
  • Device model: Samsung S7
  • When it started to occur: I was never able to start the Joplin app. Currently have version 1.0.333 (latest version) installed. But had the issue also with older versions.
  • Reproducible with the last /e/ version: yes, I'm on the latest available version for this model.
  • Reproducible with LineageOS: I have no option to test.

Summary

After installation of the Joplin app (from various sources like Aurora, /e/ appstore, F-Droid, IzzyOnDroid) I'm not able to start the app. It just crashes on startup. Have opened an issue first in the Joplin community. The developer confirms that there are now Joplin app specific errors in the logcat.txt file. (https://discourse.joplinapp.org/t/joplin-app-keeps-crashing-on-e-os/10237/3). It apparently has to do with libraries which are not available.

  • The device is unusable
  • The bug is the source of a data loss or a big waste of time
  • The bug concerns a third-party application
  • The bug concerns security
  • The bug concerns privacy

The problem

Steps to reproduce

  • Install app from a repository.
  • Startup app

I understand, that various users are vary happily using the app on /e/OS. However, I did find one other user (also on Samsung S7) who seems to have the same issue (https://community.e.foundation/t/joplin-keeps-crashing-at-launch/10786)

What is the current behavior? Just crashing

What is the expected correct behavior? Being a happy user of a starting Joplin app

Technical informations

Relevant logs (adb logcat)

logcat.txt

07-24 13:55:20.673 25036 25036 I art     : Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
07-24 13:55:20.673 25036 25036 I art     :   at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2203)
07-24 13:55:20.673 25036 25036 I art     :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:637)
07-24 13:55:20.673 25036 25036 I art     :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
07-24 13:55:20.673 25036 25036 I art     :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(android.view.View) (AppCompatDelegateImpl.java:457)
07-24 13:55:20.673 25036 25036 I art     :   at void androidx.appcompat.app.AppCompatActivity.setContentView(android.view.View) (AppCompatActivity.java:145)
07-24 13:55:20.673 25036 25036 I art     :   at void com.facebook.react.ReactActivityDelegate.loadApp(java.lang.String) (ReactActivityDelegate.java:89)
07-24 13:55:20.673 25036 25036 I art     :   at void com.facebook.react.ReactActivityDelegate.onCreate(android.os.Bundle) (ReactActivityDelegate.java:83)
07-24 13:55:20.673 25036 25036 I art     :   at void com.facebook.react.ReactActivity.onCreate(android.os.Bundle) (ReactActivity.java:44)
07-24 13:55:20.673 25036 25036 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6684)
07-24 13:55:20.673 25036 25036 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
07-24 13:55:20.673 25036 25036 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2637)
07-24 13:55:20.673 25036 25036 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2751)
07-24 13:55:20.673 25036 25036 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
07-24 13:55:20.673 25036 25036 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1496)
07-24 13:55:20.673 25036 25036 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
07-24 13:55:20.673 25036 25036 I art     :   at void android.os.Looper.loop() (Looper.java:154)
07-24 13:55:20.673 25036 25036 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6186)
07-24 13:55:20.673 25036 25036 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
07-24 13:55:20.673 25036 25036 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:889)
07-24 13:55:20.673 25036 25036 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:779)
07-24 13:55:20.673 25036 25036 I art     : Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/net.cozic.joplin-1/base.apk"],nativeLibraryDirectories=[/data/app/net.cozic.joplin-1/lib/arm64, /data/app/net.cozic.joplin-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
07-24 13:55:20.673 25036 25036 I art     :   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
07-24 13:55:20.674 25036 25036 I art     :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
07-24 13:55:20.674 25036 25036 I art     :   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
07-24 13:55:20.674 25036 25036 I art     :   at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2203)
07-24 13:55:20.674 25036 25036 I art     :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:637)
07-24 13:55:20.674 25036 25036 I art     :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
07-24 13:55:20.674 25036 25036 I art     :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(android.view.View) (AppCompatDelegateImpl.java:457)
07-24 13:55:20.674 25036 25036 I art     :   at void androidx.appcompat.app.AppCompatActivity.setContentView(android.view.View) (AppCompatActivity.java:145)
07-24 13:55:20.674 25036 25036 I art     :   at void com.facebook.react.ReactActivityDelegate.loadApp(java.lang.String) (ReactActivityDelegate.java:89)
07-24 13:55:20.674 25036 25036 I art     :   at void com.facebook.react.ReactActivityDelegate.onCreate(android.os.Bundle) (ReactActivityDelegate.java:83)
07-24 13:55:20.674 25036 25036 I art     :   at void com.facebook.react.ReactActivity.onCreate(android.os.Bundle) (ReactActivity.java:44)
07-24 13:55:20.674 25036 25036 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6684)
07-24 13:55:20.674 25036 25036 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
07-24 13:55:20.674 25036 25036 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2637)
07-24 13:55:20.674 25036 25036 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2751)
07-24 13:55:20.674 25036 25036 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
07-24 13:55:20.674 25036 25036 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1496)
07-24 13:55:20.674 25036 25036 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
07-24 13:55:20.674 25036 25036 I art     :   at void android.os.Looper.loop() (Looper.java:154)
07-24 13:55:20.674 25036 25036 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6186)
07-24 13:55:20.674 25036 25036 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
07-24 13:55:20.674 25036 25036 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:889)
07-24 13:55:20.674 25036 25036 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:779)

Solutions

Workaround

None

Possible fixes

If only I had an idea.

Edited by maestr0