implement the tablet,there is a nullpointer exception'