Subject: [jade-develop] Problems with sniffer agent
From: Juan C. Martinez (jumartin@etse.urv.es)
Date: Wed Mar 05 2003 - 13:21:14 MET
Hi jaders, I have 15 agents sending messages among them. When I wanto
to see how the agents send the messages with the Sniffer Agent, the
following exception occurs:
Exception occurred during event dispatching:
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(Unknown Source)
at jade.tools.sniffer.MMCanvas.tail(MMCanvas.java:669)
at jade.tools.sniffer.MMCanvas.paintComponent(MMCanvas.java:307)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintWithBuffer(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
and the Sniffer Agent window is blocked. All the messages arrive to
all the correspondent agents correctly, but I can't see this process
with the Sniffer Agent.
Am I doing something wrong with my agents may be????
Thanks in advance.
Juan.
P.S. I'm using Jade 2.5
-- ____________________________________________________Juan C. Martínez Miranda Departament d'Enginyeria Informàtica i Matemàtiques Escola Tècnica Superior d'Enginyeria Universitat Rovira i Virgili Campus Sescelades Avinguda dels Paìsos Catalans, 26 43007 Tarragona, Spain Tel. 977 55 85 16 Fax. 977 55 97 10 E-mail: jumartin@etse.urv.es
_______________________________________________ jade-develop mailing list jade-develop@sharon.cselt.it http://sharon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Wed Mar 05 2003 - 13:12:09 MET