davsclaus opened a new pull request, #24765: URL: https://github.com/apache/camel/pull/24765
## Summary _Claude Code on behalf of davsclaus_ - Add null-check before calling `.whenComplete()` on a bean method's `CompletionStage` return value - When null, throws a `RuntimeCamelException` naming the bean class and method instead of an opaque NPE Fixes: https://issues.apache.org/jira/browse/CAMEL-24103 ## Test plan - [x] `BeanNullCompletionStageTest` — verifies the descriptive error message includes method name and "null CompletionStage" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <[email protected]> -- 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]
