Loading...
 

PogamutUT2004


Cannot start agent

Hello,
I somehow managed to get the Pogamut environment into a weird state. After developing (and succesfully running) bots for couple hours I now mysteriously can't run even the EmptyBot example. The first occurence of this state was marked by a bot being present in the UT, while there was no running thread in the IDE.

Since then, everytime i start a bot I get the ouput below.
Restarting the IDE and / or the UT server does not help. I have initialized the server using the UT 2004 GUI as mentioned in the "Starting the GameBots server" chapter in the gamebots tutorial. (I somehow can't make it work through the command-line startup).
I am using Pogamut version 3.08 (installed over a previous 3.03 installation).

I am going to try to restart the whole machine and reinstall Pogamut hoping it helps, however, this seems as a bug to me.

I think this issue might be related to the one described at
http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_parentId=61&comments_per_page=1&thread_style=commentStyle_plain

however, I am not using any modules (it's just the EmptyBot from pogamut samples) and the bug should be already fixed in 3.0.8

Thanks

Martin Cerny

The output:

(EmptyBot1) WARNING 19:09:39.234 Starting agent EmptyBot1-1@babicka/b5a06b1d-0d2b-16be-fb00-2f616242aea2
(EmptyBot1) WARNING 19:09:39.250 Connecting to SocketConnectionAddresslocalhost:3000.
(EmptyBot1) WARNING 19:09:39.281 Log level set to WARNING.
(EmptyBot1) WARNING 19:09:39.312 Thread 0: Thread started.
5.5.2010 19:09:39 cz.cuni.amis.pogamut.base.utils.DefaultPogamutPlatform getMBeanServer
WARNING: Creating registry at 4420 ...
5.5.2010 19:09:39 cz.cuni.amis.pogamut.base.utils.DefaultPogamutPlatform getMBeanServer
WARNING: Starting MBean server.
(EmptyBot1) SEVERE 19:09:40.125 Fatal error in WorldView116: Exception raising event InfoMessageAddInventoryMsg | Id = WorldObjectIdDM-TrainingDay.AssaultRifle | Type = XWeapons.AssaultRifle | PickupType = ItemTypename = XWeapons.AssaultRiflePickup, category = WEAPON, group = ASSAULT_RIFLE |
(EmptyBot1) SEVERE 19:09:40.140 Fatal error happenned - component bus is stopping.
FatalErrorEvent[
Component=UT2004SyncLockableWorldView
Message=Exception raising event InfoMessageAddInventoryMsg | Id = WorldObjectIdDM-TrainingDay.AssaultRifle | Type = XWeapons.AssaultRifle | PickupType = ItemTypename = XWeapons.AssaultRiflePickup, category = WEAPON, group = ASSAULT_RIFLE |
Cause=java.lang.NullPointerException
Cause stacktrace:
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry$Ammunition.getPriAmmoForWeapon(Weaponry.java:532)
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry$AddInventoryMsgListener.notify(Weaponry.java:767)
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.Weaponry$AddInventoryMsgListener.notify(Weaponry.java:758)
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView$ListenerNotifier.notify(AbstractWorldView.java:98)
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView$ListenerNotifier.notify(AbstractWorldView.java:77)
cz.cuni.amis.utils.listener.Listeners.notify(Listeners.java:252)
cz.cuni.amis.utils.listener.ListenersMap.notify(ListenersMap.java:76)
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView.notifyLevelAListeners(AbstractWorldView.java:629)
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView.innerRaiseEvent(AbstractWorldView.java:700)
cz.cuni.amis.pogamut.base.communication.worldview.impl.AbstractWorldView.raiseEvent(AbstractWorldView.java:604)
cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.raiseEvent(EventDrivenWorldView.java:102)
cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.innerNotify(EventDrivenWorldView.java:126)
cz.cuni.amis.pogamut.base.communication.worldview.impl.EventDrivenWorldView.notify(EventDrivenWorldView.java:223)
cz.cuni.amis.pogamut.base3d.worldview.impl.BatchAwareWorldView.notify(BatchAwareWorldView.java:83)
cz.cuni.amis.pogamut.ut2004.communication.worldview.UT2004SyncLockableWorldView.notify(UT2004SyncLockableWorldView.java:221)
cz.cuni.amis.pogamut.base.communication.mediator.impl.Mediator$Worker.run(Mediator.java:315)
java.lang.Thread.run(Thread.java:619)
(EmptyBot1) SEVERE 19:09:40.140 Received fatal error from WorldView.
(EmptyBot1) WARNING 19:09:40.140 Calling Connection.kill().

(continues along the lines of killing everything and then exiting for several dozen lines)
An update:
after restarting, I can run the but unless I choose to debug it in the IDE. I am however not certain, whether I tried running without debugging before restarting. In any way - debugging the bot is still broken.
Try to install new 3.0.11 version. The examples work fine there.

Best,
michal
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.