HarmonyCore icon indicating copy to clipboard operation
HarmonyCore copied to clipboard

TraditionalBridge method returning string returns HTTP 500

Open nkim-radley opened this issue 4 years ago • 1 comments

We have a method that returns a string (i.e., not an integer):

function methodname, a512

But calls to this function return the following:

ReportError: SYNERGEX.SYNERGYDE.SYNARGUMENTEXCEPTION: Argument specified with wrong size
   at HARMONY.TRADITIONALBRIDGE.ROUTINESTUB.RCBSERIALIZEARG(I,I,$HARMONY.TRADITIONALBRIDGE.FIELDDATATYPE,A,I,I,@JSON.DISPATCHSERIALIZER) in RoutineDispatcher.dbl:line 8.1395
   at TRADITIONALBRIDGE.DISPATCHERS.[...].WUGETSYM_DISPATCHER.DISPATCHINTERNAL(@SYSTEM.STRING,@JSON.JSONVALUE,@JSON.DISPATCHSERIALIZER,@HARMONY.TRADITIONALBRIDGE.ROUTINEDISPATCHER) in [...]MethodDispachers.dbl:line 17.13983
   at HARMONY.TRADITIONALBRIDGE.ROUTINESTUB.DISPATCH(@SYSTEM.STRING,@JSON.JSONVALUE,@JSON.DISPATCHSERIALIZER,@HARMONY.TRADITIONALBRIDGE.ROUTINEDISPATCHER) in RoutineDispatcher.dbl:line 8.1199
   at HARMONY.TRADITIONALBRIDGE.ROUTINEDISPATCHER.PROCESSCALLBLOCK(@JSON.JSONVALUE,@JSON.DISPATCHSERIALIZER)I in RoutineDispatcher.dbl:line 8.1128 messageId15

nkim-radley avatar Feb 22 '21 23:02 nkim-radley

i think this is fixed in https://github.com/Synergex/HarmonyCore/commit/51daaac5f658f99dacacee9d8192760622a09b67

hippiehunter avatar Mar 31 '21 19:03 hippiehunter