> > Can someone please help me understand this error? > Sure... but this looks like something pretty straightforward that you should be able to figure out on your own... but that aside...
07-13 18:03:52.224: W/System.err(4597): java.lang.NullPointerException > Something in your code is null and you are trying to use it... > 07-13 18:03:52.244: W/System.err(4597): at > android.sec.enterprise.BluetoothUtils.isSocketAllowedBySecurityPolicy(BluetoothUtils.java:106) > > 07-13 18:03:52.244: W/System.err(4597): at > android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:215) > Something having to do with Bluetooth in your code is null... > 07-13 18:03:52.254: W/System.err(4597): at > com.reflect.remote.Blue_Client.attempt_first_connect(Blue_Client.java:133) > Something could be null in Blue_Client.attempt_first_connect() on line 133... > 07-13 18:03:52.254: W/System.err(4597): at > com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) > Something could be null in Remote_Control_Activity.onActivityResult() on line 299... Launch a debugger and figure out what is null... And then fix it. I would probably start with the lines in the exception that point to your code. And, I would probably consider changing your class and method naming convention to something more standard, but that is just a personal preference... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 12:05 PM, bob <[email protected]> wrote: > Can someone please help me understand this error? > > > 07-13 18:03:52.224: W/System.err(4597): java.lang.NullPointerException > > 07-13 18:03:52.244: W/System.err(4597): at > android.sec.enterprise.BluetoothUtils.isSocketAllowedBySecurityPolicy(BluetoothUtils.java:106) > > 07-13 18:03:52.244: W/System.err(4597): at > android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:215) > > 07-13 18:03:52.254: W/System.err(4597): at > com.reflect.remote.Blue_Client.attempt_first_connect(Blue_Client.java:133) > > 07-13 18:03:52.254: W/System.err(4597): at > com.reflect.remote.Remote_Control_Activity.onActivityResult(Remote_Control_Activity.java:299) > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

