Android Question Debugger Errors Using KeyValueStore

Gary Milne

Active Member
Licensed User
Longtime User
I'm using the KeyValueStore to store some short text lists using a list object. The lists are written successfully to the database. When reading back the lists the first couple work and then it crashes with the error shown below.
Screen Shot 2014-08-15 at 11.30.01 AM.png

I've searched for the relevance of line 0 or command 110 but find no references. What makes this problem even harder to solve is that when I step through the code with the debugger it does not crash and continues on reading the remaining lists.

Any suggestions.

I'd like to use this but perhaps a simple text file might be more reliable.
 

Gary Milne

Active Member
Licensed User
Longtime User
I'm actually using 3.80. I'll try it with v3.82. How do I get that version?
 
Upvote 0

Gary Milne

Active Member
Licensed User
Longtime User
I did have the link and downloaded V3.82. While the original error is in remission I do get a lot of these which seem quite similar.

Screen Shot 2014-08-19 at 6.35.45 PM.png

The location may vary however the line number always refers to an End Sub in my Activity and is always accompanied by the Unexpected command: 110 (Often 110 but it can vary). Commenting out my KVS routines (only using GetSimple and PutSimple) allows it to work normally. Also stepping quickly through with the debugger seems to work fairly reliably even with the KVS routines in place.
 
Upvote 0

Gary Milne

Active Member
Licensed User
Longtime User
I have zipped up the project and will e-mail it to you with a few brief notes. It will come from garyjmilne@gmail.com.

Thanks for your help.
 
Upvote 0

Gary Milne

Active Member
Licensed User
Longtime User
Thanks Erel, I appreciate your help. That is a very easy fix and probably not one I would have stumbled upon easily. Can I suggest that would make an excellent addition to your compiler warnings!
 
Upvote 0
Top