Re: Solrj exception posting XML docs

2009-03-27 Thread Giovanni De Stefano
Hello all, the null pointer exception was caused by a wrong XML... Basically my doc was something like this: ... ... but it had to be wrapped with a as follow: ... A more useful message would have been nice to have because I had to look at the source code to understand that the

Solrj exception posting XML docs

2009-03-27 Thread Giovanni De Stefano
Hello all, I am currently using Solr 1.3 and its Solrj. I am trying to post XML docs directly through Solrj but I get the following exception: 13:12:09,119 ERROR [STDERR] Mar 27, 2009 1:12:09 PM org.apache.solr.common.SolrException log SEVERE: java.lang.NullPointerException at org.apache.solr.h