Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9287

Intermittent Solr error at startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 5.1-milestone-2
    • Search - Solr
    • Unknown
    • N/A
    • N/A

    Description

      I just got the following when starting XWiki (jetty/hsqldb):

      Starting Jetty on port 8080 ...
      2013-06-27 10:04:55.484:INFO:oejs.Server:jetty-8.1.9.v20130131
      2013-06-27 10:04:55.497:INFO:oejs.NCSARequestLog:Opened /Users/vmassol/dev/xwiki/git/xwiki-enterprise/xwiki-enterprise-distribution/xwiki-enterprise-jetty/xwiki-enterprise-jetty-hsqldb/target/xwiki-enterprise-jetty-hsqldb-5.1-SNAPSHOT/data/logs/2013_06_27.request.log
      2013-06-27 10:04:55.505:INFO:oejdp.ScanningAppProvider:Deployment monitor /Users/vmassol/dev/xwiki/git/xwiki-enterprise/xwiki-enterprise-distribution/xwiki-enterprise-jetty/xwiki-enterprise-jetty-hsqldb/target/xwiki-enterprise-jetty-hsqldb-5.1-SNAPSHOT/jetty/contexts at interval 10
      2013-06-27 10:04:55.511:INFO:oejd.DeploymentManager:Deployable added: /Users/vmassol/dev/xwiki/git/xwiki-enterprise/xwiki-enterprise-distribution/xwiki-enterprise-jetty/xwiki-enterprise-jetty-hsqldb/target/xwiki-enterprise-jetty-hsqldb-5.1-SNAPSHOT/jetty/contexts/xwiki.xml
      2013-06-27 10:04:59.713:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /xwiki, did not find org.apache.jasper.servlet.JspServlet
      2013-06-27 10:05:03,271 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 
      2013-06-27 10:05:03,276 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: data/solr 
      2013-06-27 10:05:04,442 [main] WARN  o.a.s.c.SolrCore               - New index directory detected: old=null new=data/solr/./data/index/ 
      2013-06-27 10:05:05,752 [main] INFO  o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. 
      2013-06-27 10:05:06,099 [main] ERROR .x.j.i.DefaultJobStatusStorage - Failed to load job status from file [data/jobs/status/solr/indexer/status.xml] 
      java.lang.NullPointerException: null
      	at org.xwiki.job.internal.DefaultJobStatusStorage.loadStatus(DefaultJobStatusStorage.java:213) [xwiki-commons-job-5.1-20130625.083732-37.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStorage.loadFolder(DefaultJobStatusStorage.java:198) [xwiki-commons-job-5.1-20130625.083732-37.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStorage.loadFolder(DefaultJobStatusStorage.java:195) [xwiki-commons-job-5.1-20130625.083732-37.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStorage.loadFolder(DefaultJobStatusStorage.java:195) [xwiki-commons-job-5.1-20130625.083732-37.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStorage.load(DefaultJobStatusStorage.java:181) [xwiki-commons-job-5.1-20130625.083732-37.jar:na]
      	at org.xwiki.job.internal.DefaultJobStatusStorage.initialize(DefaultJobStatusStorage.java:144) [xwiki-commons-job-5.1-20130625.083732-37.jar:na]
      	at org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:323) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:346) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:161) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:378) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:185) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:169) [xwiki-commons-component-default-5.1-20130625.083556-29.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164) [xwiki-commons-observation-local-5.1-20130625.083727-36.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131) [xwiki-commons-observation-local-5.1-20130625.083727-36.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:262) [xwiki-commons-observation-local-5.1-20130625.083727-36.jar:na]
      	at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:316) [xwiki-commons-observation-local-5.1-20130625.083727-36.jar:na]
      	at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:109) [xwiki-platform-container-servlet-5.1-20130624.164315-77.jar:na]
      	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:775) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:767) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) [jetty-servlet-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jetty-webapp-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:710) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492) [jetty-webapp-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) [jetty-deploy-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.server.Server.doStart(Server.java:280) [jetty-server-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) [jetty-util-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1259) [jetty-xml-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_45]
      	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1182) [jetty-xml-8.1.9.v20130131.jar:8.1.9.v20130131]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_45]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_45]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_45]
      	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_45]
      	at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) [start.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.start.Main.start(Main.java:615) [start.jar:8.1.9.v20130131]
      	at org.eclipse.jetty.start.Main.main(Main.java:96) [start.jar:8.1.9.v20130131]
      2013-06-27 10:05:06.800:INFO:oejd.DeploymentManager:Deployable added: /Users/vmassol/dev/xwiki/git/xwiki-enterprise/xwiki-enterprise-distribution/xwiki-enterprise-jetty/xwiki-enterprise-jetty-hsqldb/target/xwiki-enterprise-jetty-hsqldb-5.1-SNAPSHOT/jetty/contexts/root.xml
      2013-06-27 10:05:06.815:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
      2013-06-27 10:05:06.824:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
      2013-06-27 10:05:06.824:INFO::----------------------------------
      2013-06-27 10:05:06.826:INFO::Server started, you can now open http://172.20.10.8:8080/ in your browser to access your wiki.
      2013-06-27 10:05:06.826:INFO::----------------------------------
      

      It's intermittent since most of the time it works fine without error.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: