Projects tigase _server server-core Issues #470
Send announcement to Online Users (#470)
Eric Dziewa opened 10 years ago
groovy.lang.MissingMethodException: No signature of method: static tigase.server.Command.addFieldMultiValue() is applicable for argument types: (tigase.server.Iq, java.lang.String, [Ljava.lang.String;) values: [from=sess-man@testdomain.xmpp-test.net, to=http@testdomain2.xmpp-test.net/63e18968-5db3-428f-baa9-6377034c8559, DATA=<iq id="8a96fe7d-0154-4378-a6d0-6eac741f4ef4" to="admin@testdomain.xmpp-test.net" from="sess-man@testdomain.xmpp-test.net" type="result"><command status="executing" xmlns="http://jabber.org/protocol/commands" node="http://jabber.org/protocol/admin#announce"><x xmlns="jabber:x:data" type="form"><title>Message to online users</title><instructions>Fill out this form to make an announcement to all active users of this service.</instructions><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/admin</value></field><field label="From address" var="from-jid" type="jid-single"><value>testdomain.xmpp-test.net</value></field><field var="subject" type="Subject"><value>Message from administrators</value></field><field label="Type" var="msg-type" type="list-single"><value>headline</value><option label="normal"><value>normal</value></option><option label="headline"><value>headline</value></option><option label="chat"><value>chat</value></option></field></x><actions execute="complete"><complete/></actions></command ... , SIZE=1030, XMLNS=null, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=result, ...]
Possible solutions: addFieldMultiValue(tigase.server.Packet, java.lang.String, java.lang.Throwable), addFieldMultiValue(tigase.server.Packet, java.lang.String, java.util.List)
javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: static tigase.server.Command.addFieldMultiValue() is applicable for argument types: (tigase.server.Iq, java.lang.String, [Ljava.lang.String;) values: [from=sess-man@testdomain.xmpp-test.net, to=http@testdomain2.xmpp-test.net/63e18968-5db3-428f-baa9-6377034c8559, DATA=<iq id="8a96fe7d-0154-4378-a6d0-6eac741f4ef4" to="admin@testdomain.xmpp-test.net" from="sess-man@testdomain.xmpp-test.net" type="result"><command status="executing" xmlns="http://jabber.org/protocol/commands" node="http://jabber.org/protocol/admin#announce"><x xmlns="jabber:x:data" type="form"><title>Message to online users</title><instructions>Fill out this form to make an announcement to all active users of this service.</instructions><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/admin</value></field><field label="From address" var="from-jid" type="jid-single"><value>testdomain.xmpp-test.net</value></field><field var="subject" type="Subject"><value>Message from administrators</value></field><field label="Type" var="msg-type" type="list-single"><value>headline</value><option label="normal"><value>normal</value></option><option label="headline"><value>headline</value></option><option label="chat"><value>chat</value></option></field></x><actions execute="complete"><complete/></actions></command ... , SIZE=1030, XMLNS=null, PRIORITY=NORMAL, PERMISSION=NONE, TYPE=result, ...]
Possible solutions: addFieldMultiValue(tigase.server.Packet, java.lang.String, java.lang.Throwable), addFieldMultiValue(tigase.server.Packet, java.lang.String, java.util.List)
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:347)
org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.java:41)
tigase.server.script.Script.runCommand(Script.java:159)
tigase.server.BasicComponent.processScriptCommand(BasicComponent.java:956)
tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1420)
Daniel Wisnewski commented 9 years ago

All message types function normally.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
3086
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#470
Please wait...
Page is in error, reload to recover