Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerExcception with "logger" object in "RTEPairsPreProcessor" class, in BIUTEE #268

Open
hoangyenan opened this issue Sep 18, 2013 · 0 comments
Labels

Comments

@hoangyenan
Copy link

Hi all,

When testing the BIUTEE, the new release code,according to the instructions at webpage (https://github.com/hltfbk/Excitement-Open-Platform/wiki/BIUTEE#wiki-interface_eop), I tried to use the command:

mvn -f /home/daniel-vo/Desktop/EOP-Testing-Project/EOP-1.0.2/biutee/pom.xml exec:java -Dexec.mainClass=eu.excitementproject.eop.biutee.rteflow.systems.excitement.BiuteeMain -Dexec.args="biutee.xml lap_train"

to preprocess the training data, however, I always get NullPointerException error and I found that in the class eu.excitementproject.eop.biutee.rteflow.systems.rtepairs.RTEPairsPreProcessor, at the method preprocess(), the logger.info() always returns NullPointerexception error.

I find in this class and realize that the object "logger" was initiated in the main function, and somehow, when we run the command above for preprocessing training data, the "logger" object was not initiated and that's why it always returns NullPointerException error in any method carries this "logger" object.

I tested by putting comments at any method "logger.info()" and no more NullPointerException error returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant