Hello,
i have a pseudo-random error in my program that i can’t reproduce at work.
The error is :
NilObjectException : Sub HTTPSocket._ParseHeaders( string ).
I understand that the header can’t be parse and i need to catch these error before finding the cause.
The HTTPSocket is an object in a window, how can i catch the error ?
Thanks
My Xojo version is 2014R21
You can’t trap that error. That said, there’s probably something in the response that’s an outright error or is incompatible with http/1.0 (which is what the classic framework sockets use).
Could you show the URL that causes this error?
You can’t trap that error
Bad news.
The URL is http://www.coolpaie.fr/coolpaiemac.php
The problem is that it’s eratic, at some customers this happens at each launch of the application, at others after an hour, here never apriori. It’s why it’s difficult to debug.