dev1303 / gtalksms

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

ReceiverCallNotAllowedException #264

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am home, a situation where Tasker would start GTalkSMS automatically using a 
broadcast intent (since the service intent, you know, … :-). It is possible 
(Tasker doesn't leave log entries) that Tasker sent this intent early in the 
boot process, before GTalkSMS had a chance to start.

I/ActivityManager(  199): Start proc com.googlecode.gtalksms for broadcast 
com.googlecode.gtalksms/.receivers.PublicIntentReceiver: pid=1687 uid=10125 
gids={3002, 3001, 1006, 3003, 1015, 1007}
I/dalvikvm( 1687): Turning on JNI app bug workarounds for target SDK version 
12...
D/dalvikvm( 1607): GC_CONCURRENT freed 122K, 3% free 9600K/9863K, paused 3ms+2ms
E/gtalksms( 1687): Using log without initialize settings manager. 
[Ljava.lang.StackTraceElement;@4136f7a8
I/ActivityManager(  199): Start proc 
com.google.android.apps.maps:LocationFriendService for broadcast 
com.google.android.apps.maps/com.google.googlenav.friend.reporting.LocationRepor
tingIntentReceiver: pid=1702 uid=10132 gids={3003, 1015}
D/dalvikvm( 1702): GC_CONCURRENT freed 165K, 4% free 9441K/9735K, paused 2ms+3ms
D/AndroidRuntime( 1687): Shutting down VM
W/dalvikvm( 1687): threadid=1: thread exiting with uncaught exception 
(group=0x40a611f8)
E/AndroidRuntime( 1687): FATAL EXCEPTION: main
E/AndroidRuntime( 1687): java.lang.RuntimeException: Unable to create service 
com.googlecode.gtalksms.MainService: 
android.content.ReceiverCallNotAllowedException: IntentReceiver components are 
not allowed to register to receive intents
E/AndroidRuntime( 1687):        at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:2263)
E/AndroidRuntime( 1687):        at 
android.app.ActivityThread.access$1600(ActivityThread.java:123)
E/AndroidRuntime( 1687):        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
E/AndroidRuntime( 1687):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1687):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1687):        at 
android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 1687):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 1687):        at 
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1687):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
E/AndroidRuntime( 1687):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
E/AndroidRuntime( 1687):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1687): Caused by: 
android.content.ReceiverCallNotAllowedException: IntentReceiver components are 
not allowed to register to receive intents
E/AndroidRuntime( 1687):        at 
android.app.ReceiverRestrictedContext.registerReceiver(ContextImpl.java:118)
E/AndroidRuntime( 1687):        at 
android.app.ReceiverRestrictedContext.registerReceiver(ContextImpl.java:112)
E/AndroidRuntime( 1687):        at 
com.googlecode.gtalksms.receivers.PublicIntentReceiver.onServiceStart(PublicInte
ntReceiver.java:49)
E/AndroidRuntime( 1687):        at 
com.googlecode.gtalksms.MainService.onCreate(MainService.java:403)
E/AndroidRuntime( 1687):        at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:2253)
E/AndroidRuntime( 1687):        ... 10 more

Original issue reported on code.google.com by fschm...@gmail.com on 9 Apr 2012 at 5:39

GoogleCodeExporter commented 8 years ago
This issue was closed by revision febd965a7c8c.

Original comment by fschm...@gmail.com on 12 Apr 2012 at 1:13

GoogleCodeExporter commented 8 years ago
Fixed with GTalkSMS v4.0 and released on market

Original comment by Florent....@gmail.com on 28 Jul 2012 at 4:20

GoogleCodeExporter commented 8 years ago
Fixed with GTalkSMS v4.0 and released on market

Original comment by Florent....@gmail.com on 28 Jul 2012 at 4:20