flzxsqc200 opened a new pull request #278: fixed "Unable to deliver event" 
error caused by java.lang.NullPointer…
URL: https://github.com/apache/flume/pull/278
 
 
   
![image](https://user-images.githubusercontent.com/16359304/54902892-76599280-4f15-11e9-9dc1-25a74e93f1cf.png)
   I found _policy.process()_ at line 145 may retrun null,then it caused 
failure when call equal() function.So I make the program continue the loop when 
null pointer be detected.
   
   besides,I think volatile boolean  may be better than AtomicBoolean object to 
realize sync shoudStop status .
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to