another error... plz reply soooooon plz plz help


Subject: another error... plz reply soooooon plz plz help
From: Amira El-Aasar (ammora86@hotmail.com)
Date: Fri Dec 13 2002 - 23:13:22 MET




Hi again ppl,

Thanx alot for solving my first problem I posted.

now I have another problem..

When i was trying to run the example test agent on the Jade-Leap platform it generated teh following error:

***  Uncaught Exception for agent t1  ***
java.lang.NullPointerException
        at TestAgent.setup(TestAgent.java:75)
        at jade.core.Agent.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)
ERROR: Agent t1 died without being properly terminated !!
State was 2

what i did was.. I  removed the line "package examples.leap.testagent;" from the Java files in the testagent file. I compiled them, then added  the class files to the jar file JadeLeapJ2se then i erased the like in the properties file that sets the agent to the examples file : t1=examples.leap.testagent.TestAgent(t2)   and i just wrote t1=TestAgent(t2).I ran the jade-leap platform with the specified property file.

I did this because it wasn't seeing the agents when i tried to do it the authors way.

what do u think is the problem.. sorry for bothering . i am new to agents

and plzzzzzzzzzzzzz reply soon i need it



Add photos to your e-mail with MSN 8. Get 2 months FREE*.



This archive was generated by hypermail 2a22 : Fri Dec 13 2002 - 23:17:57 MET