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

Close

jwnl 1.3 JWNL.initialize null pointer

Help
2004-09-21
2013-04-29
  • vanessa lopez
    vanessa lopez
    2004-09-21

    Hi!
    I don't think so. I am using j2sdk 1.4.1_02
    Any other idea?

    Thanks!

     
  • Jon Cohen
    Jon Cohen
    2004-12-05

    Here's what fixed that for me:

            String propsFile = "/usr/local/jwnl13rc3/file_properties.xml";
            JWNL.initialize(new FileInputStream(propsFile));

    Just do a search for file_properties.xml and replace the above with your value.

    So while typing in that answer I answered my own question: how to fix the
    net.didion.jwnl.JWNLException: UTILS_EXCEPTION_005

    Answer: open up the file_properties.xml and fix the dictionary_path.