ERROR 2015-04-01 16:09:24,032 (Job notification thread) - Unhandled 
SolrServerException: java.lang.NullPointerException
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unhandled 
SolrServerException: java.lang.NullPointerException
        at 
org.apache.manifoldcf.agents.output.solr.HttpPoster.handleSolrServerException(HttpPoster.java:364)
        at 
org.apache.manifoldcf.agents.output.solr.HttpPoster.commitPost(HttpPoster.java:308)
        at 
org.apache.manifoldcf.agents.output.solr.SolrConnector.noteJobComplete(SolrConnector.java:610)
        at 
org.apache.manifoldcf.crawler.system.JobNotificationThread.run(JobNotificationThread.java:121)
Caused by: org.apache.solr.client.solrj.SolrServerException: 
java.lang.NullPointerException
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:873)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:738)
        at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:124)
        at 
org.apache.manifoldcf.agents.output.solr.HttpPoster$CommitThread.run(HttpPoster.java:1372)
Caused by: java.lang.NullPointerException
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:520)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:892)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:795)
        ... 3 more

K
                                                                                
                
On Wed, Apr 01, 2015 at 10:15:13AM -0400, Karl Wright wrote:
> Hi Kamil,
> 
> So you are still seeing a NullPointerException from
> org.apache.solr.client.solrj.impl.CloudSolrClient?  Can you provide the
> entire stack trace?
> 
> Karl
> 
> 
> On Wed, Apr 1, 2015 at 10:10 AM, Kamil Żyta <[email protected]> wrote:
> 
> > Hi Karl,
> > same thing with trunk. Any advice?
> >
> > K
> >
> > On Wed, Apr 01, 2015 at 09:37:47AM -0400, Karl Wright wrote:
> > > Hi Kamil,
> > >
> > > Solrj 5.0 changed massively from Solrj 4.x.  The work to use Solrj 5.0
> > has
> > > been done on trunk.  You will need to check out and build trunk in order
> > to
> > > use Solr 5.
> > >
> > > Thanks,
> > > Karl
> > >
> > > On Wed, Apr 1, 2015 at 9:23 AM, Kamil Żyta <[email protected]>
> > wrote:
> > >
> > > > Hi,
> > > > I set up solr 5 (Cloud) and mcf2, created core in solr with 2 shards
> > and 2
> > > > replicas:
> > > > https://i.imgur.com/M05QTu7.png and created Output Connections in mcf.
> > > > When I put 'esci' in 'Collection name' I got error:
> > > > Threw exception: 'Unhandled SolrServerException: No live SolrServers
> > > > available to handle this request:[http://10.26.26.29:8983/solr/esci,
> > > > http://10.26.26.28:8983/solr/esci]'
> > > > When I leave 'Collection name' empty I have 'Connection working'.
> > > > Now when I start job, everything look good, worker fetch docs, etc
> > > > but I cannot see any docs in solr. Nothing in logs except one line in
> > > > worker
> > > > console:
> > > > [Thread-6476596] ERROR
> > org.apache.solr.client.solrj.impl.CloudSolrClient -
> > > > Request to collection  failed due to (0)
> > java.lang.NullPointerException,
> > > > retry? 0
> > > > thanks for the advice.
> > > >
> > > > K
> > > >
> > > >
> >

Reply via email to