> it is set on DocumentsWriter#flush though

Thanks!  I just skip segmentCodecs if it's null, for now.

On Wed, Jan 12, 2011 at 11:05 AM, Simon Willnauer
<[email protected]> wrote:
> On Wed, Jan 12, 2011 at 8:03 PM, Jason Rutherglen
> <[email protected]> wrote:
>> Sorry, that's incorrect, SegmentInfo.files is NPE'ing on segmentCodecs
>> because it's never set (in trunk).
> it is set on DocumentsWriter#flush though
>
> simon
>>
>> On Wed, Jan 12, 2011 at 10:59 AM, Jason Rutherglen
>> <[email protected]> wrote:
>>> Is it intentional that SegmentInfo.segmentCodecs isn't cloned?  When
>>> SI is cloned, then sizeInBytes fails with an NPE.
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to