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

   ## Summary
   
   - Fix `NullPointerException` in `CamelSendAction.printStatusLine()` when the 
JSON response has no `timestamp` field
   - `jo.getLong("timestamp")` returns `null` which fails on unboxing to `long`
   - Use `getLongOrDefault("timestamp", System.currentTimeMillis())` to fall 
back to current time
   
   ## Test plan
   
   - [x] Module builds successfully
   - [ ] Run `camel cmd send` against an integration and verify no NPE
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   _Claude Code on behalf of Claus Ibsen_


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