This is fixed in trunk. The next nightly build will have this fix. Thanks! On Tue, Jun 2, 2009 at 9:49 PM, Steffen B. <s.baumg...@fhtw-berlin.de>wrote:
> > Glad to hear that it's not a problem with my setup. > Thanks for taking care of it! :) > > > Shalin Shekhar Mangar wrote: > > > > On Tue, Jun 2, 2009 at 8:06 PM, Steffen B. > > <s.baumg...@fhtw-berlin.de>wrote: > > > >> > >> I'm trying to debug my DI config on my Solr server and it constantly > >> fails > >> with a NullPointerException: > >> Jun 2, 2009 4:20:46 PM org.apache.solr.handler.dataimport.DataImporter > >> doFullImport > >> SEVERE: Full Import failed > >> java.lang.NullPointerException > >> at > >> > >> > org.apache.solr.handler.dataimport.DebugLogger.peekStack(DebugLogger.java:78) > >> at > >> org.apache.solr.handler.dataimport.DebugLogger.log(DebugLogger.java:98) > >> at > >> org.apache.solr.handler.dataimport.SolrWriter.log(SolrWriter.java:248) > >> at... > >> > >> Running a normal full-import works just fine, but whenever I try to run > >> the > >> debugger, it gives me this error. I'm using the most recent Solr nightly > >> build (2009-06-01) and the method in question is: > >> private DebugInfo peekStack() { > >> return debugStack.isEmpty() ? null : debugStack.peek(); > >> } > >> I'm using a DI config that has been working fine in for several previous > >> builds, so that shouldn't be the problem... any ideas what the problem > >> could > >> be? > > > > > > > > A previous commit to change the EntityProcessor API broke this > > functionality. I'll open an issue and give a patch. > > > > -- > > Regards, > > Shalin Shekhar Mangar. > > > > > > -- > View this message in context: > http://www.nabble.com/NPE-in-dataimport.DebugLogger.peekStack-%28DIH-Development-Console%29-tp23833878p23835897.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Regards, Shalin Shekhar Mangar.