Re: SegmentInfo clone

2011-01-12 Thread Jason Rutherglen
> 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 wrote: > On Wed, Jan 12, 2011 at 8:03 PM, Jason Rutherglen > wrote: >> Sorry, that's incorrect, SegmentInfo.files is NPE'ing on segmentCodecs >

Re: SegmentInfo clone

2011-01-12 Thread Simon Willnauer
On Wed, Jan 12, 2011 at 8:03 PM, Jason Rutherglen 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 > wrote: >> Is it intentio

Re: SegmentInfo clone

2011-01-12 Thread Jason Rutherglen
Sorry, that's incorrect, SegmentInfo.files is NPE'ing on segmentCodecs because it's never set (in trunk). On Wed, Jan 12, 2011 at 10:59 AM, Jason Rutherglen wrote: > Is it intentional that SegmentInfo.segmentCodecs isn't cloned?  When > SI is cloned, then sizeInBytes fails with an NPE. > ---

SegmentInfo clone

2011-01-12 Thread Jason Rutherglen
Is it intentional that SegmentInfo.segmentCodecs isn't cloned? When SI is cloned, then sizeInBytes fails with an NPE. - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.ap