Skip to content

[backport camel-4.18.x] CAMEL-24348: camel-google-bigquery - report unusable bodies and missing jobs properly - #25581

Open
oscerd wants to merge 1 commit into
apache:camel-4.18.xfrom
oscerd:backport/CAMEL-24348-camel-4.18.x
Open

[backport camel-4.18.x] CAMEL-24348: camel-google-bigquery - report unusable bodies and missing jobs properly#25581
oscerd wants to merge 1 commit into
apache:camel-4.18.xfrom
oscerd:backport/CAMEL-24348-camel-4.18.x

Conversation

@oscerd

@oscerd oscerd commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Backport of #25448 (merged on main).

A message with no body failed with a NullPointerException while building the "Cannot handle body type" error, an unknown job id was dereferenced unchecked, and the producers threw raw java.lang.Exception.

Cherry-picked from main with no adaptation needed. Module tests and the full reactor build are green on this branch.

Claude Code on behalf of oscerd

🤖 Generated with Claude Code

…ng jobs properly

Fix NullPointerException when the message body is null in GoogleBigQueryProducer,
and when getJob/waitFor returns null for an expired or unknown job in
GoogleBigQuerySQLProducer. Replace raw Exception throws with RuntimeCamelException
so routes receive a proper Camel exception type.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit b9266ce)
@oscerd oscerd added the bug Something isn't working label Aug 22, 2026
@oscerd
oscerd requested review from Croway and davsclaus August 22, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant