Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10272

Solr socket timeout can't be null as indicated in description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • 4.3.0
    • Plugin : Search
    • None
    • 4.3 RC1

      0 is infinite, negative is forbidden on this implementation of Solrj.

      Caused by: java.lang.IllegalArgumentException: socketTimeoutMillis must be a non-negative integer.
      	at org.apache.solr.client.solrj.impl.SolrClientBuilder.withSocketTimeout(SolrClientBuilder.java:72)
      	at org.ametys.cms.search.solr.DefaultSolrClientProvider.initialize(DefaultSolrClientProvider.java:88)
      	at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:245)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:367)
      	at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:156)
      	at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:1)
      	at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:138)
      	... 227 more

      The configuration parameter

            bmaurel Bérénice Maurel
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: