0
0
0xE02013-02-06 16:57:22
Java
0xE0, 2013-02-06 16:57:22

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 question

Ask a Question

731 491 924 answers to any question