speakr-uconn / speakr

Android application for creating a sound system using an ad hoc network of phones.
1 stars 0 forks source link

JamListActivity Null Pointer #1

Closed ctriley closed 8 years ago

ctriley commented 8 years ago

Start the application, don't do anything and if there are no devices to be found, this could happen.

The following is the log.

03-16 13:31:25.672 6336-6336/com.speakr.connorriley.speakr I/art: Late-enabling -Xcheck:jni 03-16 13:31:25.706 6336-6342/com.speakr.connorriley.speakr E/art: Failed sending reply to debugger: Broken pipe 03-16 13:31:25.706 6336-6342/com.speakr.connorriley.speakr I/art: Debugger is no longer active 03-16 13:31:25.710 6336-6336/com.speakr.connorriley.speakr W/System: ClassLoader referenced unknown path: /data/app/com.speakr.connorriley.speakr-1/lib/arm 03-16 13:31:25.882 6336-6361/com.speakr.connorriley.speakr D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true 03-16 13:31:25.928 6336-6361/com.speakr.connorriley.speakr I/Adreno-EGL: : QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb 03-16 13:31:25.930 6336-6361/com.speakr.connorriley.speakr I/OpenGLRenderer: Initialized EGL, version 1.4 03-16 13:31:26.021 6336-6336/com.speakr.connorriley.speakr D/wifidrect: P2P state changed - 2 03-16 13:31:36.011 6336-6336/com.speakr.connorriley.speakr D/wifidrect: Disconnect failed. Reason :2 03-16 13:31:36.017 6336-6336/com.speakr.connorriley.speakr D/wifidrect: Disconnect failed. Reason :2 03-16 13:31:36.101 6336-6361/com.speakr.connorriley.speakr V/RenderScript: 0xa073e000 Launching thread(s), CPUs 4 03-16 13:31:36.853 6336-6336/com.speakr.connorriley.speakr W/View: requestLayout() improperly called by android.support.design.internal.NavigationMenuView{129a9b7 VFED.VC.. ......ID 0,0-960,1080} during layout: running second layout pass 03-16 13:31:36.856 6336-6336/com.speakr.connorriley.speakr D/wifidrect: P2P state changed - 2 03-16 13:31:44.233 6336-6336/com.speakr.connorriley.speakr D/wifidrect: P2P peers changed 03-16 13:31:44.291 6336-6336/com.speakr.connorriley.speakr D/wifidrect: Peer status :3 03-16 13:31:46.245 6336-6336/com.speakr.connorriley.speakr W/View: requestLayout() improperly called by android.support.design.internal.NavigationMenuView{afb6577 VFED.VC.. ......ID 0,0-888,1776} during layout: running second layout pass 03-16 13:31:46.247 6336-6336/com.speakr.connorriley.speakr D/wifidrect: P2P state changed - 2 03-16 13:31:46.761 6336-6336/com.speakr.connorriley.speakr D/AndroidRuntime: Shutting down VM 03-16 13:31:46.762 6336-6336/com.speakr.connorriley.speakr E/AndroidRuntime: FATAL EXCEPTION: main Process: com.speakr.connorriley.speakr, PID: 6336 java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setVisibility(int)' on a null object reference at com.speakr.connorriley.speakr.DeviceDetailFragment.resetViews(DeviceDetailFragment.java:204) at com.speakr.connorriley.speakr.JamListActivity.disconnect(JamListActivity.java:285) at com.speakr.connorriley.speakr.JamListActivity$2.run(JamListActivity.java:230) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 03-16 13:32:13.746 6336-6342/com.speakr.connorriley.speakr W/art: Suspending all threads took: 43.908ms