Hawks12 / websmsdroid

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

WebSMS O2 Connector does not work #755

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Sending a SMS 
2.
3.

SMS is not sent but the Connector is being shut down. Error: "Leider wurde 
WebSMS Connector:o2 beendet"

Version: WebSMS v4.5.1

Device: HTC Desire

Android 4.0.4 Evervolv Custom Rom

Original issue reported on code.google.com by FredZadr...@googlemail.com on 17 Oct 2012 at 12:21

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by f...@ub0r.de on 17 Oct 2012 at 5:51

GoogleCodeExporter commented 8 years ago
Could you try and provide logs? Does this happen always? Did you change your 
settings recently?

Original comment by sca...@gmail.com on 17 Oct 2012 at 5:55

GoogleCodeExporter commented 8 years ago
Actually I have already provided a log in my original posting called 
"sendlog.txt" and yes it happens every time I try to send a SMS. 

And no I didn't change any settings since I set up my phone newly with the ICS 
4.0.4. Rom from Evervolv. I already tried a de- and reinstallation of both 
WebSMS and the Connector.

I hope this is enough Info

Original comment by FredZadr...@googlemail.com on 17 Oct 2012 at 7:26

GoogleCodeExporter commented 8 years ago
Thanks. Sending worked on whatever ROM you used before? If yes, can you try 
going back to the previous ROM (nandroid et al) and try sending a message?

I'm copying the relevant info from the logfile:

E/AndroidRuntime( 5685): FATAL EXCEPTION: main
E/AndroidRuntime( 5685): java.lang.RuntimeException: Unable to start service 
de.ub0r.android.websms.connector.common.ConnectorService@4112c8e0 with Intent { 
act=de.ub0r.android.websms.connector.o2.RUN_SEND 
cmp=de.ub0r.android.websms.connector.o2/de.ub0r.android.websms.connector.common.
ConnectorService (has extras) }: java.lang.NullPointerException
E/AndroidRuntime( 5685):    at 
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2499)
E/AndroidRuntime( 5685):    at 
android.app.ActivityThread.access$1900(ActivityThread.java:132)
E/AndroidRuntime( 5685):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1220)
E/AndroidRuntime( 5685):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5685):    at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5685):    at 
android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 5685):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 5685):    at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5685):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 5685):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 5685):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5685): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 5685):    at 
android.app.PendingIntent.getActivity(PendingIntent.java:195)
E/AndroidRuntime( 5685):    at 
de.ub0r.android.websms.connector.common.ConnectorService.getNotification(Connect
orService.java:125)
E/AndroidRuntime( 5685):    at 
de.ub0r.android.websms.connector.common.ConnectorService.register(ConnectorServi
ce.java:159)
E/AndroidRuntime( 5685):    at 
de.ub0r.android.websms.connector.common.ConnectorService.onStart(ConnectorServic
e.java:88)
E/AndroidRuntime( 5685):    at 
android.app.IntentService.onStartCommand(IntentService.java:130)
E/AndroidRuntime( 5685):    at 
android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2482)
E/AndroidRuntime( 5685):    ... 10 more

Looks like an API / botched ROM issue to me. What's your opinion, Felix?

Original comment by sca...@gmail.com on 17 Oct 2012 at 7:47

GoogleCodeExporter commented 8 years ago
looks like something i fixed aleardy in websms-api:

before ICS(?), it was ok to attach a null-Intent to a notification.
but this changed with some API level.

the current code attaches a Intent to the websms app:

https://github.com/felixb/websms-api/blob/master/src/de/ub0r/android/websms/conn
ector/common/ConnectorService.java#L128

Original comment by f...@ub0r.de on 17 Oct 2012 at 7:52

GoogleCodeExporter commented 8 years ago
wtf? i fixed this 1.5y ago :O

https://github.com/felixb/websms-api/commit/d88a9c4625294ac78222a80f35b5d406cd2a
d5dc

Original comment by f...@ub0r.de on 17 Oct 2012 at 7:55

GoogleCodeExporter commented 8 years ago
As far as I can remember I have rebuilt the connector since then. Fred, can
you check which connector version was installed?

Original comment by sca...@gmail.com on 17 Oct 2012 at 8:51

GoogleCodeExporter commented 8 years ago
It's the latest version on Google Play  Version 1.7.5

Original comment by FredZadr...@googlemail.com on 17 Oct 2012 at 8:59

GoogleCodeExporter commented 8 years ago
The comments in play store are looking the same. 

@scahoo: did you build the API from source aka got the source from my github 
master? 

Original comment by f...@ub0r.de on 17 Oct 2012 at 9:22

GoogleCodeExporter commented 8 years ago
timeout.

Original comment by f...@ub0r.de on 20 Dec 2013 at 2:59