High,
I'm using poi-3.0.1-FINAL-20070705 and I try to extract the content of a
word document with this method :
 
public String getPoiContent(InputStream is) throws Exception {

String temp = null;

WordExtractor wd = null;

// try {

wd = new WordExtractor(is);

temp = wd.getText();

// } catch (Exception e) {

// throw new Exception("getPoiContent: " + e.toString());

// }

return temp;

}

And I retrived this error:

Exception in thread "main" java.lang.StackOverflowError

at org.apache.poi.hwpf.model.StyleSheet.createChp(StyleSheet.java:266)

at org.apache.poi.hwpf.model.StyleSheet.createChp(StyleSheet.java:277)

at org.apache.poi.hwpf.model.StyleSheet.createChp(StyleSheet.java:277)

at org.apache.poi.hwpf.model.StyleSheet.createChp(StyleSheet.java:277)

 

What's happened?

Reply via email to