Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
11-29 20:47:03.365 11226-11226/? E/ActivityThread: Activity com.hariharan.arduinousb.MainActivity has leaked IntentReceiver com.hariharan.arduinousb.MainActivity$2@419c5880 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.hariharan.arduinousb.MainActivity has leaked IntentReceiver com.hariharan.arduinousb.MainActivity$2@419c5880 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:763)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:567)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1155)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1142)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1136)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:348)
at com.hariharan.arduinousb.MainActivity.onCreate(MainActivity.java:120)
at android.app.Activity.performCreate(Activity.java:4470)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
at android.app.ActivityThread.access$600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4514)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
at dalvik.system.NativeStart.main(Native Method)
11-29 20:47:16.439 11226-11475/? E/AndroidRuntime: FATAL EXCEPTION: Thread-3125
java.lang.NullPointerException
at android.hardware.usb.UsbDeviceConnection.bulkTransfer(UsbDeviceConnection.java:140)
at com.felhr.usbserial.UsbSerialDevice$ReadThread.run(UsbSerialDevice.java:272)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.