Hi
We’ve experienced the following issue:
We have a webservice that gets some arguments when calling it. On the webservice form we have the “ws_read”-methode and we get the arguments as expected as arg1 or arg2 (depends the way of calling the service). For example we have arg2[“article_nr”] and that gives us an array of all “article_nr” (usually there is only one but potentially there could be more). In the code we use these argument to filter a foundset like this
foundset.addFoundSetFilterParam(article_nr, "in", options[article_nr], filter);
Now, with Servoy 2024.03 LTS we get an error on this line of code: ```
JavaException: java.lang.ArrayStoreException: com.servoy.j2db.dataprocessing.ValueFactory$NullValue
We could iterate over the array with "for" or "foreach" like normal but in this specific statement above the array seems not to work anymore. We could also access any element of the array as normal. When we make a workaround like the following it works, but I'm wondering what changed:
foundset.addFoundSetFilterParam(“article_nr”, “in”, Array(options[article_nr]), filter);
With Servoy 2021.03 LTS that works fine.
Has it to do with a change within Servoy or is it the Java-version beneath that changed? Has someone else experienced the same problem?
Best
Roland