ramanathan1504 commented on issue #4248:
URL: 
https://github.com/apache/logging-log4j2/issues/4248#issuecomment-5252314588

   @tfmorris thanks for the stack trace.                                        
                                                                                
                 
                                                                                
                                                                                
                   
     The `NPE` is real line 50 is the array branch of 
`PluginElementVisitor.visit()`, and the single-value path just below already 
null-checks the child type in `findNamedNode()`   
      #1392 The array branch never got the same guard, so any unresolved child 
node `NPEs` there.                                                              
                                                                                
                                                                                
                   
     But I don't think elementType is the cause the registry keys on 
`toRootLowerCase(plugin.name())`,` elementType` only sets the element name. 
Could u share your config file and  
     format? 
   And does a clean build with the original annotation still fail?              
                                                                                
         
                                                                                
                                                                                
                   


-- 
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]

Reply via email to