Error: "reading folder '/xxx/'" (ArrayIndexOutOfBounds)

This is the forum to discuss problems or features for the Android USB Stick Plugin for Total Commander.

Error: "reading folder '/xxx/'" (ArrayIndexOutOfBounds)

Postby feri » Wed Dec 18, 2013 11:34 pm

How can this error occurr?
This error occurrs suddenly when opening a folder on a NTFS formatted Stick.
The error is reproducible. Every time the same folder is opened an error massage similair to this is shown: "ERROR reading folder '/xxx/': class java.lang.ArrayIndexOutOfBoundsException - length=xxx; index=xxx"

Technical Information
NTFS formatted Sticks with a fragmented MasterFileTable lead to wrong references, so that the wrong sectors are read. The misinterpreted data lead to an ArrayIndexOutOfBoundsException.
The MasterFileTable can become fragmented, if the stick was written nearly full and afterwards some files where deleted and new files and folders where created.

Update to release v1.2.0p1, this fixes the issue.

Please post a comment, whether the beta release solved your problem or not.
Posts: 94
Joined: Sun Mar 17, 2013 10:49 am

Return to USB Stick Plugin for Total Commander (Android)

Who is online

Users browsing this forum: No registered users and 1 guest