Where are you executing this statement? On Mon, Jan 23, 2012 at 6:41 PM, Zsolt Vasvari <[email protected]> wrote: > Has anybody seen this happen? > > I have the following line in my code: > > XmlResourceParser xml = > getAppplicationContext().getResources().getXml(R.xml.database_tables); > > Somebody reported a NPE on that line, so it can either be > getAppplicationContext() or getResources() returning a null. The > same line works for countless other users. > > Anybody has any clues? > > -- > 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
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

