| Summary: | KDE Connect aplication crashes when entering Presentation remote mode. | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Giovanni <vj5na8bi9> |
| Component: | android-application | Assignee: | Albert Vaca Cintora <albertvaka> |
| Status: | CONFIRMED --- | ||
| Severity: | crash | CC: | andrew.g.r.holmes, aqtem4uk, atharvsnehalshirgurkar, fsclkpzf, hi, ipf3dqtxb, keigh.rim, maico.suse, poets-sepals.0j, ulrich.schreiner |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Giovanni
2024-08-14 16:41:18 UTC
I am also experiencing this issue. I can use "remote input" but "Presentation remote" causes an instant crash of the android app. It worked for me once and every instance since it crashes the app. The only other functionality that I have issues with are when disconnecting from my network and reconnecting (i.e. going outside and touching grass) the kde app does not always reconnect. Phone: Pixel 6 pro Android 14 Kde connect 1.32 (installed from play store) Computer: EndeavorOS kenrnel 6.10.3-arch1-2 `kdeconnect-cli --version`: 24.05.2 Connected via Ethernet & static IP (phone should be static on my network too) Firewall is opened using the firewall-cmd command in the docs (`firewall-cmd --permanent --zone=public --add-service=kdeconnect` Endeavor is actually a fresh install. Less than a week old. *** Bug 492045 has been marked as a duplicate of this bug. *** (In reply to fsclkpzf from comment #2) > *** Bug 492045 has been marked as a duplicate of this bug. *** Note: Bug 492045 have a crash dump I also experience this issue on a Google Pixel 8a on KDE Connect 1.32.0. It is connected to my laptop running Fedora with KDE Plasma 6.
My desktop kernel is 6.9.12 (due to a separate bug preventing me from updating)
Otherwise, everything is exactly the same as the original report. Remote input works fine.
Here is my crash dump:
```
type: crash
osVersion: google/akita/akita:14/AP2A.240805.005.A1/2024082200:user/release-keys
package: org.kde.kdeconnect_tp:13200
process: org.kde.kdeconnect_tp
processUptime: 1543 + 406 ms
installer: com.machiav3lli.fdroid
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.kde.kdeconnect_tp/org.kde.kdeconnect.Plugins.PresenterPlugin.PresenterActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3910)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4184)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem(TransactionExecutor.java:231)
at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:152)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2602)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8623)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ExecInit.main(ExecInit.java:50)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
at org.kde.kdeconnect.Plugins.PresenterPlugin.PresenterActivity.<init>(PresenterActivity.kt:52)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95)
at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:44)
at android.app.Instrumentation.newActivity(Instrumentation.java:1453)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3897)
... 15 more
```
The KDE Connect app crashes when attempting to use the Presentation Remote feature on Android. The issue occurs specifically with APK version 1.32. The issue does not occur with KDE Connect version 1.31.1 (downloaded from F-Droid). The issue is not present in the forked version of the app, Zorin Connect. Also experiencing this issue This has been fixed but Google is rejecting the updates to the Play Store version of the app :( The F-Droid version should have the fix. |