https://issues.apache.org/bugzilla/show_bug.cgi?id=47199





--- Comment #10 from Naveen <[email protected]>  2009-05-25 02:33:00 PST 
---
Created an attachment (id=23710)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23710)
Giving PSB problem 


I have attached the file which is giving PSB problem. 

Please use this file directly, if you open and change any of the value then
this wont throw exception.



Test Case :
================


    public void testImportMacroPSB() throws Exception {
        String filename =
"C:\\poi-src-3.5-beta5-20090219\\poi-3.5-beta5\\testOLD\\excel.xls";
        InputStream macro = new FileInputStream(filename);
        Workbook oldWb = new HSSFWorkbook(macro);
        assertNotNull(oldWb);
          FileOutputStream out = new FileOutputStream("c:/testPSB.xls");
          oldWb.write(out);
            out.close();
    }


Please let me you if anything else is required. 

Thanks 
Naveen Kumar

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to