You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/03/17 08:31:44 UTC

[jira] [Created] (STANBOL-1300) NPE in SolrIndexingDestination with custom config and FST model config enabled

Rupert Westenthaler created STANBOL-1300:
--------------------------------------------

             Summary: NPE in SolrIndexingDestination with custom config and FST model config enabled
                 Key: STANBOL-1300
                 URL: https://issues.apache.org/jira/browse/STANBOL-1300
             Project: Stanbol
          Issue Type: Bug
          Components: Entityhub
    Affects Versions: 1.0.0
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
             Fix For: 1.0.0


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)