sonatype-lift[bot] commented on a change in pull request #783:
URL: https://github.com/apache/solr/pull/783#discussion_r839966279



##########
File path: solr/core/src/java/org/apache/solr/servlet/SolrDispatchFilter.java
##########
@@ -175,6 +175,7 @@ public void doFilter(ServletRequest request, 
ServletResponse response, FilterCha
       assert null != mdcSnapshot; // prevent compiler warning
       MDCLoggingContext.reset();
       MDCLoggingContext.setNode(getCores());
+      
Thread.currentThread().setContextClassLoader(getCores().getResourceLoader().getClassLoader());

Review comment:
       *NULL_DEREFERENCE:*  object returned by `getCores()` could be null and 
is dereferenced at line 178.
   
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) with 
`help` or `ignore`)




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to