Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

The problem with WikifyService(annotate demo)

Help
Anonymous
2012-09-12
2013-05-30

  • Anonymous
    2012-09-12

    I successfully installed and configured the search service and compar service, but the annotate service still does not work.
    How to solve it?

    Servlet.service() for servlet wikify threw exception
    java.lang.ArrayIndexOutOfBoundsException: 6
    at weka.core.Instance.isMissing(Unknown Source)
    at weka.classifiers.trees.j48.C45Split.whichSubset(Unknown Source)
    at weka.classifiers.trees.j48.ClassifierTree.getProbs(Unknown Source)
    at weka.classifiers.trees.j48.ClassifierTree.getProbs(Unknown Source)
    at weka.classifiers.trees.j48.ClassifierTree.getProbs(Unknown Source)
    at weka.classifiers.trees.j48.ClassifierTree.distributionForInstance(Unknown Source)
    at weka.classifiers.trees.J48.distributionForInstance(Unknown Source)
    at weka.classifiers.meta.Bagging.distributionForInstance(Unknown Source)
    at weka.wrapper.Decider.getRawDistributionForInstance(Decider.java:104)
    at weka.wrapper.BinaryDecider.getDecisionDistribution(BinaryDecider.java:37)
    at org.wikipedia.miner.annotation.Disambiguator.getProbabilityOfSense(Disambiguator.java:212)
    at org.wikipedia.miner.annotation.TopicDetector.getTopics(TopicDetector.java:295)
    at org.wikipedia.miner.annotation.TopicDetector.getTopics(TopicDetector.java:109)
    at org.wikipedia.miner.service.WikifyService.wikifyAndGatherTopics(WikifyService.java:258)
    at org.wikipedia.miner.service.WikifyService.buildWrappedResponse(WikifyService.java:148)
    at org.wikipedia.miner.service.Service.doGet(Service.java:221)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.wikipedia.miner.service.CharsetFilter.doFilter(CharsetFilter.java:37)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:680)
     

     
  • Harsh Mahajan
    Harsh Mahajan
    2012-11-22

    Hi all, I have found the error … I had specified wrong file names for topic detection and disambiguation models….