antonismandilas
15 years agoNew Contributor
[Resolved] Component Async Message handling
Dear all,
I am trying to create a generator object, which will generate traffic based on received messages.
I have created a message handler and i want to execute method
"trigger"
from generator component.
But what ever i try to do i get the following exception:
roovy.lang.MissingMethodException: No signature of method: com.eviware.loadui.groovy.GroovyContextSupport.triger() is applicable for argument types: () values: []
Possible solutions: grep(java.lang.Object), print(java.lang.Object), print(java.io.PrintWriter), printf(java.lang.String, [Ljava.lang.Object;), printf(java.lang.String, java.lang.Object), wait()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:78)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
at GroovyTCPServerChatMessageReceiver$_run_closure6.doCall(GroovyTCPServerChatMessageReceiver:89)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
I am not very used to groovy, so maybe it is a very simple issue.
If i understand correctly when the async message arrives it is handled in the context of Groovy.
But how can a get a reference or maybe store the reference in my handler for the component starting the message handler?
Thanks a lot for your help
Best regards,
Antony Mandilas
I am trying to create a generator object, which will generate traffic based on received messages.
I have created a message handler and i want to execute method
"trigger"
from generator component.
But what ever i try to do i get the following exception:
roovy.lang.MissingMethodException: No signature of method: com.eviware.loadui.groovy.GroovyContextSupport.triger() is applicable for argument types: () values: []
Possible solutions: grep(java.lang.Object), print(java.lang.Object), print(java.io.PrintWriter), printf(java.lang.String, [Ljava.lang.Object;), printf(java.lang.String, java.lang.Object), wait()
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:78)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:145)
at GroovyTCPServerChatMessageReceiver$_run_closure6.doCall(GroovyTCPServerChatMessageReceiver:89)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
I am not very used to groovy, so maybe it is a very simple issue.
If i understand correctly when the async message arrives it is handled in the context of Groovy.
But how can a get a reference or maybe store the reference in my handler for the component starting the message handler?
Thanks a lot for your help
Best regards,
Antony Mandilas

