What version of SolrJ is embedded in your uleaf.ear file? There have been
changes in how we deal with URLs stored in ZK in 8.8 --> SOLR-12182

On Fri, Feb 5, 2021 at 2:34 AM Flowerday, Matthew J <
matthew.flower...@gb.unisys.com> wrote:

> Hi There
>
>
>
> I have been checking out the latest (8.8.0) SolrCloud database (using
> Zookeeper 3.6.2) against our application which talks to Solr via the Solr
> API (I am not too sure of the details as I am not a java developer
> unfortunately!). The software has Solr 8.7.0/ZooKeeper 3.6.2 libraries
> ‘embedded’.
>
>
>
> When our application sends a query to the SolrCloud 8.8.0 database it
> generates this error:
>
>
>
> 2021-02-05 05:36:42,644 INFO
> [org.apache.solr.common.cloud.ConnectionManager] (default task-7) Client is
> connected to ZooKeeper
>
> 2021-02-05 05:36:42,685 INFO  [org.apache.solr.common.cloud.ZkStateReader]
> (default task-7) Updated live nodes from ZooKeeper... (0) -> (1)
>
> 2021-02-05 05:36:42,752 INFO
> [org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider] (default
> task-7) Cluster at localhost:2185 ready
>
> 2021-02-05 05:36:42,785 INFO
> [org.apache.solr.client.solrj.impl.BaseCloudSolrClient] (default task-7)
> request was not communication error it seems
>
> 2021-02-05 05:36:42,788 INFO
> [org.apache.solr.client.solrj.impl.BaseCloudSolrClient] (default task-7)
> Request to collection [holmes] failed due to (0)
> java.lang.NullPointerException, retry=0 maxRetries=5 commError=false
> errorCode=0
>
> 2021-02-05 05:36:42,789 ERROR
> [com.unisys.holmes2.h2ng.solr.business.impl.SolrConnectionManagerImpl]
> (default task-7) Solr exception on query 'test':
> org.apache.solr.client.solrj.SolrServerException:
> java.lang.NullPointerException
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:1053)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.request(BaseCloudSolrClient.java:866)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:214)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1003)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1018)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.solr.business.impl.SolrConnectionManagerImpl.search(SolrConnectionManagerImpl.java:191)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.solr.business.impl.SolrSearchServiceImpl.search(SolrSearchServiceImpl.java:223)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.solr.business.impl.SolrSearchServiceImpl.retrieveSearchPages(SolrSearchServiceImpl.java:163)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.solr.business.impl.SolrSearchServiceImpl.retrieveResults(SolrSearchServiceImpl.java:147)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.solr.business.impl.SolrSearchServiceImpl.search(SolrSearchServiceImpl.java:132)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.solr.business.impl.SolrSearchServiceImpl.search(SolrSearchServiceImpl.java:118)
>
>               at
> deployment.uleaf.ear.solr-ui-2.0-SNAPSHOT.war//com.unisys.holmes2.h2ng.solr.presentation.SolrController.search(SolrController.java:163)
>
>               at
> deployment.uleaf.ear.solr-ui-2.0-SNAPSHOT.war//com.unisys.holmes2.h2ng.solr.presentation.SolrController.searchValid(SolrController.java:127)
>
>               at
> deployment.uleaf.ear.solr-ui-2.0-SNAPSHOT.war//com.unisys.holmes2.h2ng.solr.presentation.SolrController.search(SolrController.java:108)
>
>               at
> deployment.uleaf.ear.solr-ui-2.0-SNAPSHOT.war//com.unisys.holmes2.h2ng.solr.presentation.SolrController$$FastClassBySpringCGLIB$$82e1da1b.invoke(<generated>)
>
>               at
> deployment.uleaf.ear//org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.persistence.support.AbstractRequestLogger.proceedWithoutDebug(AbstractRequestLogger.java:60)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.persistence.support.AbstractRequestLogger.logAndInvoke(AbstractRequestLogger.java:36)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.presentation.support.RequestLogger.request(RequestLogger.java:48)
>
>               at
> jdk.internal.reflect.GeneratedMethodAccessor733.invoke(Unknown Source)
>
>               at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>               at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:68)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
>
>               at
> deployment.uleaf.ear//org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
>
>               at
> deployment.uleaf.ear//org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
>
>               at
> deployment.uleaf.ear//org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>
>               at
> deployment.uleaf.ear//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
>
>               at
> deployment.uleaf.ear.solr-ui-2.0-SNAPSHOT.war//com.unisys.holmes2.h2ng.solr.presentation.SolrController$$EnhancerBySpringCGLIB$$8bd8fe86.search(<generated>)
>
>               at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>               at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>               at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>               at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>
>               at
> deployment.uleaf.ear//org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:175)
>
>               at
> deployment.uleaf.ear//org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:369)
>
>               at
> deployment.uleaf.ear//org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:356)
>
>               at
> deployment.uleaf.ear//org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleResource(AnnotationMethodHandlerAdapter.java:302)
>
>               at
> deployment.uleaf.ear//org.springframework.web.portlet.DispatcherPortlet.doResourceService(DispatcherPortlet.java:859)
>
>               at
> deployment.uleaf.ear//org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:539)
>
>               at
> deployment.uleaf.ear//org.springframework.web.portlet.FrameworkPortlet.serveResource(FrameworkPortlet.java:490)
>
>               at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>               at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
>               at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
>               at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.container.bean.processor.AnnotatedMethod.invoke(AnnotatedMethod.java:187)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.container.bean.processor.PortletInvoker.invokePortletMethod(PortletInvoker.java:137)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.container.bean.processor.PortletInvoker.serveResource(PortletInvoker.java:285)
>
>               at
> deployment.uleaf.ear//com.unisys.uleaf.portal.service.FilterChainImpl.doFilter(FilterChainImpl.java:295)
>
>               at
> deployment.uleaf.ear//com.unisys.uleaf.portal.service.FilterChainImpl.processFilter(FilterChainImpl.java:154)
>
>               at
> deployment.uleaf.ear//com.unisys.uleaf.portal.service.FilterManagerImpl.processFilter(FilterManagerImpl.java:116)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.container.driver.PortletServlet3.dispatch(PortletServlet3.java:510)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.container.driver.PortletServlet3.doGet(PortletServlet3.java:333)
>
>               at javax.servlet.api@2.0.0.Final
> //javax.servlet.http.HttpServlet.service(HttpServlet.java:503)
>
>               at javax.servlet.api@2.0.0.Final
> //javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.MetricsHandler.handleRequest(MetricsHandler.java:64)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.MetricsChainHandler.handleRequest(MetricsChainHandler.java:59)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:251)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:186)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:227)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.RequestDispatcherImpl.access$100(RequestDispatcherImpl.java:54)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.RequestDispatcherImpl$2.call(RequestDispatcherImpl.java:137)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.RequestDispatcherImpl$2.call(RequestDispatcherImpl.java:134)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.ServletContextImpl$5.call(ServletContextImpl.java:202)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.ServletContextImpl$5.call(ServletContextImpl.java:199)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.ServletContextImpl.invokeAction(ServletContextImpl.java:1022)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:134)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:243)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.driver.container.DefaultPortletInvokerService.serveResource(DefaultPortletInvokerService.java:162)
>
>               at
> deployment.uleaf.ear//org.apache.pluto.container.impl.PortletContainerImpl.doServeResource(PortletContainerImpl.java:275)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.AbstractPortalWebProcessor$UrlAction$5.handleRequest(AbstractPortalWebProcessor.java:347)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.AbstractPortalWebProcessor.handleRequest(AbstractPortalWebProcessor.java:435)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.PortalServlet.processPageWithValidSession(PortalServlet.java:233)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.PortalServlet.processPage(PortalServlet.java:215)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.PortalServlet.processHttpRequest(PortalServlet.java:144)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.PortalServlet.service(PortalServlet.java:102)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
>
>               at
> deployment.uleaf.ear.portal-ui.war//com.unisys.holmes2.h2ng.portal.presentation.PortalFaultyMultipartFilter.doFilter(PortalFaultyMultipartFilter.java:83)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.presentation.filter.SessionValidationFilter.doFilter(SessionValidationFilter.java:80)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.presentation.filter.LoggingFilter.doFilter(LoggingFilter.java:149)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.presentation.filter.SpaceRemovingFilter.doFilter(SpaceRemovingFilter.java:214)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at
> deployment.uleaf.ear//org.owasp.csrfguard.CsrfGuardFilter.doFilter(CsrfGuardFilter.java:88)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at
> deployment.uleaf.ear//org.springframework.web.multipart.support.MultipartFilter.doFilterInternal(MultipartFilter.java:118)
>
>               at
> deployment.uleaf.ear//org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at
> deployment.uleaf.ear//com.unisys.holmes2.h2ng.presentation.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:21)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.handlers.MetricsHandler.handleRequest(MetricsHandler.java:64)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.MetricsChainHandler.handleRequest(MetricsChainHandler.java:59)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at org.wildfly.extension.undertow@18.0.1.Final
> //org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1504)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
>
>               at io.undertow.servlet@2.0.27.Final
> //io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)
>
>               at io.undertow.core@2.0.27.Final
> //io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
>
>               at org.jboss.threads@2.3.3.Final
> //org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
>
>               at org.jboss.threads@2.3.3.Final
> //org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
>
>               at org.jboss.threads@2.3.3.Final
> //org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
>
>               at org.jboss.threads@2.3.3.Final
> //org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
>
>               at java.base/java.lang.Thread.run(Thread.java:834)
>
> Caused by: java.lang.NullPointerException
>
>               at
> deployment.uleaf.ear//org.apache.solr.common.cloud.ZkCoreNodeProps.getCoreUrl(ZkCoreNodeProps.java:53)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.lambda$sendRequest$2(BaseCloudSolrClient.java:1161)
>
>               at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.sendRequest(BaseCloudSolrClient.java:1159)
>
>               at
> deployment.uleaf.ear//org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:934)
>
>               ... 166 more
>
>
>
> If try the same test pointing to a SolrCloud 8.7.0/Zookeeper 3.6.2 all is
> well and search returns results. I was wondering if there is some
> additional config required for Solr 8.8.0 to be connected to via ZooKeeper?
>
>
>
> When I point our application to a Solr 8.8.0 single server (non-cloud) it
> connects ok and returns results. The issue just seems to be with SolrCloud.
>
>
>
> Many Thanks
>
>
>
> Matthew
>
>
>
> *Matthew Flowerday* | Consultant | ULEAF
>
> Unisys | 01908 774830| matthew.flower...@unisys.com
>
> Address Enigma | Wavendon Business Park | Wavendon | Milton Keynes | MK17
> 8LX
>
>
>
> [image: unisys_logo] <http://www.unisys.com/>
>
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all devices.
>
> [image: Grey_LI] <http://www.linkedin.com/company/unisys>  [image:
> Grey_TW] <http://twitter.com/unisyscorp> [image: Grey_YT]
> <http://www.youtube.com/theunisyschannel>[image: Grey_FB]
> <http://www.facebook.com/unisyscorp>[image: Grey_Vimeo]
> <https://vimeo.com/unisys>[image: Grey_UB] <http://blogs.unisys.com/>
>
>
>

Reply via email to