FYI, if a null string is passed to TextProcessor.getEnglishWordTokens()
fails with a NullPointerException
at https://sourceforge.net/p/gnat/code/HEAD/tree/GNAT/src/gnat/preprocessing/TextPreprocessor.java#l73
java.lang.NullPointerException at gnat.preprocessing.TextPreprocessor.getEnglishWordTokens(TextPreprocessor.java:73) at gnat.representation.GeneContextModel.addEntrezGeneSummary(GeneContextModel.java:56) at gnat.database.GeneRepositoryFromDatabase.getGeneRepositoryFAST(GeneRepositoryFromDatabase.java:371) at gnat.filter.nei.GeneRepositoryLoader.filter(GeneRepositoryLoader.java:192) at gnat.client.Run.runFilters(Run.java:189)
I was able to work around it by updating the GNAT.GR_Summary
table as:
update GR_Summary set summary="" where summary is null;
Cheers
Fixed in source code; still need to re-up new binaries.
Thanks for pointing this out!
I committed a code fix to Sourceforge but still need to generate new
binaries for people to download if they are not working off the source code.
Thanks again,
Joerg
On Sat, Nov 18, 2017 at 6:35 PM, Kuni Katsuya kczi@users.sf.net wrote:
Related
Tickets:
#3