Eclipse Android Debugger - Where in my code did I cause the exception?

后端 未结 4 1739
长情又很酷
长情又很酷 2021-02-13 06:38

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

4条回答
  •  野的像风
    2021-02-13 06:38

    In my experience, Android eats up the exceptions caused when inflating a layout. It should certainly report the exception, but apparently some Android developer sadly decided to catch it and create a new one -- without adding the former as cause. I view it as a deficiency of the Android environment; as it can be hard to reach the Android team I have lived with it until now, but I would report it to Google if it really bothered me.

提交回复
热议问题