It would help if you could provide more code. Plus why are you reading the object twice? You already have the object returned from readObject(). Here's some code which might help.
Code:
import java.io.*;
public class Y{
public static void main(String[] args){
ObjectInputStream oip = null;
try{
oip = new ObjectInputStream(new FileInputStream("C:" + File.separator + "ObjSerFile"));
SerObj serobj = (SerObj)oip.readObject();
System.out.println(serobj.getTemp());
System.out.println(serobj.getIndicator());
}catch(Exception io){
System.err.println(io);
}finally{
try{
oip.close();
}catch(IOException io){
System.err.println(io);
}
}