NullPointException when loading dragon nlp resource. This problem does not appear in Apache Solr 5.3.0. However, it happens in Apache Solr 5.5 or above.
The stack traces are like following:
java.lang.NullPointerException
at dragon.nlp.tool.lemmatiser.ExceptionOperation.loadExceptions(ExceptionOperation.java:60)
at dragon.nlp.tool.lemmatiser.ExceptionOperation.<init>(ExceptionOperation.java:22)
at dragon.nlp.tool.lemmatiser.EngLemmatiser.loadLemmatiser(EngLemmatiser.java:139)
at dragon.nlp.tool.lemmatiser.EngLemmatiser.initialize(EngLemmatiser.java:64)
at dragon.nlp.tool.lemmatiser.EngLemmatiser.<init>(EngLemmatiser.java:41)
at org.apache.lucene.analysis.jate.EnglishLemmatisationFilterFactory.inform(EnglishLemmatisationFilterFactory.java:38)
at org.apache.solr.core.SolrResourceLoader.inform(SolrResourceLoader.java:721)
at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:160)
at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:56)
at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:70)
at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:108)
at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:79)
at org.apache.solr.core.CoreContainer.create(CoreContainer.java:812)
at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:87)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:467)
at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:458)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
This problem happens in plugin mode. It seems that the problem is due to incorrect setting for Lemmatisation. However, the 'lemmatiser' directory is in the correct directory and has correct setting in schema.
NullPointException when loading dragon nlp resource. This problem does not appear in Apache Solr 5.3.0. However, it happens in Apache Solr 5.5 or above.
The stack traces are like following:
This problem happens in plugin mode. It seems that the problem is due to incorrect setting for Lemmatisation. However, the 'lemmatiser' directory is in the correct directory and has correct setting in schema.
With the exactly same setting, it complains the exceptions mentioned above in Apache Solr 5.5.x while works well in Apache Solr 5.3.0.