[
https://issues.apache.org/jira/browse/STANBOL-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler resolved STANBOL-1300.
------------------------------------------
Resolution: Fixed
fixed with http://svn.apache.org/r1578255
the SolrCore field is now also initialized in case a custom Solr core
configuration is used.
> 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)