activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan K (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1155) "Object reference not set to an instance of an object." exception when closing connection.
Date Tue, 06 Feb 2007 20:21:03 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38476
] 

Jan K commented on AMQ-1155:
----------------------------

Ouch! The formmating! Its too bad you can't edit your comments... I should have used the preview.

try
\{ 
   if (command != null)   //<---To prevent an exception when the command is null  
        this.commandHandler(this, command); 
\} 


> "Object reference not set to an instance of an object." exception when closing connection.
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-1155
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1155
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, NMS (C# client)
>    Affects Versions: 4.1.0
>         Environment: WINXP SP2 
>            Reporter: Jan K
>
>    at ActiveMQ.TestMain.connection_ExceptionListener(Exception exception) in D:\activemq-dotnet\src\test\csharp\ActiveMQ\TestMain.cs:line
80
>    at ActiveMQ.Connection.OnException(ITransport sender, Exception exception) in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Connection.cs:line
334
>    at ActiveMQ.Transport.TransportFilter.OnException(ITransport sender, Exception command)
in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Transport\TransportFilter.cs:line 44
>    at ActiveMQ.Transport.TransportFilter.OnException(ITransport sender, Exception command)
in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Transport\TransportFilter.cs:line 44
>    at ActiveMQ.Transport.WireFormatNegotiator.OnException(ITransport sender, Exception
command) in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Transport\WireFormatNegotiator.cs:line
102
>    at ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop() in D:\activemq-dotnet\src\main\csharp\ActiveMQ\Transport\Tcp\TcpTransport.cs:line
150
>    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
>    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback
callback, Object state)
>    at System.Threading.ThreadHelper.ThreadStart()

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


Mime
View raw message