Hi,

I have a problem where a private static final Object LOCK = new
Object(); is null at some point when running my TCs.

Obviously if i remove the static status and initialize it in the setUp
method, this problem disappears; I just wanted to know if this is
supposed to happen? The problem also disappears if i move the static
initialization to a Utility class and make it public.

The null pointer exception is received in a callback method when i try
to do a synchronized(LOCK) lock on the object.

Any pointers?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to