Buggy code:
public List < SolrInputDocument > getWebgraphDocuments ( ) { } } public CollectionConfiguration . SolrVector yacy2solr ( final Segment segment , final Map < String , Pattern > collections , final ResponseHeader responseHeader , final Document document , final Condenser condenser , final DigestURL referrerURL , final String language , final boolean setUnique , final WebgraphConfiguration webgraph , final String sourceName ) { } public void enrich ( SolrInputDocument doc , List < String > synonyms , Map < String , Set < String > > genericFacets ) { } public static boolean postprocessingRunning = false ; public static String postprocessingActivity = "" ; public static long postprocessingStartTime = 0 ; public static int postprocessingCollection1Count = 0 ; public static int postprocessingWebgraphCount = 0 ; public static final String collection1query ( final Segment segment , final String harvestkey ) { } public static final String webgraphquery ( final Segment segment , final String harvestkey ) { } public int postprocessing ( final Segment segment , final ReferenceReportCache rrCache , final String harvestkey , final boolean byPartialUpdate ) { } public void postprocessing_http_unique ( final Segment segment , final SolrDocument doc , final SolrInputDocument sid , final DigestURL url ) { } public void postprocessing_www_unique ( final Segment segment , final SolrDocument doc , final SolrInputDocument sid , final DigestURL url ) { } private void set_unique_flag ( CollectionSchema field , final SolrDocument doc , final SolrInputDocument sid , final SolrDocument d ) { } public void postprocessing_doublecontent ( Segment segment , Set < String > uniqueURLs , SolrDocument doc , final SolrInputDocument sid , final DigestURL url ) { } public boolean postprocessing_references ( final ReferenceReportCache rrCache , final SolrInputDocument sid , final DigestURL url , final Map < String , Long > hostExtentCount ) { if ( ! ( ( ( ( this . contains ( references_i ) ) || ( this . contains ( references_internal_i ) ) ) || ( this . contains ( references_external_i ) ) ) || ( this . contains ( references_exthosts_i ) ) ) ) return false ; Integer all_old = ( sid == null ) ? null : ( ( Integer ) ( sid . getFieldValue ( references_i . getSolrFieldName ( ) ) ) ) ; Integer internal_old = ( sid == null ) ? null : ( ( Integer ) ( sid . getFieldValue ( references_internal_i . getSolrFieldName ( ) ) ) ) ; Integer external_old = ( sid == null ) ? null : ( ( Integer ) ( sid . getFieldValue ( references_external_i . getSolrFieldName ( ) ) ) ) ; Integer exthosts_old = ( sid == null ) ? null : ( ( Integer ) ( sid . getFieldValue ( references_exthosts_i . getSolrFieldName ( ) ) ) ) ; Integer hostextc_old = ( sid == null ) ? null : ( ( Integer ) ( sid . getFieldValue ( host_extent_i . getSolrFieldName ( ) ) ) ) ; try { ReferenceReport rr = rrCache . getReferenceReport ( ASCII . String ( url . hash ( ) ) , false ) ; List < String > internalIDs = new ArrayList < String > ( ) ; HandleSet iids = rr . getInternallIDs ( ) ; for ( byte [ ] b : iids ) internalIDs . add ( ASCII . String ( b ) ) ; boolean change = false ; int all = ( rr . getExternalCount ( ) ) + ( rr . getInternalCount ( ) ) ; if ( ( this . contains ( references_i ) ) && ( ( all_old == null ) || ( ( all_old . intValue ( ) ) != all ) ) ) { sid . setField ( references_i . getSolrFieldName ( ) , all ) ; change = true ; } if ( ( this . contains ( references_internal_i ) ) && ( ( internal_old == null ) || ( ( internal_old . intValue ( ) ) != ( rr . getInternalCount ( ) ) ) ) ) { sid . setField ( references_internal_i . getSolrFieldName ( ) , rr . getInternalCount ( ) ) ; change = true ; } if ( ( this . contains ( references_external_i ) ) && ( ( external_old == null ) || ( ( external_old . intValue ( ) ) != ( rr . getExternalCount ( ) ) ) ) ) { sid . setField ( references_external_i . getSolrFieldName ( ) , rr . getExternalCount ( ) ) ; change = true ; } if ( ( this . contains ( references_exthosts_i ) ) && ( ( exthosts_old == null ) || ( ( exthosts_old . intValue ( ) ) != ( rr . getExternalHostIDs ( ) . size ( ) ) ) ) ) { sid . setField ( references_exthosts_i . getSolrFieldName ( ) , rr . getExternalHostIDs ( ) . size ( ) ) ; change = true ; } <START_BUG> Long hostExtent = ( hostExtentCount == null ) ? Integer . MAX_VALUE : hostExtentCount . get ( url . hosthash ( ) ) ; <END_BUG> if ( ( this . contains ( host_extent_i ) ) && ( ( hostextc_old == null ) || ( ( hostextc_old . intValue ( ) ) != hostExtent ) ) ) { sid . setField ( host_extent_i . getSolrFieldName ( ) , hostExtent . intValue ( ) ) ; change = true ; } return change ; } catch ( final IOException e ) { } return false ; } private static final class CRV { public double cr ; public int crn ; public int count ; public CRV ( final int count , final double cr , final int crn ) { } @ Override public String toString ( ) { } } private static final class CRHost { private final Segment segment ; private final Map < String , double [ ] > crt ; private final int cr_host_count ; private final RowHandleMap internal_links_counter ; private double damping ; private int converge_eq_factor ;

Fix:
Long hostExtent = ( hostExtentCount == null ) ? Long . MAX_VALUE : hostExtentCount . get ( url . hosthash ( ) ) ;