Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6E82DAAC for ; Sat, 4 Aug 2012 09:01:12 +0000 (UTC) Received: (qmail 48661 invoked by uid 500); 4 Aug 2012 09:01:12 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 48480 invoked by uid 500); 4 Aug 2012 09:01:06 -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 47880 invoked by uid 99); 4 Aug 2012 09:01:04 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Aug 2012 09:01:04 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 16016142823 for ; Sat, 4 Aug 2012 09:01:04 +0000 (UTC) Date: Sat, 4 Aug 2012 09:01:04 +0000 (UTC) From: "Sergey (JIRA)" To: dev@activemq.apache.org Message-ID: <682543979.13227.1344070864092.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1345236469.38258.1313411607125.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AMQNET-339) NullReferenceException from Apache.NMS.ActiveMQ.Transport.InactivityMonitor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQNET-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey updated AMQNET-339: -------------------------- Attachment: memory_leak_inactivity_monitor.png > NullReferenceException from Apache.NMS.ActiveMQ.Transport.InactivityMonitor > --------------------------------------------------------------------------- > > Key: AMQNET-339 > URL: https://issues.apache.org/jira/browse/AMQNET-339 > Project: ActiveMQ .Net > Issue Type: Bug > Components: NMS > Affects Versions: 1.5.1 > Environment: Windows Server 2008 R2 > .NET 4 > Reporter: Stein J. Gran > Assignee: Jim Gomes > Priority: Critical > Fix For: 1.5.2, 1.6.0 > > Attachments: InactivityMonitor.cs, memory_leak_inactivity_monitor.png > > > Using NMS in a Windows service, which crashes with the following entry in the Event Log: > Log Name: Application > Source: .NET Runtime > Date: 04.08.2011 02:30:00 > Event ID: 1026 > Task Category: None > Level: Error > Keywords: Classic > User: N/A > Computer: dev-162.hq.infofinder.no > Description: > Application: IFExchangeFetch.exe > Framework Version: v4.0.30319 > Description: The process was terminated due to an unhandled exception. > Exception Info: System.NullReferenceException > Stack: > at Apache.NMS.ActiveMQ.Transport.InactivityMonitor.WriteCheck() > at Apache.NMS.ActiveMQ.Transport.InactivityMonitor.CheckConnection(System.Object) > at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) > at System.Threading._TimerCallback.PerformTimerCallback(System.Object) > Event Xml: > > > > 1026 > 2 > 0 > 0x80000000000000 > > 1047 > Application > dev-162.hq.infofinder.no > > > > Application: IFExchangeFetch.exe > Framework Version: v4.0.30319 > Description: The process was terminated due to an unhandled exception. > Exception Info: System.NullReferenceException > Stack: > at Apache.NMS.ActiveMQ.Transport.InactivityMonitor.WriteCheck() > at Apache.NMS.ActiveMQ.Transport.InactivityMonitor.CheckConnection(System.Object) > at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) > at System.Threading._TimerCallback.PerformTimerCallback(System.Object) > > > > The unfortunate thing here is that the entire service crashes due to this error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira