pulWifi/pulWifi — Issue #3: NPE registering a receiver
Author: pulimento
Created: 2011-10-24 10:48:13+00:00
State: open

Logcat :

java.lang.RuntimeException: Unable to resume activity {es.pulimento.wifi/es.pulimento.wifi.ActividadPestanias}: java.lang.RuntimeException: Unable to resume activity {es.pulimento.wifi/es.pulimento.wifi.SelectWirelessNetwork}: java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3128)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3143)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2684)
at android.app.ActivityThread.access$2300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Unable to resume activity {es.pulimento.wifi/es.pulimento.wifi.SelectWirelessNetwork}: java.lang.NullPointerException
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3128)
at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:170)
at android.app.LocalActivityManager.dispatchResume(LocalActivityManager.java:518)
at android.app.ActivityGroup.onResume(ActivityGroup.java:58)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
at android.app.Activity.performResume(Activity.java:3823)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3118)
... 12 more
Caused by: java.lang.NullPointerException
at android.app.ActivityManagerProxy.registerReceiver(ActivityManagerNative.java:1451)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:803)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:778)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:772)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:318)
at es.pulimento.wifi.SelectWirelessNetwork.onResume(SelectWirelessNetwork.java:206)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
at android.app.Activity.performResume(Activity.java:3823)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3118)
... 18 more