Ok, so I fixed the issue by providing the pk="" in the entity definition as mentioned in http://wiki.apache.org/solr/DataImportHandler#Using_delta-import_command
I also have a transformer declared for the entity and the DIH during the deltaImport doesn't seem to be passing all the fields to the transformer (only the primary key) which causes the indexes for other fields not to be updated. Any ideas? On Jun 2, 2013, at 9:38 AM, PeriS <pvsub...@indiana.edu> wrote: > BTW the primary key is a combination of 2 fields. So not sure if thats the > issue. > > On Jun 2, 2013, at 1:08 AM, PeriS <pvsub...@indiana.edu> wrote: > >> I have configured the delta query properly, but not sure why the DIH is >> throwing the following error; >> >> SEVERE: Delta Import Failed >> java.lang.RuntimeException: java.lang.NullPointerException >> at >> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:266) >> at >> org.apache.solr.handler.dataimport.DataImporter.doDeltaImport(DataImporter.java:451) >> at >> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:489) >> at >> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:468) >> Caused by: java.lang.NullPointerException >> at >> org.apache.solr.handler.dataimport.DocBuilder.findMatchingPkColumn(DocBuilder.java:718) >> at >> org.apache.solr.handler.dataimport.DocBuilder.collectDelta(DocBuilder.java:783) >> at >> org.apache.solr.handler.dataimport.DocBuilder.doDelta(DocBuilder.java:334) >> at >> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:219) >> ... 3 more >> >> >> Thanks >> -Peri.S >> >> >> >> >> > > > > > > >