Hi all, During daily work I got NPE at mention line. full method below. Anyone know if it's a known bug ? should I open a ticket for Solr ?
Thanks in advance, Shay. public Object More ...lookup(BytesRef indexedId) { 683 LogPtr entry; 684 TransactionLog lookupLog; 685 686 synchronized (this) { 687 entry = map.get(indexedId); 688 lookupLog = tlog; // something found in "map" will always be in "tlog" 689 // SolrCore.verbose("TLOG: lookup: for id ",indexedId.utf8ToString(),"in map",System.identityHashCode(map),"got",entry,"lookupLog=",lookupLog); 690 if (entry == null && prevMap != null) { 691 entry = prevMap.get(indexedId); 692 // something found in prevMap will always be found in preMapLog (which could be tlog or prevTlog) 693 lookupLog = prevMapLog; 694 // SolrCore.verbose("TLOG: lookup: for id ",indexedId.utf8ToString(),"in prevMap",System.identityHashCode(map),"got",entry,"lookupLog=",lookupLog); 695 } 696 if (entry == null && prevMap2 != null) { 697 entry = prevMap2.get(indexedId); 698 // something found in prevMap2 will always be found in preMapLog2 (which could be tlog or prevTlog) 699 lookupLog = prevMapLog2; 700 // SolrCore.verbose("TLOG: lookup: for id ",indexedId.utf8ToString(),"in prevMap2",System.identityHashCode(map),"got",entry,"lookupLog=",lookupLog); 701 } 702 703 if (entry == null) { 704 return null; 705 } 706 lookupLog.incref(); 707 } 708 709 try { 710 // now do the lookup outside of the sync block for concurrency 711 return lookupLog.lookup(entry.pointer); 712 } finally { 713 lookupLog.decref(); 714 } 715 716 } 717