Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7273

java.lang.NullPointerException - jms client is not able to create connection to cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • EAP_EWP 5.1.2 CR1
    • EAP_EWP 5.1.2 ER1, EAP_EWP 5.1.2 ER2
    • HornetQ
    • None
    • Blocks Testing
    • Not Required

      When standalone JMS client is trying to create connection to server in cluster then gets java.lang.NullPointerException - see attached log.

      Test scenario:
      1. Start EAP servers A and B in cluster - collocated topology
      2. Deploy durable queue 'testQueue'
      3. Try to send messages to queue 'testQueue'

      In step 3. client gets java.lang.NullPointerException during connectionFactory.createConnection(). It seems that attribute mapBackof is null when calling Topology.addMember(...) -> mapBackof.get(nodeId);

      I've attached configuration for node A and B (just copy to appropriate directory in EAP distribution). Please let me know if there is something more you need.

      Thank you,

      Mirek

        1. client_exception.log
          6 kB
        2. failover-chain.zip
          79 kB
        3. jboss-eap-hornetq-5.1.2-ER1-installer-updated.zip
          7.33 MB
        4. logs.zip
          177 kB

            csuconic@redhat.com Clebert Suconic
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: