lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vicky Desai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4728) Getting a null pointer exception when i dont use the updateLog parameter in solrConfig.xml
Date Wed, 17 Apr 2013 13:33:15 GMT
Vicky Desai created SOLR-4728:
---------------------------------

             Summary: Getting a null pointer exception when i dont use the updateLog parameter
in solrConfig.xml
                 Key: SOLR-4728
                 URL: https://issues.apache.org/jira/browse/SOLR-4728
             Project: Solr
          Issue Type: Bug
          Components: Schema and Analysis
    Affects Versions: 4.2
            Reporter: Vicky Desai
            Priority: Minor


If i disable update log in solr 4.2 then i get the following exception
SEVERE: :java.lang.NullPointerException
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:190)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:156)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:100)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:266)
        at org.apache.solr.cloud.ZkController.joinElection(ZkController.java:935)
        at org.apache.solr.cloud.ZkController.register(ZkController.java:761)
        at org.apache.solr.cloud.ZkController.register(ZkController.java:727)
        at org.apache.solr.core.CoreContainer.registerInZk(CoreContainer.java:908)
        at org.apache.solr.core.CoreContainer.registerCore(CoreContainer.java:892)
        at org.apache.solr.core.CoreContainer.register(CoreContainer.java:841)
        at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:638)
        at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Apr 12, 2013 6:39:56 PM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.solr.common.cloud.ZooKeeperException:
        at org.apache.solr.core.CoreContainer.registerInZk(CoreContainer.java:931)
        at org.apache.solr.core.CoreContainer.registerCore(CoreContainer.java:892)
        at org.apache.solr.core.CoreContainer.register(CoreContainer.java:841)
        at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:638)
        at org.apache.solr.core.CoreContainer$3.call(CoreContainer.java:629)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:190)
        at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:156)
        at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:100)
        at org.apache.solr.cloud.LeaderElector.joinElection(LeaderElector.java:266)
        at org.apache.solr.cloud.ZkController.joinElection(ZkController.java:935)
        at org.apache.solr.cloud.ZkController.register(ZkController.java:761)
        at org.apache.solr.cloud.ZkController.register(ZkController.java:727)
        at org.apache.solr.core.CoreContainer.registerInZk(CoreContainer.java:908)
        ... 12 more

and solr fails to start . However if i add updatelog in my solrconfig.xml it starts.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message