Page 1 of 1

Service stopped after exception

Posted: Sat Feb 06, 2016 12:47 pm
by xhide
Hi,

I built a windows service of SMPP Server.

The service would stop when this exception occurred.

May I know what went wrong?

Thanks.

This is the message I gotten from event viewer.

Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Inetlab.SMPP.Common.SmppClientBase.get_RemoteIP()
at Inetlab.SMPP.Common.SmppClientBase.ToString()
at System.Text.StringBuilder.AppendFormat(System.IFormatProvider, System.String, System.Object[])
at System.String.Format(System.IFormatProvider, System.String, System.Object[])
at System.String.Format(System.String, System.Object, System.Object, System.Object)
at Inetlab.SMPP.Common.SmppClientBase.eo4EotAbpl(System.Object)
at System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.TimerQueue.AppDomainTimerCallback()

Re: Service stopped after exception

Posted: Tue Feb 16, 2016 3:30 am
by xhide
Hi,

Appreciate any help from you guys.

The service down twice a day some times, it not good.

Thanks.

Re: Service stopped after exception

Posted: Fri Feb 19, 2016 8:01 am
by alt
Hi xhide,

I have tried all possible ways to reproduce this error, but i had no success to get it.
Please send to support an email with a part of library logging before the time when this exception occurred, and your code for review.