I'm using POI 3.6 to get text contents from Windows office document and having
intermittent freezing.
The java thread calling this part hangs sometimes.
Have you experience similar problems? I'm using following code.
String txt = "";
POITextExtractor txtExtractor = null;
try{
txtExtractor = ExtractorFactory.createExtractor(in);
txt = txtExtractor.getText();
txt = txt.trim();
txtExtractor = null;
}catch(Exception e){
log.error(e.getMessage(),e);
}
txt = txt.trim();
return txt;
Under the C:\Windows\Temp\poifiles folder, there are 6GB of file named as:
poi-ooxml-xxxxxxxx.tmp.
I think these files are failed to be removed by the POI library since it is
hang.
Any solutions for this issue?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]