You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "david galloway (JIRA)" <ji...@apache.org> on 2016/08/18 09:59:21 UTC

[jira] [Created] (ARTEMIS-687) AMQ222114: Unable to delete group binding info : java.lang.IllegalStateException: Cannot find tx with id -1

david galloway created ARTEMIS-687:
--------------------------------------

             Summary: AMQ222114: Unable to delete group binding info <groupid.messageId>: java.lang.IllegalStateException: Cannot find tx with id -1
                 Key: ARTEMIS-687
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-687
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 1.3.0
         Environment: artemis running inside an ubuntu docker container
            Reporter: david galloway
            Priority: Minor


when restarting the docker container, a NPE is thrown :-

{code}
WARN  [2016-08-17 12:47:34,958] [Thread-6 (ActiveMQ-client-global-threads-328197868)] o.a.a.a.c.client: AMQ212037: Connection failure has been detected: AMQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
WARN  [2016-08-17 12:47:34,982] [Thread-6 (ActiveMQ-client-global-threads-328197868)] o.a.a.a.c.client: AMQ212007: connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
! java.lang.NullPointerException: null
! at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:682)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.openTransportConnection(ClientSessionFactoryImpl.java:1044)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createTransportConnection(ClientSessionFactoryImpl.java:1088)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.establishNewConnection(ClientSessionFactoryImpl.java:1273)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:898)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:796)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.reconnectSessions(ClientSessionFactoryImpl.java:745)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:609)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:507)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.access$500(ClientSessionFactoryImpl.java:71)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingFailureListener.connectionFailed(ClientSessionFactoryImpl.java:1183)
! at org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.callFailureListeners(AbstractRemotingConnection.java:67)
! at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:203)
! at org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.fail(AbstractRemotingConnection.java:209)
! at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$CloseRunnable.run(ClientSessionFactoryImpl.java:1006)
! at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103)
! at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
! at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
! at java.lang.Thread.run(Thread.java:745)
{code}

Is this part of the message correct? 
{code}
connector.create or connectorFactory.createConnector should never throw an exception, implementation is badly behaved, but we will deal with it anyway.
! java.lang.NullPointerException: null
etc.
{code}

is the o.a.a.a.c.client badly implemented or is an NPE inevitable and forgiveable if the environment running artemis broker is rebooted? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)