Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

AnnotationWorkbench "NullPointerEx...

Help
Duygu
2012-09-25
2014-01-17
  • Duygu
    Duygu
    2012-09-25

    Hi all,
    I have extracted the csv files for Turkish, I have installed wikipediaminer-1.2.0 and built database. Now I want the model files for Turkish and ran AnnotationWorkbench (provided in http://wikipedia-miner.cms.waikato.ac.nz/wiki/Wiki.jsp?page=Experimenting%20with%20annotation) however in the first step (generating articles) execution fails with the followings:

    Exception in thread "main" java.lang.NullPointerException
    at org.wikipedia.miner.util.PageIterator.queueNext(Unknown Source)
    at org.wikipedia.miner.util.PageIterator.next(Unknown Source)
    at org.wikipedia.miner.util.ArticleSet.getRoughCandidates(Unknown Source)
    at org.wikipedia.miner.util.ArticleSetBuilder.buildExclusiveSets(Unknown Source)
    at AnnotationWorkbench.gatherArticleSets(AnnotationWorkbench.java:70)
    at AnnotationWorkbench.main(AnnotationWorkbench.java:189)

    I debugged program execution but can't understand why this fails. How am I going to solve this?
    Thanks in advance

     
  • feet
    feet
    2013-03-09

    Hi
    Did you ever find a solution to this problem? I am struggling with it as well.

     
  • anuj
    anuj
    2014-01-17

    Have u find the solution for this ?