Simple-SMS-Messenger icon indicating copy to clipboard operation
Simple-SMS-Messenger copied to clipboard

Error when sending MMS

Open gulduar opened this issue 3 years ago • 18 comments

When trying to send an MMS from either an existing message thread or after creating a new one, the follow error appears: "Error: java.lang.ArrayIndexOutOfBoundsException: length=0; indes=-1"

The message does not send after that. The app can still receive them but not send.

app version 5.17.5

gulduar avatar Mar 13 '23 21:03 gulduar

what app and OS version are you using?

tibbi avatar Mar 13 '23 21:03 tibbi

App version: 5.17.5 OS Version: CalyxOS (Android 13) Phone: Pixel 5a

gulduar avatar Mar 13 '23 21:03 gulduar

Also 5.17.5 here, trying to send a group message. I'd just turned on the "send group messages as MMS" option because previously it was sending the group messages individually.

OS: Android 9/OOS Phone: 1+6t

gbakeman avatar Mar 14 '23 15:03 gbakeman

Seems to be related to #589 On val lastAttachment = attachments[attachments.lastIndex] in app/src/main/kotlin/com/simplemobiletools/smsmessenger/messaging/Messaging.kt the lastIndex will be -1, which is not a valid array access.

https://github.com/Naveen3Singh/Simple-SMS-Messenger/commit/abb7e66105fbac931cafb2ea37436b1493e62330 looks like it might address the issue.

camporter avatar Mar 16 '23 21:03 camporter

Also seen on App Version: 5.17.5 OS Version: LineageOS 19 / MicroG / Android 12 Phone: OnePlus 9

But works if I attach an image

therussellhome avatar Mar 18 '23 14:03 therussellhome

I am seeing the same error message on Android 13, App Version: 5.17.5. If I try to send an image with the message the I get a message "error 5", but I am not sure if this is related.

frederickjh avatar Mar 18 '23 19:03 frederickjh

so can you guys check if the issue is related to the "Send group messages as MMS" setting?

tibbi avatar Mar 19 '23 19:03 tibbi

My MMS error says the exact same thing. App Version: 5.17.5 OS Version: Android 9 Phone: Galaxy S10e

Occupant9589Carpet avatar Mar 19 '23 19:03 Occupant9589Carpet

so can you guys check if the issue is related to the "Send group messages as MMS" setting?

That's how I started experiencing the issue, and why I'm following here - I hope this is the right one! Currently back to Signal + My phone's stock SMS app.

gbakeman avatar Mar 19 '23 19:03 gbakeman

I unchecked "Send group messages as MMS" and it went through and created an individual conversation with everyone. Hopefully it gets fixed soon so we can "Send group messages as MMS". Thank you.

Occupant9589Carpet avatar Mar 19 '23 19:03 Occupant9589Carpet

I unchecked "Send group messages as MMS" and it went through and created an individual conversation with everyone. Hopefully it gets fixed soon so we can "Send group messages as MMS". Thank you.

Same experience here as well. Seems to not work if I have that enabled.

gulduar avatar Mar 19 '23 22:03 gulduar

Also seen on: App Version: 5.17.5 OS Version: Android 13 Phone: Pixel 5

themichaelolson avatar Mar 20 '23 14:03 themichaelolson

started with the latest release; it worked fine on 5.17.4

anaskaejdar avatar Mar 20 '23 21:03 anaskaejdar

so can you guys check if the issue is related to the "Send group messages as MMS" setting?

I don't believe it is. I first noticed this issue when trying to send to a group. I then tried to send an image to one person but this also failed. So, I believe it affects all MMSes.

frederickjh avatar Mar 21 '23 04:03 frederickjh

Affecting all MMS messages for me, as well (group as MMS, SMS over the character limit, attaching photos/videos, etc).

App Version: 5.17.5 OS Version: Android 13 Phone: Samsung Galaxy S20 5G (SM-G981U1)

infiniteloup avatar Mar 24 '23 04:03 infiniteloup

Still having this issue on ver. 5.17.5. All MMS. Phone is a Pixel 4a.

enxio27 avatar Apr 19 '23 22:04 enxio27

thats an old app version, just get 5.18.x

tibbi avatar Apr 20 '23 07:04 tibbi

On Thursday, April 20, 2023 3:35 AM, Tibor Kaputa @.***> wrote:

thats an old app version, just get 5.18.x

Message ID: <SimpleMobileTools/Simple-SMS- @.***>

Thanks! I had to update fdroid (which didn't tell me it wasn't up to date) in order to find the new version. It seems to be working now.

enxio27 avatar Apr 20 '23 20:04 enxio27