MagouyaWare wrote:

> (Attribution restored) bob wrote:

> 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)
>>
> OP, you might need to get the source from the folks at reflect.com to 
debug this.
 

> 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...
>
"com.reflect...." in a package means that the author owns the domain 
"reflect.com".

If that's your code and you don't own that domain, you will have trouble if 
the folks that do are writing Java code.

-- 
Lew

-- 
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

Reply via email to