Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2801

MetadataStore mechanism not initialized properly for anonymous operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.2 RC2, 2.1.4
    • Fix Version/s: 2.2 RC3, 2.1.5
    • Component/s: Twitter Support
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            mjemala Michal Jemala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: