https://bugs.kde.org/show_bug.cgi?id=412493

            Bug ID: 412493
           Summary: Exception in SMSPlugin's onPacketReceived()
           Product: kdeconnect
           Version: unspecified
          Platform: Android
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: ricardo.e.p.rodrig...@gmail.com
  Target Milestone: ---

SUMMARY

No SMS history is shown.

Although similar in name to bug 402032, it does show a different error,
complaining instead of "Attempt to invoke interface method 'int
java.util.List.size()' on a null object reference".

I am able to send SMS.

STEPS TO REPRODUCE
1. Connect the device to the computer
2. Open the SMS chat window. (currently using GSConnect)

OBSERVED RESULT

No Conversations appear.

EXPECTED RESULT

All SMS history should appear.


SOFTWARE/OS VERSIONS
Linux: Ubuntu 19.04 using GSConnect (built from master)
Android: Oneplus 3T (Android 9)

ADDITIONAL INFORMATION

Log output:

10-01 00:20:16.757  4102  5842 E KDE/Device: Exception in SMSPlugin's
onPacketReceived()
10-01 00:20:16.757  4102  5842 E KDE/Device: java.lang.NullPointerException:
Attempt to invoke interface method 'int java.util.List.size()' on a null object
reference
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Helpers.TelephonyHelper.getAllPhoneNumbers(TelephonyHelper.java:99)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Helpers.SMSHelper.getMessages(SMSHelper.java:213)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Helpers.SMSHelper.getConversations(SMSHelper.java:335)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Plugins.SMSPlugin.SMSPlugin.handleRequestConversations(SMSPlugin.java:393)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Plugins.SMSPlugin.SMSPlugin.onPacketReceived(SMSPlugin.java:329)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Device.onPacketReceived(Device.java:569)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Backends.BaseLink.packageReceived(BaseLink.java:84)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Backends.LanBackend.LanLink.receivedNetworkPacket(LanLink.java:255)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Backends.LanBackend.LanLink.lambda$reset$0$LanLink(LanLink.java:109)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
org.kde.kdeconnect.Backends.LanBackend.-$$Lambda$LanLink$TabvaCXA5qL_bcJDmIELWusNThw.run(Unknown
Source:4)
10-01 00:20:16.757  4102  5842 E KDE/Device:    at
java.lang.Thread.run(Thread.java:764)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to