-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
While trying to run connector.stop() on an initialized connector (having already called the onReady() method) an exception is raised - attaching the relevant part of the exception stacktrace:
2024-11-12 10:05:24:680 +0000 [scheduling-1] ERROR DeviceProcessor - processDevices: ERROR while processing devices:
groovy.lang.MissingPropertyException: No such property: link for class: java.util.LinkedHashMap$Entry
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:65)
at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:65)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:329)
at eu.nebulouscloud.exn.core.Context$_stop_closure3.doCall(Context.groovy:145)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:274)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1035)
at groovy.lang.Closure.call(Closure.java:412)
at groovy.lang.Closure.call(Closure.java:428)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForMapEntry(DefaultGroovyMethods.java:6084)
at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2435)
at org.codehaus.groovy.runtime.dgm$203.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:247)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
at eu.nebulouscloud.exn.core.Context.stop(Context.groovy:144)
at eu.nebulouscloud.exn.core.Context$stop$2.call(Unknown Source)
at eu.nebulouscloud.exn.Connector.stop(Connector.groovy:113)
It seems as though the link
class field is null (error is raised in line 144 in the code below, of Context.groovy)