Your missing contentView reference in the following line
TextView textView = (TextView) findViewById(R.id.ormTextView);
So fix would be to replace it with
TextView textView = (TextView) contentView .findViewById(R.id.ormTextView);
Hope this helps