damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

sendSms NullPointerException #117

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

What device(s) are you experiencing the problem on?

samsung galaxys i9000

What firmware version are you running on the device?
2.3.3 (I9000XXJVK)

What steps will reproduce the problem?
1. use python intepreter for a shell
2. send a long sms (more thant 200 character)
3.

What is the expected output? What do you see instead?
My text message is not send i got an error: null pointer exception(show logcat 
under)

What version of the product are you using? On what operating system?
I have the last version i guess: sl4a_r4_2.apk

Please provide any additional information below.

Logcat:
V/sl4a.JsonRpcServer:74(13432): Received:
{"params": ["+33_PHONE_NUMBER_","_A_VERY_LONG_TEXT_MESSAGE"], 
"id":9,"method":"smsSend"}
E/sl4a.JsonRpcServer:101(13432): Invocation error.
E/sl4a.JsonRpcServer:101(13432): java.lang.NullPointerException.

Original issue reported on code.google.com by vincentp...@gmail.com on 12 Dec 2011 at 5:00

Copied from original issue: damonkohler/android-scripting#590

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

Still the same problem with a text message that got more than 150char.

Original comment by vincentp...@gmail.com on 7 Jun 2012 at 1:38

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

I found out that you can't send a multipart sms (a sms with 160 character) with 
sl4A.

Original comment by vincentp...@gmail.com on 19 Jul 2012 at 2:11