Consultor Eletrônico



Kbase P183185: Error 2780 when running deleteSession from inside of a method of a class
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/02/2011
Status: Unverified

SYMPTOM(s):

Using 4GL Sonic Adapter

Deleting a session object from within a method of a class (i.e. run deleteSession in someHandle)

Input blocking statement is invalid while executing a user-defined function or method: '<function>'. (2780)

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.2x

CAUSE:

By default when deleting a session object in the 4GL Sonic Adapter a 4GL WAIT-FOR is invoked so that we wait for the response from Sonic. This is what is causing the error.

FIX:

Modify your code so that you run the following which will cause the call to deleteSession not to invoke the WAIT-FOR:

RUN setShutdownWaitFor (FALSE).