Search found 10 matches

by ishmell
Fri Jun 08, 2012 2:34 am
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

Nick, Thanks for reminding a newb VB.NET programmer about catching different error types. I've added a Catch ex as Exception section to catch other types of exceptions, log them, and reschedule the message for sending. Hopefully in looking at the logs I will be able to determine more about what's ca...
by ishmell
Thu Jun 07, 2012 6:45 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

Hi Nick, Thanks for responding. The relevant code is as follows; oSubmitList = oSMPP.PrepareSubmit(SubmitMode.ShortMessage, Byte.Parse(sTON), Byte.Parse(sNPI), strFrom, Byte.Parse(dTON), Byte.Parse(dNPI), strTo, DataCodings.Latin1, oMsg.Body) oRespList = oSMPP.Submit(oSubmitList) <= this is where th...
by ishmell
Fri May 18, 2012 7:24 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

I'm still trying to get a fresh network packet capture at the time of the exception, but I believe it has to do with a dead TCP socket on the transmit SMPP bind when we try to send out an MT message to a phone. Either that, or the TCP socket dies upon sending the message. The remote SMSC is having T...
by ishmell
Thu May 17, 2012 9:15 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

Ok, so after researching how try/catch works, the problem MUST exist in the InetLab DLL... i.e. something in the InetLab code is not properly doing error catching and raising events, it's simply tripping on an exception, and the try/catch block in my VB.NET code is not able to handle errors in calle...
by ishmell
Thu May 10, 2012 6:41 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

This null exception happened in the compiled release version as well so halting execution in the try/catch block is not due to debug mode. Also, I don't recall any instance where the VS IDE would stop with an exception within a try/catch block unless there was a break point... it always follows erro...
by ishmell
Fri May 04, 2012 5:14 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

OK! It finally happened in my dev IDE and here are the results, though they are not very informative; http://amal.net/caps/2012-05-04_10-06-37.png http://amal.net/caps/2012-05-04_10-08-03.png I'm still not sure why the try block is being ignored and the exception is halting execution. Any help would...
by ishmell
Wed Mar 28, 2012 8:42 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

I have not been able to regenerate the same error after days of running in debug mode. That is to be expected I guess as the production version was running for weeks before this error cropped up. However, I saw the same type of error occur at the same exact place when I was stepping through the code...
by ishmell
Mon Mar 26, 2012 5:14 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Re: Null exception within a Try block?

I've been running the code in debug mode for days now and still the exception has not occurred. I believe it might have had something to do with the SMPP packet itself because the provider had some other issues that day that resulted in SMPP binds changing their default data_coding values and causin...
by ishmell
Fri Mar 23, 2012 5:49 pm
Forum: Inetlab.SMPP v1.0
Topic: Null exception within a Try block?
Replies: 14
Views: 101998

Null exception within a Try block?

I had an unexpected exception occur while running a compiled software application that uses the InetLab DLL v1.0.11.4. I decided to run the software from VB.NET 2008 to catch the exception "in the act" and found the exception occurring on the Submit method. The odd thing is that the Submit method in...
by ishmell
Wed Jan 25, 2012 1:51 am
Forum: Inetlab.SMPP v1.0
Topic: Multiple SMPP connection threading example?
Replies: 1
Views: 8040

Multiple SMPP connection threading example?

Hello everyone, I'm an old VB6 programmer and I'm new to VB.NET and threading. I understand how to start threads, control threads, and even how to use the threadpool... what I don't really understand at this point is what the best approach is to create an SMPP client that can pull connection data fo...