Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JXL Exception when uploading MS Office 2007 -Unable to recognize OLE stream

Dear team,

I am trying to upload an excel file using jxl jar , using the below code,

InputStream bais =wdContext.currentContextElement().getQuestionsetUpload().read(true);
Workbook workbook = Workbook.getWorkbook(bais);
Sheet sheet = workbook.getSheet(0);

But i am getting an execption Unable to recognize OLE stream when i upload an excel file of Microsoft Office 2007 version.

Kindly help me in solving the exception



Former Member
Not what you were looking for? View more on this topic or Ask a question