Hello!

15.08.2011 14:07, Yegor Kozlov пишет:
  -1 - There's a problem with the release, and that is ....
-1

I found that HWPFDocumentCore constructor modifies source file system:

{
DirectoryEntry objectPoolEntry;
try
{
objectPoolEntry = (DirectoryEntry) directory
.getEntry( "ObjectPool" );
}
catch ( FileNotFoundException exc )
{
objectPoolEntry = directory.createDirectory( "ObjectPool" );
}
_objectPool = new ObjectPoolImpl( objectPoolEntry );
}

This causes ConcurrentModificationException when we are iterating over filesystem enties in Tika's OfficeParser.

best wishes, Max

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

Reply via email to