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

Re: Solrj - Exception in thread "main" java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList

2008-12-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
which version of the server are you using? SolrJ documenttaion says that the binary format works only with Solr1.3 On Thu, Dec 18, 2008 at 2:49 PM, Sajith Vimukthi wrote: > > > Hi all, > > > > I used the sample code given below and tried to run with all the relevant > jars. I receive the exceptio

Solrj - Exception in thread "main" java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList

2008-12-18 Thread Sajith Vimukthi
Hi all, I used the sample code given below and tried to run with all the relevant jars. I receive the exception written below. package test.general; import org.apache.solr.client.solrj.SolrServer; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.clien

Solrj - Exception in thread "main" java.lang.ClassCastException: java.lang.Long cannot be cast to org.apache.solr.common.util.NamedList

2008-12-18 Thread Sajith Vimukthi
Hi all, I used the sample code given below and tried to run with all the relevant jars. I receive the exception written below. package test.general; import org.apache.solr.client.solrj.SolrServer; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.s

Re: Solrj Exception

2008-07-09 Thread Akeel
Hi, we have found that some of the jars (like stax-api-xxx.jar, stax-utils.jar, stax-xxx-dev.jar, commons-codec-xxx.jar) were missing in our application's lib directory, by adding these libraries the mentioned exception resolved. On Tue, May 27, 2008 at 12:56 PM, Akeel <[EMAIL PROTECTED]> wrote: