Bug 492045 - The KDE Connect app crashes when opening Presentation remote (crash log)
Summary: The KDE Connect app crashes when opening Presentation remote (crash log)
Status: RESOLVED DUPLICATE of bug 491722
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 14.x
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-22 14:59 UTC by Artem
Modified: 2024-09-02 20:44 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem 2024-08-22 14:59:40 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. All permissions are set
2. Opening the KDE Connect app
3. Click on the Presentation remote button

OBSERVED RESULT
The app crashes

EXPECTED RESULT
open Presentation remote

SOFTWARE/OS VERSIONS
Android 14

ADDITIONAL INFORMATION

This information is generated from the Crash Log View application. - https://play.google.com/store/apps/details?id=com.arumcomm.crashlogviewer

Process: org.kde.kdeconnect_tp
PID: 24844
UID: 10344
Frozen: false
Flags: 0x30c83e44
Package: org.kde.kdeconnect_tp v13200 (1.32.0)
PID: 24844
Foreground: Yes
Process-Runtime: 8391
Build: realme/RMX3852/RE5C46L1:14/UP1A.231005.007/U.191ba43-877f-3b2c0:user/release-keys
Crash-Handler: com.android.internal.os.RuntimeInit$KillApplicationHandler
Loading-Progress: 1.0
Dropped-Count: 0

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:3915)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4181)
	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)
	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2643)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:257)
	at android.os.Looper.loop(Looper.java:368)
	at android.app.ActivityThread.main(ActivityThread.java:8848)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
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:1397)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3902)
	... 12 more
Comment 1 Stevan White 2024-08-25 18:29:40 UTC
I see this also on Android 12.
Comment 2 fsclkpzf 2024-08-26 11:50:37 UTC
*** This bug has been marked as a duplicate of bug 491722 ***