mirror of
https://github.com/Pro/exchange-catchall.git
synced 2026-04-25 07:25:53 +03:00
[GH-ISSUE #7] 1.6 crash #5
Labels
No labels
bug
enhancement
pull-request
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/exchange-catchall#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @damien-giry on GitHub (Mar 11, 2014).
Original GitHub issue: https://github.com/Pro/exchange-catchall/issues/7
With version 1.6 the transport agent crash with these messages:
An exception was thrown while processing data from client IP address 2002:4d49:677a::4d49:677a. The exception is System.NullReferenceException: Object reference not set to an instance of an object. at Exchange.CatchAll.CatchAllAgent.RcptToHandler(ReceiveCommandEventSource source, RcptCommandEventArgs rcptArgs) at Microsoft.Exchange.Data.Transport.Smtp.SmtpReceiveAgent.Invoke(String eventTopic, Object source, Object e) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.Dispatcher.Invoke(MExSession session) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.Invoke() at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback callback, Object callbackState) at Microsoft.Exchange.Protocols.Smtp.SmtpCommand.BeginRaiseEvent(AsyncCallback callback, Object state) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.StartProcessingCommand(Byte[] inputBuffer, Int32 offset, Int32 size, Boolean overflow) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadLineComplete(IAsyncResult asyncResult).An exception was thrown while processing data from client IP address 2002:4d49:677a::4d49:677a. The exception is System.NullReferenceException: Object reference not set to an instance of an object. at Exchange.CatchAll.CatchAllAgent.RcptToHandler(ReceiveCommandEventSource source, RcptCommandEventArgs rcptArgs) at Microsoft.Exchange.Data.Transport.Smtp.SmtpReceiveAgent.Invoke(String eventTopic, Object source, Object e) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.Dispatcher.Invoke(MExSession session) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.Invoke() at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback callback, Object callbackState) at Microsoft.Exchange.Protocols.Smtp.SmtpCommand.BeginRaiseEvent(AsyncCallback callback, Object state) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.StartProcessingCommand(Byte[] inputBuffer, Int32 offset, Int32 size, Boolean overflow) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadLineComplete(IAsyncResult asyncResult) at Microsoft.Exchange.Net.LazyAsyncResult.WorkerThreadComplete(Object state) at Microsoft.Exchange.Net.LazyAsyncResult.Complete(IntPtr userToken) at Microsoft.Exchange.Net.LazyAsyncResult.ProtectedInvokeCallback(Object value, IntPtr userToken) at Microsoft.Exchange.Net.NetworkConnection.BeginReadLine(AsyncCallback callback, Object state) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadLineComplete(IAsyncResult asyncResult).@Pro commented on GitHub (Mar 11, 2014):
Damn... this must be related to Exchange 2013. It's working here on 2010 SP3.
I think this is somehow related to #3. Please use 1.6.1.
@damien-giry commented on GitHub (Mar 11, 2014):
Same problem remains.
An exception was thrown while processing data from client IP address 2002:4d49:677a::4d49:677a. The exception is System.NullReferenceException: Object reference not set to an instance of an object. at Exchange.CatchAll.CatchAllAgent.RcptToHandler(ReceiveCommandEventSource source, RcptCommandEventArgs rcptArgs) at Microsoft.Exchange.Data.Transport.Smtp.SmtpReceiveAgent.Invoke(String eventTopic, Object source, Object e) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.Dispatcher.Invoke(MExSession session) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.Invoke() at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback callback, Object callbackState) at Microsoft.Exchange.Protocols.Smtp.SmtpCommand.BeginRaiseEvent(AsyncCallback callback, Object state) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.StartProcessingCommand(Byte[] inputBuffer, Int32 offset, Int32 size, Boolean overflow) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadLineComplete(IAsyncResult asyncResult).An exception was thrown while processing data from client IP address 2002:4d49:677a::4d49:677a. The exception is System.NullReferenceException: Object reference not set to an instance of an object. at Exchange.CatchAll.CatchAllAgent.RcptToHandler(ReceiveCommandEventSource source, RcptCommandEventArgs rcptArgs) at Microsoft.Exchange.Data.Transport.Smtp.SmtpReceiveAgent.Invoke(String eventTopic, Object source, Object e) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.Dispatcher.Invoke(MExSession session) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.Invoke() at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.AsyncInvoke(Object state) at Microsoft.Exchange.Data.Transport.Internal.MExRuntime.MExSession.BeginInvoke(String topic, Object source, Object e, AsyncCallback callback, Object callbackState) at Microsoft.Exchange.Protocols.Smtp.SmtpCommand.BeginRaiseEvent(AsyncCallback callback, Object state) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.StartProcessingCommand(Byte[] inputBuffer, Int32 offset, Int32 size, Boolean overflow) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadLineComplete(IAsyncResult asyncResult) at Microsoft.Exchange.Net.LazyAsyncResult.WorkerThreadComplete(Object state) at Microsoft.Exchange.Net.LazyAsyncResult.Complete(IntPtr userToken) at Microsoft.Exchange.Net.LazyAsyncResult.ProtectedInvokeCallback(Object value, IntPtr userToken) at Microsoft.Exchange.Net.NetworkConnection.BeginReadLine(AsyncCallback callback, Object state) at Microsoft.Exchange.Protocols.Smtp.SmtpInSession.ReadLineComplete(IAsyncResult asyncResult).@Pro commented on GitHub (Mar 11, 2014):
Ok, then please copy the following TWO files to the CatchAll directory. This is the same version as before, but Debug Symbols Enabled so the Exception should be more detailed (for Exchange 2013 SP1):
https://dl.dropboxusercontent.com/u/3233048/ExchangeCatchAll.dll
https://dl.dropboxusercontent.com/u/3233048/ExchangeCatchAll.pdb
@Pro commented on GitHub (Mar 11, 2014):
What's the last (Information) Log Entry which you get before the exception?
@damien-giry commented on GitHub (Mar 11, 2014):
I will try this at the end of the day (I revert back to 1.5.3 with your correction at the time).
I will keep you inform.
@Pro commented on GitHub (Mar 11, 2014):
Found and fixed the problem in 1.6.2. It was caused if you don't use the database feature.
@damien-giry commented on GitHub (Mar 11, 2014):
OK
I will test this by the end of the day (and yes, I don't use the database feature...).
Thanks for your very quick answer.
@damien-giry commented on GitHub (Mar 12, 2014):
It works :)