Hi all,
I'm trying to generate my own naive agent. The aim is to get the same agent as the provided one from the website, just for checking whether it works, but I am finding some problems. When I try to run my "ABSoftware.jar" file (I've removed the previous one obtained by the unzipped file downloaded) generated and compiled by ant1.7 (as ABDoc1.7 shows), I've found the next exception:
$ java -jar ABSoftware.jar -na 1
You are trying to connect to an unknown host!
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NullPointerException
at ab.demo.other.ClientActionRobot.configure(Unknown Source)
at ab.demo.ClientNaiveAgent.run(Unknown Source)
at ab.demo.ClientNaiveAgent.main(Unknown Source)
... 5 more
I have not changed/modified any lane of any *.java, just compiled and generated the jar file. I also have seen the content of both ABSoftware.jar are different.
I would like to know if possible if someone else has had the same problem as me. If so... how could I generate it correctly? where is my problem?
Thanks a lot.