Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 74049 invoked from network); 1 Feb 2007 15:26:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 15:26:16 -0000 Received: (qmail 77065 invoked by uid 500); 1 Feb 2007 15:26:22 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 76950 invoked by uid 500); 1 Feb 2007 15:26:21 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 76941 invoked by uid 500); 1 Feb 2007 15:26:21 -0000 Delivered-To: apmail-geronimo-activemq-dev@geronimo.apache.org Received: (qmail 76938 invoked by uid 99); 1 Feb 2007 15:26:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:26:21 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 07:26:11 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HCdot-0005Kg-8r for activemq-dev@geronimo.apache.org; Thu, 01 Feb 2007 07:25:51 -0800 Message-ID: <8750152.post@talk.nabble.com> Date: Thu, 1 Feb 2007 07:25:51 -0800 (PST) From: sparky2708 To: activemq-dev@geronimo.apache.org Subject: PLEASE HELP ASAP: C#/.NET implementation CRASHES on Connection Startup MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: daa82@columbia.edu X-Virus-Checked: Checked by ClamAV on apache.org Sorry, for posting this twice but I wasn't sure where to post it. I posted this in the "User" forum but didn't get a reply. If you could please,please,please address this issue as I am completely stuck with the C# NMS client. THE ISSUE: A few days ago I checked out the latest C#/.NET code using svn as per the instructions on the website. Revision: "Checked out revision 501459". I built the code without any problems but am now trying to run it in VS2005. >From the debugger it looks like the error occurs when I call _connection.Start() Here is my code: private IConnection _connection; private string JMS_URL = "tcp://localhost:61616"; public MessageManager() { IConnectionFactory connectionFactory = new ConnectionFactory(new Uri(JMS_URL)); _connection = connectionFactory.CreateConnection(); _connection.ExceptionListener += new ExceptionListener(_connection_ExceptionListener); _connection.Start(); } void _connection_ExceptionListener(Exception exception) { Console.WriteLine("Received Exception from JMS: " + exception); } In the console window I get: Received Exception from JMS: System.NullReferenceException: Object reference not set to an instance of an object. at ActiveMQ.Transport.WireFormatNegotiator.OnCommand(ITransport sender, Comma nd command) at ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop() Received Exception from JMS: System.NullReferenceException: Object reference not set to an instance of an object. at ActiveMQ.Transport.WireFormatNegotiator.OnCommand(ITransport sender, Comma nd command) at ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop() Received Exception from JMS: System.NullReferenceException: Object reference not set to an instance of an object. at ActiveMQ.Transport.WireFormatNegotiator.OnCommand(ITransport sender, Comma nd command) at ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop() Received Exception from JMS: System.NullReferenceException: Object reference not set to an instance of an object. at ActiveMQ.Transport.WireFormatNegotiator.OnCommand(ITransport sender, Comma nd command) at ActiveMQ.Transport.Tcp.TcpTransport.ReadLoop() -- View this message in context: http://www.nabble.com/PLEASE-HELP-ASAP%3A-C--.NET-implementation-CRASHES-on-Connection-Startup-tf3155472.html#a8750152 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.