2

I have this log file in my crash reporter dashboard:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v4.widget.DrawerLayout.b()' on a null object reference
       at examplecompany.video.BottomNavActivity$1.onClick(Unknown Source)
       ...

Based on this answer, $1 refers to an inner class. But in my BottomNavActivity I have no inner class. Also I can't find onClick method in that class. How do I interpret this to find out the problem?

Update: I have a bunch of setOnClickListener calls in my code. If it relates to those calls, how do I know which call is the root of the problem, and also why onClick is in log file. Why setOnClickListener is not logged?

0 Answers0