: Sorry, for rtf it throws the following exception:

: Unable to read entire header; 100 bytes read; expected 512 bytes

: Is it a issue with POI of Lucene?. If so which build of POI contains fix
: for this problem where i can get it?. Please tell me asap.

1) java-dev if for discussiong development of hte Lucene Java API,
questions baout errors when using the Java API should be sent to the
java-user list.

2) that's just a one line error string, it may be the message of an
exception -- but it may just be something logged by your application.  if
it is an exception message, the only way to make sense of it is to see the
entire exception stack trace.

3) i can't think of anywhere in the Lucene code base that might write out
a string like that (or throw an exception with that message) i suspect it
is coming from POI (i'd know ofr sure if you'd sent the full stack trace)
so you should consider contacting the POI user list ... before you do, you
might try a simple test of a micro app using POI to parse the same
document without Lucene involved at all -- if you get hte same error, then
you know it's POI and not lucene related at all.

It's there in POI:

http://www.krugle.org/kse/files/svn/svn.apache.org/poi/src/java/org/apache/poi/poifs/storage/HeaderBlockReader.java

On line 83.

-- Ken
--
Ken Krugler
Krugle, Inc.
+1 530-210-6378
"If you can't find it, you can't fix it"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to