[Solved] Getting NullPointerException [closed]


If that line is throwing a NullPointerException, it must be that textView is null.

This is probably because your findViewById call gave an id which was not found in the view.

You haven’t given us enough information to be sure, but I suspect you’re trying to grab a textView in the helpDialog you just showed. Try replacing findViewById with helpDialog.findViewById.

1

solved Getting NullPointerException [closed]