pkt / whatswrong

Automatically exported from code.google.com/p/whatswrong
GNU General Public License v3.0
0 stars 0 forks source link

NPE in BioNLP2009SharedTaskFormat.load #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load gold corpus in BioNLP 2009 ST mode
2. Select a file in the BioNLP files direcotry
3. Press "Choose"

What is the expected output? What do you see instead?

The corpus is not loaded.

What version of the product are you using? On what operating system?

Mac OS X Tiger

Please provide any additional information below.

{{{
java.lang.NullPointerException
        at
com.googlecode.whatswrong.io.BioNLP2009SharedTaskFormat.load(BioNLP2009SharedTas
kFormat.java:127)
        at
com.googlecode.whatswrong.CorpusLoader$2$1.run(CorpusLoader.java:403)
        at java.lang.Thread.run(Thread.java:613)
}}}

Original issue reported on code.google.com by kaljurand on 23 Feb 2009 at 2:47

GoogleCodeExporter commented 9 years ago
Sorry for the very late answer to this---somehow I wasn't notified of issue 
changes by email, so I just 
overlooked this. As for the BioNLP data, you have to select the directory will 
all annotation files, not the actual 
files inside the directory. Would this solve the problem?

Original comment by sebastian.riedel@gmail.com on 11 May 2009 at 6:06