mayurbm commented on PR #25555:
URL: https://github.com/apache/camel/pull/25555#issuecomment-5435636473

   ### CI Build Failure Fix
   
   **Root cause:** The `@Converter(allowNull = true)` annotation on 
`toDOMDocument(byte[], Exchange)` and `toDOMDocument(StreamCache, Exchange)` 
requires the generated bulk converter loader 
(`CamelXmlJaxpBulkConverterLoader.java`) to emit null-check code — when the 
converter returns `null`, it must return `Void.class` instead. The generated 
file was not included in the previous commit, so the CI `-Pregen` check 
detected an unexpected diff and failed.
   
   **Fix:** Ran `mvn camel-package:generate -pl core/camel-xml-jaxp` locally to 
regenerate `CamelXmlJaxpBulkConverterLoader.java` and committed the updated 
file.
   
   **Local validation:**
   - `mvn formatter:format impsort:sort` — no changes needed
   - `Tests run: 21, Failures: 0, Errors: 0` (17 prolog guard tests + 4 
existing)


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