smongiar opened a new pull request, #29474:
URL: https://github.com/apache/camel/pull/29474

   JIRA: https://issues.apache.org/jira/browse/CAMEL-26779
   
   `SnmpOIDPoller.doStart()` called `super.doStart()` first, which schedules 
the first poll, and only afterwards created `snmp`, the USM, the target and the 
transport listener. If the initialization is slow, the first poll runs in 
between and fails (a `NullPointerException`; on 4.22.x on the request PDU, on 
main on `snmp`/`target`).
   
   This initializes everything and calls `transport.listen()` first, and starts 
the scheduler last by calling `super.doStart()` at the end of `doStart()`.
   
   A 4.22.x backport will follow.


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