C) I login aGsExternalSession on remote system and all works fine.But when i do the aGsExternalSession logoutthe system is blocked for 20 seconds and after open a dialog:UserDefinedError: session with stone session ID of 6 gemProcessId = 3115 still present 20 seconds after logout (3)This is a known bug (internal #47663). The work-around is to use different stone names.
D) The exception it is not accessible, or at least it is not clear how to do it.| result |result := [myGsExternalSession executeString: '1/0']
on: GciErrordo: [:ex | ex description].open a dialog with : ArgumentError: NullPointer error, CByteArray.CData == 0 (3)When I try your example with two Jade sessions on the same GS 3.4.3 stone it returns a string describing the stack. What IDE are you using? What sort of dialog does it open? Can you provide a screen shot?
ArgumentError: NullPointer error, CByteArray.CData == 0--------------------1. ArgumentError(AbstractException)>>_signalFromPrimitive: @6 line 152. GciErrSType(CByteArray)>>_signed:at:with: @1 line 13. GciErrSType(CByteArray)>>int32At: @2 line 34. GciErrSType>>number @2 line 35. GsExternalSession>>_signalIfError @7 line 46. GsExternalSession>>isResultAvailable @15 line 147. GsExternalSession>>waitForResultForSeconds:otherwise: @5 line 88. GsExternalSession>>waitForResultForSeconds: @3 line 69. GsExternalSession>>waitForResult @2 line 510. GsExternalSession>>executeString: @3 line 911. [] in Executed Code12. UndefinedObject(ExecBlock)>>on:do: @3 line 4413. Executed Code14. GsNMethod>>_executeInContext: @1 line 115. TDStandardEnvironment(TDAbstractEnvironment)>>evaluate:in:literalVars:tempSymbolList: @3 line 616. TDTopezServer>>evaluateString:inContext:literalVars:withTempSymbolList: @5 line 517. TDTopezServer>>evaluateString:inContext:literalVars: @3 line 318. TDWorkspaceClientElementBuilder(TDClientSourceElementBuilder)>>evaluateString:topez: @4 line 319. TDWorkspaceClientElementBuilder(TDClientSourceElementBuilder)>>printItMenuAction:selectedText: @4 line 320. TDWorkspaceClientElementBuilder(Object)>>perform:with:with: @1 line 121. TDWorkspaceClientElementBuilder(TDWindowBuilder)>>handleMenuActions:listElement:actionArg: @13 line 1022. [] in TDWorkspaceClientElementBuilder(TDClientSourceElementBuilder)>>menuActionBlock @10 line 823. TDWorkspaceClientElementBuilder(ExecBlock)>>valueWithArguments: @1 line 124. TDWorkspaceClientElementBuilder(ExecBlock)>>value:value:value:value:value: @2 line 1125. GsNMethod class>>_gsReturnToC @1 line 1
Free forum by Nabble | Edit this page |