Put a try/catch around those 2 lines and you will see that TextView is probably not initalized at that point of your app's life cycle.
That's because the function findViewById(int) out of the class
Activity[
^] can not return a valid value at that point.
Please read in the Documentation of Activity.