Orientation android studio reported a null pointer

Generally speaking, the code inside ab (), then the report is a null pointer should be empty.

But when ab (c), this time on an error concealment, because in b (c) which may have a cd () method call, this time, c could trigger a null pointer, however, sometimes the console not locate the cd (), but only target the ab (c), this time it is very difficult to find errors

Published 310 original articles · won praise 69 · Views 460,000 +

Guess you like

Origin blog.csdn.net/nimeghbia/article/details/104702730