Alessandro71 Well-Known Member Licensed User Longtime User Aug 25, 2023 #1 I'm getting this error message in my logs <B4IExceptionWrapper: Error Domain=caught_exception Code=0 "-[B4IList Keys]: unrecognized selector sent to instance 0x28398e190" UserInfo={NSLocalizedDescription=-[B4IList Keys]: unrecognized selector sent to instance 0x28398e190}> no idea of what it means
I'm getting this error message in my logs <B4IExceptionWrapper: Error Domain=caught_exception Code=0 "-[B4IList Keys]: unrecognized selector sent to instance 0x28398e190" UserInfo={NSLocalizedDescription=-[B4IList Keys]: unrecognized selector sent to instance 0x28398e190}> no idea of what it means
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2023 #2 1. This is an error caught with a Try / Catch block. 2. My guess: you are parsing json and expecting a map while receiving a list. Upvote 0
1. This is an error caught with a Try / Catch block. 2. My guess: you are parsing json and expecting a map while receiving a list.
Alessandro71 Well-Known Member Licensed User Longtime User Aug 27, 2023 #3 Found: I was converting the iterable list of a map keys into a list and sorting them Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2023 #4 Alessandro71 said: I was converting the iterable list of a map keys into a list and sorting them Click to expand... Switch to B4XOrderedMap. It allows you to do it. Upvote 0
Alessandro71 said: I was converting the iterable list of a map keys into a list and sorting them Click to expand... Switch to B4XOrderedMap. It allows you to do it.