lin888dick / websmssend

Automatically exported from code.google.com/p/websmssend
0 stars 0 forks source link

Nokia C3-01, GMX: "String index out of range: -19" when sending (v0.80.0). #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.GMX account configured with email-adress/password/Sender(GMX SMS, own mobile 
number, telephone number nnn)
2.adding receivers mobile number and SMS-text
3.hitting SEND, selecting WLAN to be used(I don't have no mobile internet 
provider)

What is the expected output? What do you see instead?
I'd expect that Authentification was successful, and SMS will be sent; after 
hitting SEND, info "Zugangsdaten werden überprüft" is shown, then "String 
index out of range: -19" is shown, then "SMS was not sent!"

What version of the product are you using? On what operating system?
v0.80.0; Nokia C3-01

Please provide any additional information below.
Installation of the jad/jar files via Ovi Suite was successful; app opens up on 
the mobile and works w/o problems; just sending is not alright :(

Original issue reported on code.google.com by ismurato...@gmail.com on 20 Jun 2012 at 8:43

GoogleCodeExporter commented 9 years ago
Sorry for not answering earlier. Please send Debug file like described in Wiki 
http://code.google.com/p/websmssend/wiki/FehlerMeldungenVersenden

Original comment by redrocke...@gmail.com on 20 Jul 2012 at 4:38

GoogleCodeExporter commented 9 years ago
Please install and use this version to send the debug files: 
http://code.google.com/p/websmssend/issues/detail?id=68#c2

Original comment by redrocke...@gmail.com on 20 Jul 2012 at 6:16

GoogleCodeExporter commented 9 years ago
Thanks for your reply! Thanks for the updated version; had the same issue when 
I wanted to send the debug file initially; with the updated version you 
informed me about: now it worked! You should have received debug text for this 
issue #67.

Original comment by ismurato...@gmail.com on 20 Jul 2012 at 8:04

GoogleCodeExporter commented 9 years ago
Received the debug messages:

0.80.0
webSMSsend-Version: 0.80.0 Standard
System properties
microedition.configuration: CLDC-1.1
microedition.profiles: MIDP-2.1
microedition.platform: NokiaC3-01/06.00
microedition.encoding: ISO-8859-1
microedition.locale: de

Issue #67

711700: Senden pressed
711772: starte sendSMSGMX()
711772: Die SMS ist Zeichen lang: 4
711773: Anzahl SMS: 1
711773: Einstellungen werden geladen...
712275: java.io.UnsupportedEncodingException
712276: JVM doesn't support Cp1252 encoding, falling  back to internal decoding.
712276: Login wird geladen...
712277: Empfänger-Handynummer: 004916*******
712277: Zugangsdaten werden geprüft...
712278: httpHandler( GET, 
https://sms-submission-service.gmx.de/sms-submission-service/gmx/sms/2.0/SmsCapa
bilities, sms-submission-service.gmx.de,  , true ,  )
714473: HTTP Response Code: 400
714480: Host: sms-submission-service.gmx.de
714481: URL: 
https://sms-submission-service.gmx.de/sms-submission-service/gmx/sms/2.0/SmsCapa
bilities
714483: <html><head><title>Apache Tomcat/5.5.27 - Error 
report</title><style><!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:22px;} H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:16px;} H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:14px;} BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px
;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> 
</head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="noshade"><p>type 
Status report</p><p>message <u></u></p><p>description <u>The request sent by 
the client was syntactically incorrect ().</u></p><HR size="1" 
noshade="noshade"><h3>Apache Tomcat/5.5.27</h3></body></html>
714491: Login erfolgreich
714493: <html><head><title>Apache Tomcat/5.5.27 - Error 
report</title><style><!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:22px;} H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:16px;} H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:14px;} BODY 
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px
;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> 
</head><body><h1>HTTP Status 400 - </h1><HR size="1" noshade="noshade"><p>type 
Status report</p><p>message <u></u></p><p>description <u>The request sent by 
the client was syntactically incorrect ().</u></p><HR size="1" 
noshade="noshade"><h3>Apache Tomcat/5.5.27</h3></body></html>
714500: String index out of range: -19
714502: java.lang.StringIndexOutOfBoundsException: String index out of range: 
-19: String index out of range: -19

Seems your phone creates request which get an Http-Response 400 which means 
they are synThe requestactically incorrect (The request sent by the client was 
syntactically incorrect).
We probably will need more testing. I will check into this.

Original comment by redrocke...@gmail.com on 21 Jul 2012 at 9:28