Comment utiliser Twiddle lorsque le type retourné n'est pas void ou String?
P.ex.
./twiddle.sh invoke "jboss.mq.destination:service=Topic,name=SomeTopic" listMessageCounter
retourne une String (du HTML) et là çà marche bien.
Mais
./twiddle.sh invoke "jboss.mq.destination:service=Topic,name=SomeTopic" listDurableSubscriptions
retourne une liste et çà marche pô:
1 2 3 4 5 6
| 10:56:18,876 ERROR [Twiddle] Exec failed
java.lang.RuntimeException: No property editor for type: class java.util.ArrayList
at org.jboss.util.propertyeditor.PropertyEditors.getEditor(PropertyEditors.java:176)
at org.jboss.console.twiddle.command.InvokeCommand.invoke(InvokeCommand.java:244)
at org.jboss.console.twiddle.command.InvokeCommand.execute(InvokeCommand.java:282)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305) |
J'ai aussi de la peine à trouver de la doc et des exemples d'utilisation de twiddle, quelqu'un aurait-il des liens intéressants?
Partager