Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-804

[AMQ7, Address] "AMQ224000: Failure in initialisation: java.lang.IllegalArgumentException: Collection is empty" when address has no routeType defined

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AMQ 7.0.1.GA
    • AMQ 7.0.2.GA
    • None
    • None
    • Hide
      • add address
      <address name="myaddress_1"/>
      
      • start broker - it should start correctly (1st time it seems to start correctly)
      • stop broker
      • start broker again and it throws the exception listed in the description section
      Show
      add address <address name= "myaddress_1" /> start broker - it should start correctly (1st time it seems to start correctly) stop broker start broker again and it throws the exception listed in the description section
    • AMQ Broker 7.1 Sprint 2

      Tracker for https://issues.apache.org/jira/browse/ARTEMIS-1137

      getting the following exception when creating address with no routetype

      14:12:33,302 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.IllegalArgumentException: Collection is empty
      	at java.util.EnumSet.copyOf(EnumSet.java:174) [rt.jar:1.8.0_20]
      	at org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.lambda$updateAddressInfo$0(SimpleAddressManager.java:240) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager$$Lambda$1/1896828359.apply(Unknown Source)
      	at java.util.concurrent.ConcurrentHashMap.computeIfPresent(ConcurrentHashMap.java:1769) [rt.jar:1.8.0_20]
      	at org.apache.activemq.artemis.core.postoffice.impl.SimpleAddressManager.updateAddressInfo(SimpleAddressManager.java:238) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl.updateAddressInfo(PostOfficeImpl.java:485) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.updateAddressInfo(ActiveMQServerImpl.java:2443) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.addOrUpdateAddressInfo(ActiveMQServerImpl.java:2474) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.deployAddressesFromConfiguration(ActiveMQServerImpl.java:2324) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.deployAddressesFromConfiguration(ActiveMQServerImpl.java:2318) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2187) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:71) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:519) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:468) [artemis-server-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:109) [artemis-cli-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:78) [artemis-cli-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:148) [artemis-cli-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:95) [artemis-cli-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:122) [artemis-cli-2.0.0.amq-700011-redhat-1.jar:2.0.0.amq-700011-redhat-1]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_20]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_20]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_20]
      	at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_20]
      	at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129) [artemis-boot.jar:2.0.0.amq-700011-redhat-1]
      	at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49) [artemis-boot.jar:2.0.0.amq-700011-redhat-1]
      

              rh-ee-ataylor Andy Taylor
              rhn-support-pfox Patrick Fox (Inactive)
              Roman Vais Roman Vais (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: