Service stopped after exception

.NET library for SMPP protocol
Locked
xhide
Posts: 9
Joined: Wed Dec 02, 2015 3:02 pm

Service stopped after exception

Post by xhide » Sat Feb 06, 2016 12:47 pm

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()
xhide
Posts: 9
Joined: Wed Dec 02, 2015 3:02 pm

Re: Service stopped after exception

Post by xhide » Tue Feb 16, 2016 3:30 am

Hi,

Appreciate any help from you guys.

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

Thanks.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Service stopped after exception

Post by alt » Fri Feb 19, 2016 8:01 am

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.
Locked