I have currently a “Return True” in this Event to be able to perform other tests. But i don’t want to release the App as long as this issue is not solved.
[quote=247746:@Christian Schmitz]A quick test shows it raises a KeyNotFoundException here.
So maybe you catch wrong type?
Well, it may depend on what is in that json node.
But if you can reproduce in small example, we appreciate a bug report in Feedback.[/quote]
How did you test it please? Because it seems to depend on what has (or has not) been parsed into the JSONNODE Object. I GET a JSON String from the Apple iTunes Search API via a HTTPS Socket. Most times the JSON String is fine and parses just fine. Sometimes there is additional information (Header Information) within the JSON String and the Einhugur JSONNODE fails to parse it.
The JSONNODE is in this case NOT NIL but “empty” (no Childs). But the debugger stops at “.Child(“resources”) <> Nil” and reports a NOE. The NOE is really a NOE because there are no Childs in this Node.
The Debugger stops and shows a NOE because this is an intended behaviour.
I placed a Break in the Catch Event and the Debugger stops a second time at the Break Position.
I am sorry, but i think i wasted your time.
Thank you for your kind help