activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Stanton (JIRA)" <>
Subject [jira] Commented: (AMQ-1930) NPE during shutdown of embedded activemq
Date Tue, 09 Sep 2008 00:05:53 GMT


Scott Stanton commented on AMQ-1930:

Not really.  It happens occasionally during our automated testing when
we shut down our server, but I haven't been able to force it to happen
on command.  I didn't see anything of note in the log prior to the
failure that would give any clues to the problem.  If you have a
suggestion for logging statements to add, I'd be happy to put them into
our system and see if we can collect some more details.

> NPE during shutdown of embedded activemq
> ----------------------------------------
>                 Key: AMQ-1930
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.2.0
>         Environment: revision 675393 of trunk, ActiveMQ 5.2.0
>            Reporter: Scott Stanton
> I received the following exception from the VMTransport thread when shutting down the
> {code}
> Async error occurred: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at
> 	at org.apache.activemq.command.RemoveInfo.visit(
> 	at
> 	at$1.onCommand(
> 	at org.apache.activemq.transport.ResponseCorrelator.onCommand(
> 	at org.apache.activemq.transport.TransportFilter.onCommand(
> 	at org.apache.activemq.transport.vm.VMTransport.iterate(
> 	at org.apache.activemq.thread.PooledTaskRunner.runTask(
> 	at org.apache.activemq.thread.PooledTaskRunner$
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at
> {code}
> The failure occurred at the following lines of code:
> {code}
>         TransportConnectionState cs = lookupConnectionState(connectionId);
>         SessionState ss = cs.getSessionState(sessionId);
> {code}
> It appears that there is a race during shutdown where the connection state is discarded
before the last consumer is removed.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message