Skip to Content.
Sympa Menu

illinois-ml-nlp-users - [Illinois-ml-nlp-users] ServiceUnavailableException when calling client.provide("lemma_wnplus")

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

[Illinois-ml-nlp-users] ServiceUnavailableException when calling client.provide("lemma_wnplus")


Chronological Thread 
  • From: Labhesh <labhesh AT gmail.com>
  • To: "illinois-ml-nlp-users AT cs.uiuc.edu" <illinois-ml-nlp-users AT cs.uiuc.edu>
  • Subject: [Illinois-ml-nlp-users] ServiceUnavailableException when calling client.provide("lemma_wnplus")
  • Date: Fri, 21 Mar 2014 16:52:39 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
  • List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>

I am getting a ServiceUnavailableException when I am trying to calling any of the lemmas (lemma_wn, lemma_wnplus , lemma_porter) even though client.describeAnnotations show that the annotations should be available.

Also, on the curator side, the lemmatizer service seems to be up.

Attached is the exception (client.describeAnnotations is also shown). After the exception trace, I have also included the server lemma.log:

{chunk=illinoischunker identifies as illinoischunker-0.3, stanfordParse=stanfordparser identifies as stanfordparser-0.7, sentences=illinoistokenizer identifies 

as illinoistokenizer-0.4, ner=Illinoisner identifies as Illinoisner-2.1, pos=illinoispos identifies as illinoispos-0.2, stanfordDep=stanfordparser identifies as

 stanfordparser-0.7, srl=verb-IllinoisSRL identifies as verb-IllinoisSRL-3.0.4, tokens=illinoistokenizer identifies as illinoistokenizer-0.4, coref=illinoiscore

f identifies as illinoiscoref-0.2, ner-ext=Illinoisner identifies as Illinoisner-2.1, lemma_wn=IllinoisLemmatizer-0.3 identifies as IllinoisLemmatizer-0.3-0.3, 

wikifier=illinoiswikifier identifies as illinoiswikifier-1.6, lemma_porter=IllinoisLemmatizer-0.3 identifies as IllinoisLemmatizer-0.3-0.3, lemma_wnplus=Illinoi

sLemmatizer-0.3 identifies as IllinoisLemmatizer-0.3-0.3, nom=nom-IllinoisSRL identifies as nom-IllinoisSRL-3.0.4, berkeley=berkeley identifies as berkeley-0.1,

 charniak=Charniak Syntactic Parser identifies as charniak-0.8}

ServiceUnavailableException(reason:lemma_wnplus unavailable:org.apache.thrift.TApplicationException: labelRecord failed: unknown result)

at edu.illinois.cs.cogcomp.thrift.curator.Curator$provide_result$provide_resultStandardScheme.read(Curator.java:3415)

at edu.illinois.cs.cogcomp.thrift.curator.Curator$provide_result$provide_resultStandardScheme.read(Curator.java:3392)

at edu.illinois.cs.cogcomp.thrift.curator.Curator$provide_result.read(Curator.java:3327)

at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)

at edu.illinois.cs.cogcomp.thrift.curator.Curator$Client.recv_provide(Curator.java:230)

at edu.illinois.cs.cogcomp.thrift.curator.Curator$Client.provide(Curator.java:215)

at CuratorDemo.main(CuratorDemo.java:50)

Exception in thread "main" java.lang.NullPointerException

at CuratorDemo.main(CuratorDemo.java:67)



Here is the server lemma.log:


bin/illinois-lemmatizer-server.sh: running command 'java -cp /root/cur/dist:/root/cur/dist/components/illinois-lemmatizer-server.jar:/root/cur/dist/components/curator-interfaces.jar:/root/cur/dist:/root/cur/dist/components/illinois-abstract-server.jar:/root/cur/dist/lib/illinois-lemmatizer-0.0.4.jar:/root/cur/dist/lib/commons-cli-1.2.jar:/root/cur/dist/lib/commons-lang-2.5.jar:/root/cur/dist/lib/commons-logging-1.1.1.jar:/root/cur/dist/lib/libthrift-0.8.0.jar:/root/cur/dist/lib/logback-classic-0.9.17.jar:/root/cur/dist/lib/logback-core-0.9.17.jar:/root/cur/dist/lib/slf4j-api-1.5.8.jar:/root/cur/dist/lib/coreUtilities-0.1.7.jar:/root/cur/dist/lib/edison-0.4.jar:/root/cur/dist/lib/lucene-snowball-3.0.3.jar:/root/cur/dist/lib/lucene-analyzers-common-4.1.0.jar:/root/cur/dist/lib/cogcomp-common-resources-1.2.jar:/root/cur/dist/lib/jwnl-1.4_rc3.jar:/root/cur/dist/lib/snowball-1.0.jar:/root/cur/dist/configs -Dhome=/root/cur/dist -Xmx512m edu.illinois.cs.cogcomp.annotation.server.IllinoisLemmatizerServer -p 12345 -c configs/lemmatizerConfig.txt'...

22:49:59,590 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]

22:49:59,591 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/root/curator-1.0.6/dist/logback.xml]

22:49:59,918 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set

22:49:59,919 |-INFO in ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter@4ca9cde2 - Will scan for changes in file [/root/curator-1.0.6/dist/logback.xml] every 60 seconds.

22:49:59,919 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Adding ReconfigureOnChangeFilter as a turbo filter

22:49:59,919 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]

22:49:59,923 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]

22:50:00,102 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.

22:50:00,290 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [STDOUT] from the object stack

22:50:00,290 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]

22:50:00,385 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - No compression will be used

22:50:00,402 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy - Will use the pattern logs/dated/HOSTNAME_IS_UNDEFINED-servers.%d{yyyy-MM-dd}.log for the active file

22:50:00,413 |-INFO in ch.qos.logback.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy@200bd7c0 - The date pattern is 'yyyy-MM-dd' from file name pattern 'logs/dated/HOSTNAME_IS_UNDEFINED-servers.%d{yyyy-MM-dd}.log'.

22:50:00,413 |-INFO in ch.qos.logback.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy@200bd7c0 - Roll-over at midnight.

22:50:00,414 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.

22:50:00,416 |-WARN in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Setting "File" property to null on account of prudent mode

22:50:00,416 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: logs/dated/HOSTNAME_IS_UNDEFINED-servers.2014-03-21.log

22:50:00,416 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [null]

22:50:00,429 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [FILE] from the object stack

22:50:00,429 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO

22:50:00,429 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]

22:50:00,443 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]


edu.illinois.cs.cogcomp.nlp.lemmatizer.AugmentedLemmatizer constructor: initializing...

22:50:03.269 [main] INFO  e.i.c.c.e.utilities.WordNetManager - Loading wordnet properties as a classpath resource: false, Properties file: configs/jwnl_properties.xml

Mar 21, 2014 10:50:03 PM net.didion.jwnl.util.MessageLog doLog

INFO: Installing dictionary net.didion.jwnl.dictionary.FileBackedDictionary@699dd00d

22:50:04.705 [main] INFO  e.i.c.c.a.s.IllinoisLemmatizerServer - Starting the server on port 12345 with 1 threads





  • [Illinois-ml-nlp-users] ServiceUnavailableException when calling client.provide("lemma_wnplus"), Labhesh, 03/21/2014

Archive powered by MHonArc 2.6.16.

Top of Page