Move the below inside onCreate
after setContentView
TextView pbid=(TextView)findViewById(R.id.pbid);
TextView pplaced=(TextView)findViewById(R.id.pplaced);
TextView timerv=(TextView)findViewById(R.id.timer);
Intent i=getIntent();
final String productbiddate=i.getStringExtra("productbiddate");
final String productplaceddate=i.getStringExtra("productplaceddate");
findViewById
looks for a view with the id mentioned in the current inflated layout. So you need to set the content of the activity first to the layout and then initialize views.
You need to wait till activity is created to use getIntent()
.