VR_Result crash

Shay

Well-Known Member
Licensed User
Longtime User
Hi

sometimes it crashed and it gives error that
object should first be initilize (list)

do I need to init Texts?

Sub VR_Result (Success As Boolean, Texts As List)
 

Shay

Well-Known Member
Licensed User
Longtime User
yes,
and it is crashing on one of the users (he has galaxy s3 with 4.04)

Sub VR_Result (Success As Boolean, Texts As List)

If Success = True Then
AllResults=Texts ' get all results into list
First_Result=Texts.Get(0) 'get first result
Find_Command
End If

End Sub
 
Upvote 0

mc73

Well-Known Member
Licensed User
Longtime User
I don't see how it can happen as Success is true only if the list is initialized. The Java code is pretty simple.

I've came across similar weird problems only to find out they were caused by a very fast double clicking of command buttons. I'm not suggesting this is the cause here, just a note.
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
Erel, it is a fact
see attached screenshot from user
 

Attachments

  • error.jpg
    error.jpg
    45.5 KB · Views: 253
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
in global - checked it is there

I will review code again to see I did not miss other list init
will update soon
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
I found other places that list is not init
but not here
I will compile new build, and give it to this guy to check
 
Upvote 0
Top