Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-846

Method getAdviceChain throws NullPointerException when no advice chain is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Component/s: None

      Description

      The current implementation of getAdviceChain in AbstractRabbitListenerContainerFactory throws a NullPointerException. The implementation uses Arrays.copyOf(this.adviceChain, this.adviceChain.length) however the default value is null . Hence the call to length results in a NullPointerException.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            mdeinum Marten Deinum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: