You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:54:55 UTC

[GitHub] [lucenenet] eladmarg commented on issue #319: NRE on spatial search

eladmarg commented on issue #319:
URL: https://github.com/apache/lucenenet/issues/319#issuecomment-860193856


   this still occurs
   
   <pre>
   System.NullReferenceException: Object reference not set to an instance of an object.
      at IRectangle Spatial4n.Core.Util.GeohashUtils.DecodeBoundary(string geohash, SpatialContext ctx)
      at IPoint Spatial4n.Core.Util.GeohashUtils.Decode(string geohash, SpatialContext ctx)
      at ShapeFieldCache<T> Lucene.Net.Spatial.Util.ShapeFieldCacheProvider<T>.GetCache(AtomicReader reader)+(IndexReader key) => { }
      at TValue System.Runtime.CompilerServices.ConditionalWeakTable<TKey, TValue>.GetValueLocked(TKey key, CreateValueCallback createValueCallback)
      at TValue System.Runtime.CompilerServices.ConditionalWeakTable<TKey, TValue>.GetValue(TKey key, CreateValueCallback createValueCallback)
      at new Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource+CachedDistanceFunctionValue(AtomicReader reader, ShapeFieldCacheDistanceValueSource enclosingInstance)
      at FunctionValues Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.GetValues(IDictionary context, AtomicReaderContext readerContext)
      at FieldComparer Lucene.Net.Queries.Function.ValueSource+ValueSourceComparer.SetNextReader(AtomicReaderContext context)
      at void Lucene.Net.Search.TopFieldCollector+OneComparerNonScoringCollector.SetNextReader(AtomicReaderContext context)
      at void Lucene.Net.IndexSearcher.Search.Search(IList<AtomicReaderContext> leaves, Weight weight, ICollector collector) x 5
   </pre>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org