poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50779] RecordFormatException Not enough data (1) to read requested (2) bytes
Date Fri, 11 Mar 2011 10:12:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50779

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Yegor Kozlov <yegor@dinom.ru> 2011-03-11 05:12:54 EST ---
Fixed in r1080496, junit added

My previous comment was not quite correct, I should have read the poi-user
thread more thoroughly. 

The fix only applies to the phonetic stuff, it does seem to be special and can
contain a CONTINUE break between two bytes of a unicode character or a 'short'
data. 

The trick is to pass a decorated LittleEndianInput to the the ExtRst
constructor and this decorated instance properly handles  CONTINUE breaks in
the middle of primitive data types. 

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message