-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error during read file java.lang.IndexOutOfBoundsException #91
Comments
Yeah, I just ran into this as well. Most of the unit tests were still using the old API, so this particular bit of code was not tested as thoroughly. I was in the process of converting them over as the old API is going to be removed in the near future and I hit this. Not sure what triggers it yet, at first glance it appears that some workbooks have two sets of sheet properties for the same sheet. |
There's a fix in the latest code if you'd like to try it out. I still have no idea why some sheets have two sets of sheet refs for the same sheet though. The problem stems from this call, in almost every case that iterator contains the same number of values as there are sheets. But for a couple of test cases, it has a duplicate value. |
Additionally It occurs when a ran code:
I can test latest code. Could You give me a maven dependency to some snapshot jar. Regards Marek |
Hello, when might the version with the bug fix will be released? |
It's going to be a couple of weeks. In the meantime you can install the code locally to see if this fixes your issue. |
The bug fix appears to be working (verified against latest code in repo). Any new info on when the 1.2 version might be released? |
Just released to Maven Central now. Should be available in the next few hours! |
Detailed printstack:
I use version 1.1.0
Additional info:
File contines 4 sheet-s.
The text was updated successfully, but these errors were encountered: