lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Krugler <kkrugler_li...@transpac.com>
Subject Re: How to solve the issue "Unable to read entire block; 72 bytes read; expected 512 bytes"
Date Mon, 12 Nov 2007 15:46:21 GMT
>: 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message