manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1014) SolrCloud connector Unhandled SolrServerException: java.lang.NullPointerException
Date Tue, 26 Aug 2014 13:41:57 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110700#comment-14110700
] 

Karl Wright commented on CONNECTORS-1014:
-----------------------------------------

The reporter says that the problem does not happen with MCF 1.7.  Instead he is getting a
more meaningful SolrServerException being thrown, which makes sense since we upgraded the
SolrJ version in 1.7 to the latest one.  So I'm closing this ticket.


> SolrCloud connector Unhandled SolrServerException: java.lang.NullPointerException
> ---------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1014
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1014
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Lucene/SOLR connector
>    Affects Versions: ManifoldCF 1.6.1
>         Environment: CentOS 6.5, java version "1.7.0_65"
>            Reporter: Kamil ┼╗yta
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.7
>
>         Attachments: CONNECTORS-1014.patch
>
>
> I successful configure Solr standalone server as output connector but when I change to
SolrCloud (and configure zookeeper) there is an error:
> [Thread-2025] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=zoo1.dev.kdm.wcss.pl:2181,solr-1.dev.kdm.wcss.pl:2181,solr-2.dev.kdm.wcss.pl:2181
sessionTimeout=60000 watcher=org.apache.solr.common.cloud.ConnectionManager@4499dfc
> [Thread-2025] INFO org.apache.solr.common.cloud.ConnectionManager - Waiting for client
to connect to ZooKeeper
> [Thread-2025-SendThread(solr-2.foo.org:2181)] INFO org.apache.zookeeper.ClientCnxn -
Opening socket connection to server solr-2.dev.kdm.wcss.pl/10.26.26.19:2181. Will not attempt
to authenticate using SASL (unknown error)
> [Thread-2025-SendThread(solr-2.foo.org:2181)] INFO org.apache.zookeeper.ClientCnxn -
Socket connection established to solr-2.foo.org/10.26.26.19:2181, initiating session
> [Thread-2025-SendThread(solr-2.foo.org:2181)] INFO org.apache.zookeeper.ClientCnxn -
Session establishment complete on server solr-2.dev.kdm.wcss.pl/10.26.26.19:2181, sessionid
= 0x347ee653963002d, negotiated timeout = 40000
> [Thread-2025-EventThread] INFO org.apache.solr.common.cloud.ConnectionManager - Watcher
org.apache.solr.common.cloud.ConnectionManager@4499dfc name:ZooKeeperConnection Watcher:zoo1.foo.org:2181,solr-1.foo.org:2181,solr-2.foo.org:2181
got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
> [Thread-2025] INFO org.apache.solr.common.cloud.ConnectionManager - Client is connected
to ZooKeeper
> [Thread-2025] INFO org.apache.solr.common.cloud.ZkStateReader - Updating cluster state
from ZooKeeper... 
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Unhandled SolrServerException:
java.lang.NullPointerException
>         at org.apache.manifoldcf.agents.output.solr.HttpPoster.handleSolrServerException(HttpPoster.java:351)
>         at org.apache.manifoldcf.agents.output.solr.HttpPoster.checkPost(HttpPoster.java:636)
>         at org.apache.manifoldcf.agents.output.solr.SolrConnector.check(SolrConnector.java:433)
>         at org.apache.jsp.viewoutput_jsp._jspService(viewoutput_jsp.java:305)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:746)
>         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
>         at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:1028)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>         at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:305)
>         at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:83)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>         at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message