Closed GoogleCodeExporter closed 9 years ago
Original comment by f...@ub0r.de
on 17 Oct 2012 at 5:51
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
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
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
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
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
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
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
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
timeout.
Original comment by f...@ub0r.de
on 20 Dec 2013 at 2:59
Original issue reported on code.google.com by
FredZadr...@googlemail.com
on 17 Oct 2012 at 12:21Attachments: