iOS Question Method not found: getObjectFast:, target: <B4IArray: 0x...>

SlashIT

Member
Licensed User
Longtime User
Hello to all,
I have this problem:
I declare in MAIN (code module / Process_Globals) a public map.
in a second "code module" I add the key to the map and as a value an array created on the fly: <map>. input ("key", Array As String ("a", "b", "c").
in a third "code module" I read the map, reading the key "key", but when I try to read the array, I get the error "Method not found: getObjectFast :, target: <B4IArray: 0x ...> ":
Dim <arrayname> () As String = Main. <Map> .Get ("key")
I recreated the same mechanism in a single "code module" and it works ...
some ideas? Is it a bug?
Thank you
 

SlashIT

Member
Licensed User
Longtime User
I think it is serious than expected: I recreated a project to replicate the error and it worked regularly, so I think it is related to the remote downloading of data, writing data (map) in files and updating the map in memory, the all linked to the unpacking of the code in the code module.
I investigate further.
 
Upvote 0

SlashIT

Member
Licensed User
Longtime User
Resolved.
remains a mystery, I activated the log to see the contents of the json and the error disappeared.
if it occurs again, I will post the error (I can no longer reproduce it).
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…