Go to the android market and search for SpaceRocket and download the
free version. When you try to start the app you should get an
exception. I don't think there is an issue with my code as it works
just fine in the emulator and on other phones. After all accessing a
private static final initialized field should not yield a
NullPointerException in any circumstances...

On Sep 27, 2:52 am, Peter Sinnott <[email protected]> wrote:
> Tempting as it is to find fault in other peoples code almost always
> the problem is in our own (not always mind you).
> I don't know to contact HTC but even if you can there is almost no
> chance of them pushing a fix to most devices so it is best if you
> handle the null in a sensible manner and move on. That said, if you
> post the name of the app and reproduction steps I would be happy to
> try it out on my Desire.
>
> On Sep 26, 10:48 pm, sebastian_bugiu
>
>
>
>
>
>
>
> <[email protected]> wrote:
> > I have an application in android market that does not work on htc
> > desire and I am positive the issue is not in my code. Basically I have
> > a private static final field that is initialized to a reference to an
> > object and yet whenever I access that object from another thread it
> > throws a NullPointerException even though it is initialized.
>
> > It works in the emulator but I have not tested the application on many
> > phones. But on those that I tested it works.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" 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-discuss?hl=en.

Reply via email to