Skip to content

Crash while doing a seach inside a note: NullPointerException: Attempt to invoke interface method 'void com.nextcloud.android.sso.api.NextcloudAPI$ApiConnectedListener.onConnected()' #2622

Open
@adysanro

Description

@adysanro

This issue respects the following points:

Describe the bug

App crash while doing a seach inside a note.

Steps to reproduce:

  1. open the app
  2. click on a note
  3. use the magnifying glass to search
  4. type text
  5. the crash occurs
    Seems to be occuring randomly and when the first few letters of a word that is in the note multiple times is typed. And for bigger notes it seems, like 60 lines and 10000 characters

Expected behavior

No crash when doing a search for text inside a note

Notes Android version

4.3.1

Notes server version

4.11.0

Nextcloud Android version

3.31.1

Nextcloud version

31.0.2

Device

Samsung Galaxy A53 5G

Android Version

14

App Store

  • Google Play Store
  • F-Droid
  • Huawei App Gallery

Stacktrace

App Version: 4.3.1
App Version Code: 40030192
App Flavor: play

Files App Version Code: 30310090 (PROD)

 

OS Version: 5.10.223-android12-9-28577532-abA536BXXSDEYB9(A536BXXSDEYB9)
OS API Level: 34
Device: a53x
Manufacturer: samsung
Model (and Product): SM-A536B (a53xnaeea)

 

java.lang.NullPointerException: Attempt to invoke interface method 'void com.nextcloud.android.sso.api.NextcloudAPI$ApiConnectedListener.onConnected()' on a null object reference
at com.nextcloud.android.sso.api.AidlNetworkRequest$1.onServiceConnected(AidlNetworkRequest.java:69)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:2348)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:2385)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions