geneross commented on issue #1290:
URL: https://github.com/apache/plc4x/issues/1290#issuecomment-1907810600

   Root the problem is in LeasedPlcConnection. readRequestBuilder() method 
returns ReadRequestRequest.Builder descendant that later uses result of 
connection.get() to build instance of PlcReadRequest. But at the time of call 
leased connection may have already returned and execution will end with 
NullPoinerException. This in turn cause completion of execution threads in 
TriggerScraperImpl and kafka source connector no longer retrieve information 
from server.
   
   Proposed PR here: https://github.com/apache/plc4x/pull/1361/files  


-- 
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: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to