Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9478

NPE in ClientSessionFactoryImpl constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.1.0
    • JMS (HornetQ)
    • None
    • Workaround Exists
    • Hide

      Retry and the connection is correctly created this time. It "leaks" connections, but HornetQ cleans them up itself.

      Show
      Retry and the connection is correctly created this time. It "leaks" connections, but HornetQ cleans them up itself.

    Description

      From time to time the following error occurs:

      javax.jms.JMSException: Failed to create session factory
              at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:615) [:6.1.0.Final]
              at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:121) [:6.1.0.Final]
              at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:116) [:6.1.0.Final]
              at be.cin.nippin.kernel.routing.MessageRouterBean.executeAsync(MessageRouterBean.java:159) [:]
      
      Caused by: java.lang.NullPointerException
              at org.hornetq.core.client.impl.ClientSessionFactoryImpl.<init>(ClientSessionFactoryImpl.java:179) [:6.1.0.Final]
              at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:590) [:6.1.0.Final]
              at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:611) [:6.1.0.Final]
              ... 235 more
      

      Attachments

        Activity

          People

            csuconic@redhat.com Clebert Suconic
            egelke Bryan Brouckaert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: