ziqizhang / jate

NEWS: JATE2.0 Beta.11 Released, see details below.
GNU Lesser General Public License v3.0
81 stars 29 forks source link

NullPointException when loading dragon nlp resource with Apache Solr 5.5 or above #29

Closed jerrygaoLondon closed 8 years ago

jerrygaoLondon commented 8 years ago
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)
ziqizhang commented 8 years ago

duplicate