abhishek0007 / duke

Automatically exported from code.google.com/p/duke
0 stars 0 forks source link

NPE in AbstractLinkFileListener.matches #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
User says he had an ID property, but no column element for the ID column in the 
source CSV file.

Exception in thread "main" java.lang.NullPointerException
       at no.priv.garshol.duke.Duke$AbstractLinkFileListener.matches(Duke.java:253)
       at no.priv.garshol.duke.Processor.registerMatch(Processor.java:394)
       at no.priv.garshol.duke.Processor.access$100(Processor.java:23)
       at no.priv.garshol.duke.Processor$PassThroughFilter.matches(Processor.java:464)
       at no.priv.garshol.duke.Processor.compareCandidates(Processor.java:311)
       at no.priv.garshol.duke.Processor.match(Processor.java:299)
       at no.priv.garshol.duke.Processor.deduplicate(Processor.java:181)
       at no.priv.garshol.duke.Processor.deduplicate(Processor.java:159)
       at no.priv.garshol.duke.Duke.main_(Duke.java:149)
       at no.priv.garshol.duke.Duke.main(Duke.java:39)

Original issue reported on code.google.com by lar...@gmail.com on 10 Jan 2013 at 7:28

GoogleCodeExporter commented 8 years ago

Original comment by lar...@gmail.com on 10 Jan 2013 at 7:36

GoogleCodeExporter commented 8 years ago
Seems that Record.getValues("ID") returned null.

Original comment by lar...@gmail.com on 10 Jan 2013 at 2:06

GoogleCodeExporter commented 8 years ago
Fixed now, since getValues() never returns null any more.

Original comment by lar...@gmail.com on 22 Feb 2013 at 12:02