Hello, I have been using the previous version of jwnl without any problem but with 1.3 I cannot even run the Examples.java because I have an:
java.lang.NullPointerException at net.didion.jwnl.JWNL.getParams(Unknown Source)
in JWNL.initialize(new FileInputStream(propsFile)); where my propsFile is "file_properties.xml"
I have tried with all the versions of JWNL: rc1, rc2, rc3 and even with the src files.
Can anyone helps? Thanks a lot. Vanessa
Vanessa,
could it be that the new JWNL is requiring a newer Java runtime / sdk ?
-Holger
Hi! I don't think so. I am using j2sdk 1.4.1_02 Any other idea?
Thanks!
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.
Log in to post a comment.
Hello,
I have been using the previous version of jwnl without any problem but with 1.3 I cannot even run the Examples.java because I have an:
java.lang.NullPointerException
at net.didion.jwnl.JWNL.getParams(Unknown Source)
in JWNL.initialize(new FileInputStream(propsFile));
where my propsFile is "file_properties.xml"
I have tried with all the versions of JWNL: rc1, rc2, rc3 and even with the src files.
Can anyone helps?
Thanks a lot.
Vanessa
Vanessa,
could it be that the new JWNL is requiring a newer Java runtime / sdk ?
-Holger
Hi!
I don't think so. I am using j2sdk 1.4.1_02
Any other idea?
Thanks!
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.