MaDKit forum

Welcome All !
Please, use explicit topic names when creating new threads. Thanks.

You are not logged in.

#1 2010-08-28 13:29:51

Nesrine
Member
Registered: 2010-08-28
Posts: 5

comment lancer un agent à partir d'un autre

Bonjour,
En fait je voulais lancer des agents à partir d'un autre agent A parce qu'ils ont besoin des informations de l'agent A.
Lorsque je le fait, j'obtiens une exception de type NullPointerExceptionjava, sachant que j'utilise MadKit et Eclipse.
Aidez-moi, s'il vous plaît!
Merci d'avance!

Offline


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/7e4bc2f7e893962ca21d7e305619d422/web/madkit/forum/include/parser.php on line 821

#2 2010-09-01 11:35:02

fmichel
Administrator
From: Montpellier
Registered: 2009-03-24
Posts: 178
Website

Re: comment lancer un agent à partir d'un autre

Bonjour,

Pourriez-vous poster le code de l'agent qui lance les autres ?

Offline

#3 2010-09-14 10:25:20

Nesrine
Member
Registered: 2010-08-28
Posts: 5

Re: comment lancer un agent à partir d'un autre

Bonjour,
Désolée pour le retard!
En fait j'ai trouvé la solution. Il suffit d'utiliser la méthode launchAgent qui permet d'enregistrer l'agent crée dans le Kernel.

Offline

Board footer