Admittedly, my question is basically the same as this one, but it seems to have been left unanswered:
NullPointerException in handleStopActivity -- No reference to my co
I ran your exact code and LogCat gave me the following exceptions:
Caused by: java.lang.NullPointerException
at mypackage.test.TestActivity.onCreate(TestActivity.java:23)
Of course it is the
iDareYou.byteValue();
statement. This is clear as a bright day!
I suggest that you must learn how to use Dalvik Debug Monitor Server in the proper way.
The log you posted seems pretty useless, did you messed up some of the LogCat filters(it happened to me once)?
OFFTOPIC: "Where in my code did I cause the exception?" - I think that your question is not well formulated.
I think that proper name of this question might be - 'How to use Android debugger and LogCat? Some exceptions are not logged properly!'