Method '~' of Object '~' (General questions)
by shihabkhalil, Friday, December 17, 2010, 09:27 (5091 days ago)
Hi
I am evaluating the product, and getting a runtime error that shows randomly (can take many hours till it shows)..
This error is: ==> Method '~' of Object '~' Failed.
Can you please advise?
Re: Method '~' of Object '~'
by woddrazen, Friday, December 17, 2010, 09:33 (5091 days ago) @ shihabkhalil
Hi,
Is there any chance we can duplicate this problem on our side?
Are you able to duplicate it maybe using our samples?
Let us know how it goes.
Regards,
Drazen
Re: Method '~' of Object '~
by shihabkhalil, Friday, December 17, 2010, 09:45 (5091 days ago) @ woddrazen
Hi
I have checked the logs of my application, and have found out that this happens when the component disconnects from the XMPP server (gtalk in my case). This fires an event which i take and re-connect. Thats when it happens.
Event wodXMPP1_Disconnected: i call a function called GoOnline which is below:
Public Sub GoOnline()
Logger Logging into GoogleTalk as : & GoogleTalkID
'On Error Resume Next
wodXMPP1.Authentication = AuthAutomatic
wodXMPP1.AutoVisible = True
wodXMPP1.Blocking = True
wodXMPP1.Login = GoogleTalkID
wodXMPP1.Password = GoogleTalkPassword
wodXMPP1.Connect
wodXMPP1.SetStatus Online, Type: 'Q SYMBOL' to get live prices
End Sub
Hi,
Is there any chance we can duplicate this problem on our side?Are you able to duplicate it maybe using our samples?
Let us know how it goes.
Regards,
Drazen
Re: Method '~' of Ob
by woddrazen, Friday, December 17, 2010, 12:00 (5091 days ago) @ shihabkhalil
Hi,
I manage to duplicate this problem only when I'm still connected with server and try to connect again.
Can you please verify first that State Property return value 0 (Disconnected) and then try to connect again?
Drazen
Re: Method '~
by Shihab, Friday, December 17, 2010, 13:13 (5091 days ago) @ woddrazen
I will try to avoid this situation. But the disconnect event was fired which prompted me to reconnect automatically. I added a further manual disconnect command in my function then proceed in reconnecting. Will let u know
Hi,
I manage to duplicate this problem only when I'm still connected with server and try to connect again.Can you please verify first that State Property return value 0 (Disconnected) and then try to connect again?
Drazen
Re: Method
by woddrazen, Friday, December 17, 2010, 13:17 (5091 days ago) @ Shihab
Hi,
OK let us know if you still receive some issue.
Drazen