Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INT-3848: ERROR log for the null beanName #1591

Closed
wants to merge 1 commit into from

Conversation

artembilan
Copy link
Member

JIRA: https://jira.spring.io/browse/INT-3848

When the ConsumerEndpointFactoryBean is created programmatically
the beanName property may be missed and the catch for the NPE
just hides an issue with the DEBUG log message.

Add check for the null on the bean and log the issue on ERROR level.

Cherry-pick to the 4.1.x, 4.0.x and 3.0.x

JIRA: https://jira.spring.io/browse/INT-3848

When the `ConsumerEndpointFactoryBean` is created programmatically
the `beanName` property may be missed and the `catch` for the `NPE`
just hides an issue with the `DEBUG` log message.

Add check for the `null` on the `bean` and log the issue on ERROR level.

**Cherry-pick to the 4.1.x, 4.0.x and 3.0.x**
@artembilan
Copy link
Member Author

Review with ?w=1 to simplify your life.

@artembilan
Copy link
Member Author

Merged after rebase and cherry-picked back to 3.0.x by @garyrussell

@artembilan artembilan closed this Oct 7, 2015
@artembilan artembilan deleted the INT-3848 branch January 6, 2016 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant