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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major 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.

      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
      

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

              Created:
              Updated: