Answer the question
In order to leave comments, you need to log in
Working with java-libpst question?
Using the library, I'm trying to drag emails from a broken PST file into the database.
Successfully processed more than 146 thousand messages, after which I came across a problem with reading attachments.
One of the emails contains 90 attachments according to getNumberOfAttachments().
However, there are only 89 positions in numberOfDataSets, so when I try to read the 90th attachment, I get an array out of bounds.
I just can’t figure it out, because getNumberOfAttachments returns exactly numberOfDataSets ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question