From f9463c417d5a0c442bb44e49e479d6632d6a51f3 Mon Sep 17 00:00:00 2001 From: Vincent COUVERT Date: Wed, 8 Jul 2026 16:24:25 +0200 Subject: [PATCH] fix #10 - Length returned for a String[] was not initialized. --- datatypes/stringDataGiws.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datatypes/stringDataGiws.py b/datatypes/stringDataGiws.py index 091dd21..11b4aa1 100644 --- a/datatypes/stringDataGiws.py +++ b/datatypes/stringDataGiws.py @@ -216,6 +216,9 @@ def specificPostProcessing(self, detachThread): str = JNIFrameWork().getExceptionCheckProfile(detachThread) + if self.isArray() is True and configGiws().getDisableReturnSize() is False: + str += "* lenRow = 0;" + str = str + "if (res != NULL) { " if self.isArray():