Hi,
I have the the following code
try {
FileInputStream fis = new FileInputStream("C:\\temp\\charge.ext");
ObjectInputStream ois = new ObjectInputStream(fis);
}
catch(FileNotFoundException e) {
e.printStackTrace();
}
catch(IOException e) {
e.printStackTrace();
}
this code is giving me the error
java.io.StreamCorruptedException: invalid stream header
at java.ibjectInputStream.readStreamHeader(Unknown Source)
at java.ibjectInputStream.<init>(Unknown Source)
at extract.Main.main(Main.java:19)
what does it mean, and what wrong I am going.
Amar
I have the the following code
try {
FileInputStream fis = new FileInputStream("C:\\temp\\charge.ext");
ObjectInputStream ois = new ObjectInputStream(fis);
}
catch(FileNotFoundException e) {
e.printStackTrace();
}
catch(IOException e) {
e.printStackTrace();
}
this code is giving me the error
java.io.StreamCorruptedException: invalid stream header
at java.ibjectInputStream.readStreamHeader(Unknown Source)
at java.ibjectInputStream.<init>(Unknown Source)
at extract.Main.main(Main.java:19)
what does it mean, and what wrong I am going.
Amar