Issue calling methods in jar
s sc = connection.%Connect("127.0.0.1",53274)
s classpath="C:\Users\ME9Y1PM\Downloads\wrapper_jar\wrapper-drools-1.0.0-20241127.071529-1.jar"
if (sc=$$$OK) {
s SCJavaDroolsObj.connection=connection
s sc = SCJavaDroolsObj.connection.%Import("com.lca.smc.drools.DroolsRules")
s SCJavaDroolsObj.drools = ##class(com.lca.smc.drools.DroolsRules).%New()
d SCJavaDroolsObj.drools.applyRules(patientjson)
{ Parameter IMPORTTIMESTAMP As STRING = "2024-11-29 09:14:27.992"; Method applyRules(ByRef args... As %ObjectHandle) As %ObjectHandle
{
quit:$quit ..%dispatch(,$this,"applyRules",..%gateway,args...)
do ..%dispatch(,$this,"applyRules",..%gateway,args...)
} }
I m getting the below exception
<INVALID OREF>%dispatch+1^%Net.Remote.Base.1