Hi,
   
  I am getting following exception (Invalid header signature) while reading 
Powerpoint object (Stored as an OLE object) from database. I am using POI 3.0. 
   
  Exception:
  java.io.IOException: Invalid header signature; read 8593284117, expected 
-2226271756974174256
   
  My code snippet is as below:
  InputStream is = rs.getBinaryStream("Presentation");
  HSLFSlideShow hss = new HSLFSlideShow(is); //Exception thrown
   
  When googled, I found couple of mail-archives with this error, but in most of 
them, the file format was a problem. My ppt presentation seems fine to me as I 
can open it directly from database and view all slides. 
   
  Any pointer would be appreciated.
   
  thanks,
  Shishir

       
---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

Reply via email to