Hi,
Please help me i have the next problem. Usually i parse xlsm files using POI
and never had any problems, but now i'm obliged to work with XLSX format. I
received the next exception: 


19:57:17.812 ERROR
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1]
com.meritkapital.parser.MainSheetProcessor:79 - Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at
com.meritkapital.parser.ReadonlySharedStringsTable.<init>(ReadonlySharedStringsTable.java:51)
        at
com.meritkapital.parser.MainSheetProcessor.<init>(MainSheetProcessor.java:47)
        at com.meritkapital.UpdateThread.run(UpdateThread.java:72)
        at
com.meritkapital.UpdateDBJobBean.executeInternal(UpdateDBJobBean.java:17)
        at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)



if look into source code this exception arise here:


ArrayList<PackagePart> parts =
               
pkg.getPartsByContentType(XSSFRelation.SHARED_STRINGS.getContentType());
        PackagePart sstPart = parts.get(0); 


bcs i u understand i got parts.size() = 0!!!!, but why? why it works good
enought with xlsm files and doesn't work with XLSX!

Thank u very much! 
-- 
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Problem-with-XLSX-file-parsing-tp2636436p2636436.html
Sent from the POI - User mailing list archive at Nabble.com.

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

Reply via email to