Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1300

NPE in SolrIndexingDestination with custom config and FST model config enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Entityhub
    • None

    Description

      When using the SolrIndexingDestination with a custom Solr schema configuration AND a FST model generation users will see

      Exception in thread "main" java.lang.NullPointerException
      at org.apache.stanbol.entityhub.indexing.destination.solryard.SolrYardIndexingDestination.finalise(SolrYardIndexingDestination.java:710)
      at org.apache.stanbol.entityhub.indexing.core.impl.IndexerImpl.finaliseIndexing(IndexerImpl.java:556)
      at org.apache.stanbol.entityhub.indexing.core.impl.IndexerImpl.index(IndexerImpl.java:370)
      at org.apache.stanbol.entityhub.indexing.Main.main(Main.java:75)

      during the finalization phase.

      The reason is the the initialisation does not set the SolrCore field in case a custom configuration is used.

      Attachments

        Activity

          People

            rwesten Rupert Westenthaler
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: