On Tue, Jun 2, 2009 at 8:06 PM, Steffen B. <[email protected]>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.