Re: [android-developers] instantiation of main activity

2012-07-27 Thread Mark Murphy
Please consider posting a full stack trace.

On Thu, Jul 26, 2012 at 6:50 PM, peter gottlieb  wrote:
> I have gone through several stages in the development of an app, compiling
> and executing just fine.  After my latest increment of code the app builds
> fine, but crashes with the following message in the Log:
>
> unable to instantiate ActivityComponentinfo {}:
> java.lang.NullPointerException.
>
> My conclusion is that all of a sudden the Android system code is crashing
> before even getting to any of my code, which is also supported by the  fact
> that if  I comment out all of my app-specific code in the onCreate function,
> I still get the crash.  However, testing several of my other apps shows them
> building and executing just fine.
>
> Please help.
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.8 Available!

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


[android-developers] instantiation of main activity

2012-07-27 Thread peter gottlieb
I have gone through several stages in the development of an app, compiling 
and executing just fine.  After my latest increment of code the app builds 
fine, but crashes with the following message in the Log:

unable to instantiate ActivityComponentinfo {}: 
java.lang.NullPointerException.

My conclusion is that all of a sudden the Android system code is crashing 
before even getting to any of my code, which is also supported by the  
fact  that if  I comment out all of my app-specific code in the onCreate 
function, I still get the crash.  However, testing several of my other apps 
shows them building and executing just fine.

Please help.

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