Getting unexpected crash on SubmitSM
Posted: Thu Dec 05, 2013 5:03 pm
Hello, I got such problem.
When Submiting message sometimes just get app.crash.
Could you help me with this?
This all info I got, but notice that problem occurs when sending at speed up to 5 msg/sec
Application: SMSGATE.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OverflowException
Stack:
at System.Convert.ToByte(Int32)
at Inetlab.SMPP.PDU.SubmitSm.ToSmppBuffer()
at Inetlab.SMPP.PDU.SubmitSm.GetBytes()
at Inetlab.SMPP.Common.SmppClientBase.SendPDUToStream(Inetlab.SMPP.PDU.SmppPDU)
at Inetlab.SMPP.Common.SmppClientBase+<>c__DisplayClass7.<SendPDU>b__5()
at Inetlab.SMPP.Common.ProducerConsumerQueue.Consume()
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
When Submiting message sometimes just get app.crash.
Could you help me with this?
This all info I got, but notice that problem occurs when sending at speed up to 5 msg/sec
Application: SMSGATE.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OverflowException
Stack:
at System.Convert.ToByte(Int32)
at Inetlab.SMPP.PDU.SubmitSm.ToSmppBuffer()
at Inetlab.SMPP.PDU.SubmitSm.GetBytes()
at Inetlab.SMPP.Common.SmppClientBase.SendPDUToStream(Inetlab.SMPP.PDU.SmppPDU)
at Inetlab.SMPP.Common.SmppClientBase+<>c__DisplayClass7.<SendPDU>b__5()
at Inetlab.SMPP.Common.ProducerConsumerQueue.Consume()
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()