Question William Glover · Oct 25, 2023

I have a sub class that calls a method in the parent class it is derived from.

However in the below code a <NO CURRENT OBJECT> error is thrown.

Set propertyValue = $PROPERTY($THIS,name)

Using the debugger  I can see $THIS is returning the name of the subclass as it should and name is the correct property name (worth noting some properties are defined in the superclass not the subclass).

Why is this error ocouring and how can I fix it?

4
0 272
Question William Glover · Jun 26, 2023

I have a pResponse output in my onrequest method, in here I build an ACK and set the pResponse variable to it,  and return a status object afterwards.

The pResponse doesn't show up in the trace or message viewer, yet if I move the interface to another more established namespace it works fine, what settings or config could be preventing the ACKS going back?

4
0 217
Question William Glover · Jan 10, 2023

   InterSystems.Data.IRISClient.IRISException (0x00000000): ERROR #5002: ObjectScript error: <REMOTE EXECUTE INVALID WRITE>Load+20^%apiOBJ
   at InterSystems.Data.IRISClient.ADO.IRIS.ClassMethodStatusCode(String className, String methodName, Object[] args)
   at Setup.core.CacheCRUD.RunDeploymentClass() 

Throwing this error when calling  the ##class(%Studio.Project).InstallFromFile() remotely.

3
0 295
Question William Glover · Nov 30, 2022

When recieivng a response and calling SendDeferredResponse I get the warning below and no response is sent.

No Return Queue - Unable to send deferred Response to Request 12537165

When the initial request comes in I am calling DeferResponse but the message never goes into a state of Deferred.

How do I resolve this warning and get the response working?

2
0 349