Open manisabri opened 4 years ago
It looks like I missed pushing a few corrections. I've done a new push. Please pull and try again
Going to http://localhost:8080/sigmanlp/NLP.jsp will give you this error
HTTP Status 500 – Internal Server Error
Type Exception Report
Message edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:565)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:38)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
edu.stanford.nlp.util.MetaClass$ClassCreationException: MetaClass couldn't create public edu.stanford.nlp.time.TimeExpressionExtractorImpl(java.lang.String,java.util.Properties) with args [sutime, {}]
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:237)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.reflect.InvocationTargetException
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.RuntimeException: Error initializing binder 1
edu.stanford.nlp.time.Options.<init>(Options.java:121)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.IllegalStateException: Cannot instantiate configuration.
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:39)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.IllegalStateException: Cannot parse holidays XML file.
de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:78)
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:148)
javax.xml.bind.ContextFinder.find(ContextFinder.java:361)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)
de.jollyday.util.XMLUtil$JAXBContextCreator.create(XMLUtil.java:170)
de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:71)
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:573)
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:145)
javax.xml.bind.ContextFinder.find(ContextFinder.java:361)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)
de.jollyday.util.XMLUtil$JAXBContextCreator.create(XMLUtil.java:170)
de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:71)
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:138)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:131)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$45(StanfordCoreNLP.java:546)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/8.5.23
hmm, it's running for me locally. What version of CoreNLP are you running? Please post the directly listing of your sigmanlp/lib directory
directly->directory
Looks like this:
$ll /home/mani/workspace/sigmanlp/lib
total 380208
drwxrwxr-x 2 mani mani 4096 Aug 8 19:02 ./
drwxrwxr-x 11 mani mani 4096 Aug 8 19:02 ../
-rwxrwxr-x 1 mani mani 62983 Jun 15 00:08 activation-1.1.jar*
-rwxrwxr-x 1 mani mani 233859 Jun 15 00:08 commons-beanutils-1.9.2.jar*
-rwxrwxr-x 1 mani mani 263965 Jun 15 00:08 commons-codec-1.9.jar*
-rwxrwxr-x 1 mani mani 575389 Jun 15 00:08 commons-collections-3.2.1.jar*
-rwxrwxr-x 1 mani mani 208700 Jun 15 00:08 commons-io-2.5.jar*
-rwxrwxr-x 1 mani mani 479881 Jun 15 00:08 commons-lang3-3.5.jar*
-rwxrwxr-x 1 mani mani 60686 Jun 15 00:08 commons-logging-1.1.1.jar*
-rwxrwxr-x 1 mani mani 301506 Jun 15 00:08 ejml-0.23.jar*
-rwxrwxr-x 1 mani mani 2308517 Jun 15 00:08 guava-19.0.jar*
-rw-rw-r-- 1 mani mani 1821940 Jun 15 00:08 h2-1.4.196.jar
-rw-rw-r-- 1 mani mani 45024 Jun 15 00:08 hamcrest-core-1.3.jar
-rwxrwxr-x 1 mani mani 564672 Jun 15 00:08 ion-java-1.0.1.jar*
-rwxrwxr-x 1 mani mani 46968 Jun 15 00:08 jackson-annotations-2.6.0.jar*
-rwxrwxr-x 1 mani mani 258917 Jun 15 00:08 jackson-core-2.6.6.jar*
-rwxrwxr-x 1 mani mani 1170626 Jun 15 00:08 jackson-databind-2.6.6.jar*
-rwxrwxr-x 1 mani mani 48468 Jun 15 00:08 jackson-dataformat-cbor-2.6.6.jar*
-rwxrwxr-x 1 mani mani 85353 Jun 15 00:08 javax.servlet-api-3.0.1.jar*
-rwxrwxr-x 1 mani mani 100146 Jun 15 00:08 jaxb-api-2.2.7.jar*
-rw-rw-r-- 1 mani mani 629506 Jun 15 00:08 joda-time.jar
-rw-rw-r-- 1 mani mani 213591 Jun 15 00:08 jollyday.jar
-rwxrwxr-x 1 mani mani 23931 Jun 15 00:08 json-simple-1.1.1.jar*
-rw-rw-r-- 1 mani mani 314932 Jun 15 00:08 junit-4.12.jar
-rw-rw-r-- 1 mani mani 1513865 Jun 15 00:08 lucene-analyzers-common-6.5.1.jar
-rw-rw-r-- 1 mani mani 2776125 Jun 15 00:08 lucene-core-6.5.1.jar
-rw-rw-r-- 1 mani mani 404762 Jun 15 00:08 lucene-queryparser-6.5.1.jar
-rwxrwxr-x 1 mani mani 521157 Jun 15 00:08 mail-1.4.7.jar*
-rwxrwxr-x 1 mani mani 64417 Jun 15 00:08 opencsv-3.8.jar*
-rwxrwxr-x 1 mani mani 596642 Jun 15 00:08 protobuf-java-2.6.1.jar*
-rw-rw-r-- 1 mani mani 1188977 Aug 8 19:45 sigmakee.jar
-rwxrwxr-x 1 mani mani 32127 Jun 15 00:08 slf4j-api-1.7.12.jar*
-rw-rw-r-- 1 mani mani 8060812 Aug 8 18:59 stanford-corenlp-3.9.0.jar
-rw-rw-r-- 1 mani mani 362570962 Aug 8 18:59 stanford-corenlp-3.9.0-models.jar
-rwxrwxr-x 1 mani mani 1207073 Jun 15 00:08 xercesImpl-2.8.0.jar*
-rwxrwxr-x 1 mani mani 195119 Jun 15 00:08 xml-apis-1.3.03.jar*
-rwxrwxr-x 1 mani mani 313253 Jun 15 00:08 xom-1.2.10.jar*
it looks like I'm running CoreNLP 3.9.2 locally. Could you try downloading
stanford-corenlp-3.9.2.jar stanford-corenlp-3.9.2-models.jar
and putting them in the lib directory? If that makes a difference, I'll update the sigmanlp readme
I changed the corenlp libs but got these errors which I saw twice before changing them too
Type Exception Report
Message An exception occurred processing JSP page [/NLP.jsp] at line [39]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing JSP page [/NLP.jsp] at line [39]
36: return;
37: }
38: KBmanager.getMgr().initializeOnce();
39: TimeBank.init();
40: Interpreter interp = new Interpreter();
41: interp.initialize();
42:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:588)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
edu.stanford.nlp.io.RuntimeIOException: Error while loading a tagger model (probably missing model file)
edu.stanford.nlp.tagger.maxent.MaxentTagger.readModelAndInit(MaxentTagger.java:801)
edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:322)
edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:275)
edu.stanford.nlp.pipeline.POSTaggerAnnotator.loadModel(POSTaggerAnnotator.java:85)
edu.stanford.nlp.pipeline.POSTaggerAnnotator.<init>(POSTaggerAnnotator.java:73)
edu.stanford.nlp.pipeline.AnnotatorImplementations.posTagger(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:527)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$32(StanfordCoreNLP.java:608)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:253)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:190)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.io.IOException: Unable to open "edu/stanford/nlp/models/pos-tagger/english-left3words-distsim.tagger" as class path, filename or URL
edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:482)
edu.stanford.nlp.tagger.maxent.MaxentTagger.readModelAndInit(MaxentTagger.java:798)
edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:322)
edu.stanford.nlp.tagger.maxent.MaxentTagger.<init>(MaxentTagger.java:275)
edu.stanford.nlp.pipeline.POSTaggerAnnotator.loadModel(POSTaggerAnnotator.java:85)
edu.stanford.nlp.pipeline.POSTaggerAnnotator.<init>(POSTaggerAnnotator.java:73)
edu.stanford.nlp.pipeline.AnnotatorImplementations.posTagger(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:527)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$32(StanfordCoreNLP.java:608)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:253)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:190)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.
just to confirm, did you delete the old corenlp and model files? Maybe also double check the permission on those two files? When I open the 3.9.2 models file I see
apease@apease-ThinkPad-T460s:~/workspace/sigmanlp/lib$ jar -tf stanford-corenlp-3.9.2-models.jar | grep english-left3words edu/stanford/nlp/models/pos-tagger/english-left3words/ edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger.props edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger
I see the same thing with jar
last stacktrace was with coreNlp 4.1. I downloaded 3.9.2 and I get the same error on the same line but with different stacktrace
HTTP Status 500 – Internal Server Error
Type Exception Report
Message An exception occurred processing JSP page [/NLP.jsp] at line [39]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing JSP page [/NLP.jsp] at line [39]
36: return;
37: }
38: KBmanager.getMgr().initializeOnce();
39: TimeBank.init();
40: Interpreter interp = new Interpreter();
41: interp.initialize();
42:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:588)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
edu.stanford.nlp.util.ReflectionLoading$ReflectionLoadingException: Error creating edu.stanford.nlp.time.TimeExpressionExtractorImpl
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:38)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
edu.stanford.nlp.util.MetaClass$ClassCreationException: MetaClass couldn't create public edu.stanford.nlp.time.TimeExpressionExtractorImpl(java.lang.String,java.util.Properties) with args [sutime, {}]
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:237)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.reflect.InvocationTargetException
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.RuntimeException: Error initializing binder 1
edu.stanford.nlp.time.Options.<init>(Options.java:121)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.IllegalStateException: Cannot instantiate configuration.
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:39)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.IllegalStateException: Cannot parse holidays XML file.
de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:78)
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory not found
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:148)
javax.xml.bind.ContextFinder.find(ContextFinder.java:361)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)
de.jollyday.util.XMLUtil$JAXBContextCreator.create(XMLUtil.java:170)
de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:71)
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:573)
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:145)
javax.xml.bind.ContextFinder.find(ContextFinder.java:361)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:446)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:409)
de.jollyday.util.XMLUtil$JAXBContextCreator.create(XMLUtil.java:170)
de.jollyday.util.XMLUtil.unmarshallConfiguration(XMLUtil.java:71)
de.jollyday.datasource.impl.XmlFileDataSource.getConfiguration(XmlFileDataSource.java:37)
de.jollyday.impl.DefaultHolidayManager.doInit(DefaultHolidayManager.java:239)
de.jollyday.HolidayManager.init(HolidayManager.java:319)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:44)
de.jollyday.caching.HolidayManagerValueHandler.createValue(HolidayManagerValueHandler.java:13)
de.jollyday.util.Cache.get(Cache.java:51)
de.jollyday.HolidayManager.createManager(HolidayManager.java:168)
de.jollyday.HolidayManager.getInstance(HolidayManager.java:148)
edu.stanford.nlp.time.JollyDayHolidays.init(JollyDayHolidays.java:57)
edu.stanford.nlp.time.Options.<init>(Options.java:119)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.init(TimeExpressionExtractorImpl.java:44)
edu.stanford.nlp.time.TimeExpressionExtractorImpl.<init>(TimeExpressionExtractorImpl.java:39)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
edu.stanford.nlp.util.MetaClass$ClassFactory.createInstance(MetaClass.java:233)
edu.stanford.nlp.util.MetaClass.createInstance(MetaClass.java:382)
edu.stanford.nlp.util.ReflectionLoading.loadByReflection(ReflectionLoading.java:36)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.create(TimeExpressionExtractorFactory.java:60)
edu.stanford.nlp.time.TimeExpressionExtractorFactory.createExtractor(TimeExpressionExtractorFactory.java:43)
edu.stanford.nlp.ie.regexp.NumberSequenceClassifier.<init>(NumberSequenceClassifier.java:86)
edu.stanford.nlp.ie.NERClassifierCombiner.<init>(NERClassifierCombiner.java:116)
edu.stanford.nlp.pipeline.NERCombinerAnnotator.<init>(NERCombinerAnnotator.java:125)
edu.stanford.nlp.pipeline.AnnotatorImplementations.ner(AnnotatorImplementations.java:68)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$5(StanfordCoreNLP.java:523)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$30(StanfordCoreNLP.java:602)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:251)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:192)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:188)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.corpora.TimeBank.init(TimeBank.java:70)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:277)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/8.5.23
Maybe your old CoreNLP is still in the build/lib directory? try deleting them if so
What version of java are you using? It seems that CoreNLP works with java 8 but I installed sigmakee with java 14
I'm running java 8 since I think that's required for CoreNLP
for the most recent error I believe it's caused by use of the '~' in paths, which Java seems to have trouble with. Please use fully spelled out paths in your .bashrc and config.xml
yeah, changed to java 8 and changed the path but still no joy
HTTP Status 500 – Internal Server Error
Type Exception Report
Message An exception occurred processing JSP page [/NLP.jsp] at line [40]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing JSP page [/NLP.jsp] at line [40]
37: }
38: KBmanager.getMgr().initializeOnce();
39: TimeBank.init();
40: Interpreter interp = new Interpreter();
41: interp.initialize();
42:
43: //String filename = System.getProperty("user.home") + "/workspace/sumo/WordNetMappings" + File.separator + "Relations.txt";
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:588)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "/home/mani/Programs/stanford-corenlp-full-2018-01-31" as class path, filename or URL
edu.stanford.nlp.parser.common.ParserGrammar.loadModel(ParserGrammar.java:187)
edu.stanford.nlp.pipeline.ParserAnnotator.loadModel(ParserAnnotator.java:219)
edu.stanford.nlp.pipeline.ParserAnnotator.<init>(ParserAnnotator.java:121)
edu.stanford.nlp.pipeline.AnnotatorImplementations.parse(AnnotatorImplementations.java:113)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$51(StanfordCoreNLP.java:552)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.semRewrite.Interpreter.<init>(Interpreter.java:141)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:278)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause
java.io.IOException: Unable to open "/home/mani/Programs/stanford-corenlp-full-2018-01-31" as class path, filename or URL
edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:481)
edu.stanford.nlp.io.IOUtils.readObjectFromURLOrClasspathOrFileSystem(IOUtils.java:310)
edu.stanford.nlp.parser.common.ParserGrammar.loadModel(ParserGrammar.java:184)
edu.stanford.nlp.pipeline.ParserAnnotator.loadModel(ParserAnnotator.java:219)
edu.stanford.nlp.pipeline.ParserAnnotator.<init>(ParserAnnotator.java:121)
edu.stanford.nlp.pipeline.AnnotatorImplementations.parse(AnnotatorImplementations.java:113)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$getNamedAnnotators$51(StanfordCoreNLP.java:552)
edu.stanford.nlp.pipeline.StanfordCoreNLP.lambda$null$70(StanfordCoreNLP.java:625)
edu.stanford.nlp.util.Lazy$3.compute(Lazy.java:126)
edu.stanford.nlp.util.Lazy.get(Lazy.java:31)
edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:149)
edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:495)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:201)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:194)
edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:181)
com.articulate.nlp.pipeline.Pipeline.<init>(Pipeline.java:120)
com.articulate.nlp.semRewrite.Interpreter.<init>(Interpreter.java:141)
org.apache.jsp.NLP_jsp._jspService(NLP_jsp.java:278)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.
Please forgive my questioning the obvious, but I take it that you do have the directory /home/mani/Programs/stanford-corenlp-full-2018-01-31 ? If so, then I'm running out of ideas I'm afraid
yeah it's there, I'm out of ideas too... I'll let you know what was the problem if/when I managed to make it work
The only other thing I can think of would be a permissions issue with that directory
could you do
ls -la /home/mani/Programs/stanford-corenlp-full-2018-01-31
and
ls -la /home/mani/Programs
and post the results, just in case I might notice anything?
They have all the permissions I think
$ls -la /home/mani/Programs/stanford-corenlp-full-2018-01-31
total 845428
drwxrwxrwx 7 mani mani 4096 Aug 9 15:03 .
drwxrwxr-x 13 mani mani 4096 Aug 9 12:41 ..
-rwxrwxrwx 1 mani mani 3992 Feb 12 2018 build.xml
-rwxrwxrwx 1 mani mani 871 Feb 12 2018 corenlp.sh
-rwxrwxrwx 1 mani mani 5477 Feb 12 2018 CoreNLP-to-HTML.xsl
drwxrwxrwx 3 mani mani 4096 Jan 16 2018 edu
-rwxrwxrwx 1 mani mani 211938 Feb 12 2018 ejml-0.23.jar
-rwxrwxrwx 1 mani mani 1227451 Feb 12 2018 ejml-0.23-src.zip
-rwxrwxrwx 1 mani mani 89 Feb 12 2018 input.txt
-rwxrwxrwx 1 mani mani 19868 Feb 12 2018 input.txt.xml
-rwxrwxrwx 1 mani mani 54860 Feb 12 2018 javax.json-api-1.0-sources.jar
-rwxrwxrwx 1 mani mani 85147 Feb 12 2018 javax.json.jar
-rwxrwxrwx 1 mani mani 774317 Feb 12 2018 joda-time-2.9-sources.jar
-rwxrwxrwx 1 mani mani 629506 Feb 12 2018 joda-time.jar
-rwxrwxrwx 1 mani mani 196945 Feb 12 2018 jollyday-0.4.9-sources.jar
-rwxrwxrwx 1 mani mani 213591 Feb 12 2018 jollyday.jar
-rwxrwxrwx 1 mani mani 1667 Feb 12 2018 LIBRARY-LICENSES
-rwxrwxrwx 1 mani mani 35147 Feb 12 2018 LICENSE.txt
-rwxrwxrwx 1 mani mani 769 Feb 12 2018 Makefile
drwxrwxrwx 2 mani mani 4096 Jan 16 2018 META-INF
drwxrwxrwx 2 mani mani 4096 Feb 12 2018 patterns
-rwxrwxrwx 1 mani mani 5479 Feb 12 2018 pom.xml
-rwxrwxrwx 1 mani mani 1347123 Feb 12 2018 protobuf.jar
-rwxrwxrwx 1 mani mani 3909 Feb 12 2018 README.txt
-rwxrwxrwx 1 mani mani 367 Feb 12 2018 RESOURCE-LICENSES
-rwxrwxrwx 1 mani mani 2389 Feb 12 2018 SemgrexDemo.java
-rwxrwxrwx 1 mani mani 1828 Feb 12 2018 ShiftReduceDemo.java
-rwxrwxrwx 1 mani mani 32127 Feb 12 2018 slf4j-api.jar
-rwxrwxrwx 1 mani mani 10712 Feb 12 2018 slf4j-simple.jar
-rwxrwxrwx 1 mani mani 8060812 Feb 12 2018 stanford-corenlp-3.9.0.jar
-rwxrwxrwx 1 mani mani 9657478 Feb 12 2018 stanford-corenlp-3.9.0-javadoc.jar
-rwxrwxrwx 1 mani mani 362570962 Feb 12 2018 stanford-corenlp-3.9.0-models.jar
-rwxrwxrwx 1 mani mani 5272671 Feb 12 2018 stanford-corenlp-3.9.0-sources.jar
-rwxrwxrwx 1 mani mani 5798 Feb 12 2018 StanfordCoreNlpDemo.java
-rwxrwxrwx 1 mani mani 199767 Feb 12 2018 StanfordDependenciesManual.pdf
-rwxrwxrwx 1 mani mani 474000704 Aug 9 15:02 stanford-english-kbp-corenlp-2018-01-31-models.jar
drwxrwxrwx 2 mani mani 4096 Feb 12 2018 sutime
drwxrwxrwx 2 mani mani 4096 Feb 12 2018 tokensregex
-rwxrwxrwx 1 mani mani 672122 Feb 12 2018 xom-1.2.10-src.jar
-rwxrwxrwx 1 mani mani 313253 Feb 12 2018 xom.jar
$ls -la /home/mani/Programs
total 52
drwxrwxr-x 13 mani mani 4096 Aug 9 12:41 .
drwxr-xr-x 107 mani mani 4096 Aug 8 18:52 ..
drwxr-xr-x 9 mani mani 4096 Jun 15 19:26 apache-tomcat-8.5.23
drwxrwxr-x 24 mani mani 4096 Jun 18 17:49 E
drwxr-xr-x 9 mani mani 4096 Jul 15 10:08 jdk-11.0.8+10
drwxrwxr-x 9 mani mani 4096 Jun 15 19:11 jdk-14.0.1
drwxr-xr-x 8 mani mani 4096 Jul 28 16:21 jdk8u265-b01
drwxrwxr-x 8 mani mani 4096 Jun 15 16:35 leo
drwxrwxr-x 7 mani mani 4096 Aug 9 14:18 stanford-corenlp-4.1.0
drwxrwxrwx 7 mani mani 4096 Aug 9 15:03 stanford-corenlp-full-2018-01-31
drwxrwxr-x 8 mani mani 4096 Jun 15 18:49 TPTP-v7.3.0
drwxrwxr-x 25 mani mani 4096 Jun 15 15:08 vampire
drwxrwxrwx 7 mani mani 4096 Jun 15 20:11 WordNet-3.0
yup, all looks good, sigh
oh, maybe a strange memory issue? Have you run top while initializing? CoreNLP takes lots of memory
These errors seem to be largely unrelated to Sigma itself. Can you try to run just CoreNLP alone to test? Maybe
java -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLP -file input.txt
Actually I'm not able to do that !
Fixed the class path but now I get out of memory error ...
How much ram do you have? I'm running with -Xms6G -Xmx16G
(I got the the out of memory error once actually the rest of the times the error is still as before)
(java -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLP -file input.txt
works too)
That should be enough memory. I run on a laptop that has 20 gig memory. Maybe try just loading Merge.kif in your config.xml to make sure it's not the knowledge base size that's the issue
Hi, Running
ant
results in following errors: