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

--- Comment #12 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
(In reply to Ori B from comment #10)
> (In reply to Piotr Mierzwinski from comment #9)
> > > For those with this problem, are you trying to send a message to your own
> > > number? 
> > Sorry? I don't get you. How can I send any message to my own number if my
> > number is assigned to device what actual sends message? 
> 
> In my phone I can send an SMS to myself, it shows up as a received message a
> moment later and it's a good way to test. That's what I was trying to do but
> from kdeconnect. What's happening for me now, with the latest kdeconnect, is
> that an SMS to myself fails silently.

I'm not sure how you did it, so I tried to do it like below:
1st way:
I entered my phone number (9 digits) in field 'Filter' and clicked 'New'. In
result number appeared in list below. I clicked into it and entered messaged
and pressed Enter. In result happened nothing.
2st way:
I entered my phone number (+country_prefix concatenated with 9 digits) in field
'Filter'  and clicked 'New'. One was added number without "+"...
After pressing Enter in message field happened nothing.
Notice please. This is not so much important because I can send any test
message to my friend.


> > Let me know please what should I do to provide some logs from phone,
> > assuming that an issue happens in Android application.
> 
> Sure thing. You can set up adb (Android debugging), instructions for that
> are online and the simplest method involves plugging the phone to your
> computer with a USB cable. Then run the command "adb logcat" from a terminal
> window and you'll have a stream of all log messages coming from your phone.
> Ctrl+C in that terminal to stop that process soon after you've tried sending
> a message.

OK. Thanks for helpful info. I did what you described and in result got info
about crashed application - very similar to one provided by  Charis Mitsakis.

08-16 19:57:33.953  3851 13715 W Sending message: Unable to get outgoing
address for sub ID 1 using null
08-16 19:57:33.959  3016 12719 D TelephonyProvider: subIdString = 1 subId = 1
08-16 19:57:33.977  3851 13715 E Sending message: Exception
08-16 19:57:33.977  3851 13715 E Sending message:
java.lang.NullPointerException: Attempt to read from field 'java.lang.String
org.kde.kdeconnect.Helpers.TelephonyHelper$LocalPhoneNumber.number' on a null
object reference
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Plugins.SMSPlugin.SmsMmsUtils.sendMessage(SmsMmsUtils.java:158)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Plugins.SMSPlugin.SMSPlugin.onPacketReceived(SMSPlugin.java:413)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Device.onPacketReceived(Device.java:570)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Backends.BaseLink.packageReceived(BaseLink.java:70)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Backends.LanBackend.LanLink.receivedNetworkPacket(LanLink.java:249)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Backends.LanBackend.LanLink.lambda$reset$0(LanLink.java:97)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Backends.LanBackend.LanLink.lambda$reset$0$LanLink(Unknown
Source:0)
08-16 19:57:33.977  3851 13715 E Sending message:       at
org.kde.kdeconnect.Backends.LanBackend.-$$Lambda$LanLink$u8LWlVA_uGoxlkxdXMbWulE13kY.run(Unknown
Source:4)
08-16 19:57:33.977  3851 13715 E Sending message:       at
java.lang.Thread.run(Thread.java:764)

KDE Connect (Android) 1.17.0
KDE Connect (Plasma)  21.08.0

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

Reply via email to