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

MetadataStore mechanism not initialized properly for anonymous operations [INT-2801] #6779

Closed
spring-operator opened this issue Oct 31, 2012 · 4 comments
Assignees
Milestone

Comments

@spring-operator
Copy link
Contributor

Michal Jemala opened INT-2801 and commented

SearchReceivingMessageSource does not require client to be authorized. However when unauthorized, the metadataKey is not being set and the last status info is not initialized from the metadataStore.

The missing last status info does not crash an app, however the missing metadataKey causes NPE being thrown when the PropertiesPersistingMetadataStore is configured. This is simple due to the fact that java.util.Hastable does not accept null keys (in opposite to java.util.HashMap used in default SimpleMetadataStore).


Affects: 2.2 RC2, 2.1.4

@spring-operator
Copy link
Contributor Author

@spring-operator
Copy link
Contributor Author

Michal Jemala commented

Pull request created #660

@spring-operator
Copy link
Contributor Author

Gunnar Hillert commented

Hi - Thanks for the PR. Would you please sign the Contributor License Agreement at

https://support.springsource.com/spring_committer_signup

For Project, please select Spring Integration. The Project Lead is Mark Fisher.

Sorry for the necessary paperwork.

THANKS!!

@spring-operator
Copy link
Contributor Author

Michal Jemala commented

Hi Gunnar, no problem at all.

I submitted the ICLA; the confirmation number is 36420121031123716.

Cheers,
Michal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants