CAMEL-15493 - Fixes NPE thrown in camel-cdi when attempting to inject an array property using Microprofile Config#4156
Merged
davsclaus merged 1 commit intoapache:camel-3.4.xfrom Sep 4, 2020
Conversation
…tension.shouldDeployDefaultCamelContext so that getClass().getPackage() on the class instance comes first since it's guaranteed to be non-null.
davsclaus
approved these changes
Sep 4, 2020
davsclaus
pushed a commit
that referenced
this pull request
Sep 4, 2020
…tension.shouldDeployDefaultCamelContext so that getClass().getPackage() on the class instance comes first since it's guaranteed to be non-null. (#4156)
rgannu
pushed a commit
to rgannu/camel
that referenced
this pull request
Sep 17, 2020
…tension.shouldDeployDefaultCamelContext so that getClass().getPackage() on the class instance comes first since it's guaranteed to be non-null. (apache#4156)
rgannu
pushed a commit
to rgannu/camel
that referenced
this pull request
Sep 22, 2020
…tension.shouldDeployDefaultCamelContext so that getClass().getPackage() on the class instance comes first since it's guaranteed to be non-null. (apache#4156)
lburgazzoli
pushed a commit
to lburgazzoli/apache-camel
that referenced
this pull request
Sep 30, 2020
…tension.shouldDeployDefaultCamelContext so that getClass().getPackage() on the class instance comes first since it's guaranteed to be non-null. (apache#4156)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes a NPE that intermittently occurs in a TomEE 8 microprofile environment on container startup. I prepared a test case that reproduces the issue in a separate branch (CAMEL-15493-Test) but decided not to include it in this PR as it introduces quite a few dependencies (although all test scoped).
Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
Each commit in the pull request should have a meaningful subject line and body.
If you're unsure, you can format the pull request title like
[CAMEL-XXX] Fixes bug in camel-file component, where you replaceCAMEL-XXXwith the appropriate JIRA issue.Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
Run
mvn clean install -Psourcecheckin your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md