#1 JXL error while Reading .xls File on Solaris OS

open
nobody
None
5
2006-02-27
2006-02-27
Samir Jyoti
No

Hi,

I am getting the following error while reading an
Temporary .xls file (copied from a fixed location for
reading and modifying) on Solaris OS:

jxl.read.biff.BiffException: The input file was not
found
at jxl.read.biff.File.<init>(File.java:124)
at jxl.Workbook.getWorkbook(Workbook.java:210)
at jxl.Workbook.getWorkbook(Workbook.java:187)
.....
.....
....

The code which gives this error is:
readFile(File inputFile){
Sheet sheet = null;
Workbook workbook = null;
try
{
workbook = Workbook.getWorkbook(inputFile);
sheet = workbook.getSheet(0);
}
catch (Exception e)
{
.....//jxl.read.biff.BiffException occurs
}
}

The file exists and is the not NULL and I am able to
print the FileName and its absloute path.

The exact same works fine on Windows.

- Samir

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks