[Pogamut-list] EmptyBot will not run
phry
pogamut-forum at diana.ms.mff.cuni.cz
Tue Oct 12 14:18:31 CEST 2010
EmptyBot will not run
Author: phry
Hi
I'm using Pogamut v3.0.11, whenever i try and run the emptybot example i get an error saying that the component bus is stopping. Anyone have any ideas why this isn't working. Below is the error that i get when i run the code.
(EmptyBot1) [WARNING] 13:06:20.156 Starting agent EmptyBot1-1 at Ben-Laptop/208b8547-4339-6870-642b-5b1182804895
(EmptyBot1) [WARNING] 13:06:20.162 Connecting to SocketConnectionAddress[localhost:3000].
(EmptyBot1) [SEVERE] 13:06:21.173 Fatal error happenned - component bus is stopping.
FatalErrorEvent[
Component=ComponentBus[running=true, queue length=0]
Message=Exception happened during the event propagation.
Cause=ConnectionException[LogCategory(Connection): java.net.ConnectException: Connection refused: connect (localhost:3000)]
Cause stacktrace:
cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnection.unsyncConnect(SocketConnection.java:82)
cz.cuni.amis.pogamut.base.communication.connection.impl.socket.SocketConnection.unsyncConnect(SocketConnection.java:21)
cz.cuni.amis.pogamut.base.communication.connection.impl.AbstractConnection$1.start(AbstractConnection.java:209)
cz.cuni.amis.pogamut.base.component.controller.ComponentController.start(ComponentController.java:1121)
cz.cuni.amis.pogamut.base.component.controller.ComponentController.startingChangedByStartingEvent(ComponentController.java:1003)
cz.cuni.amis.pogamut.base.component.controller.ComponentController.startingEvent(ComponentController.java:766)
cz.cuni.amis.pogamut.base.component.controller.ComponentController.access$000(ComponentController.java:115)
cz.cuni.amis.pogamut.base.component.controller.ComponentController$1.notify(ComponentController.java:175)
cz.cuni.amis.pogamut.base.component.controller.ComponentController$1.notify(ComponentController.java:171)
cz.cuni.amis.pogamut.base.component.bus.ComponentBus.notifyListenersC(ComponentBus.java:422)
cz.cuni.amis.pogamut.base.component.bus.ComponentBus.innerRaiseEvent(ComponentBus.java:527)
cz.cuni.amis.pogamut.base.component.bus.ComponentBus.processQueue(ComponentBus.java:660)
cz.cuni.amis.pogamut.base.component.bus.ComponentBus.event(ComponentBus.java:606)
cz.cuni.amis.pogamut.base.component.bus.ComponentBus.eventTransactional(ComponentBus.java:632)
cz.cuni.amis.pogamut.base.component.bus.event.ComponentBusEvents.startingTransactional(ComponentBusEvents.java:110)
cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:390)
cz.cuni.amis.pogamut.ut2004.utils.SingleUT2004BotRunner.startAgent(SingleUT2004BotRunner.java:100)
cz.cuni.amis.pogamut.ut2004.examples.EmptyBot.main(EmptyBot.java:114)
(EmptyBot1) [SEVERE] 13:06:21.174 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.175 Calling Connection.kill().
(EmptyBot1) [SEVERE] 13:06:21.176 Can't close socket reader - null
(EmptyBot1) [SEVERE] 13:06:21.176 Can't close socket writer - null
(EmptyBot1) [SEVERE] 13:06:21.339 Connection.kill()ed.
(EmptyBot1) [SEVERE] 13:06:21.340 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.340 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.340 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.345 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.345 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.346 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.346 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.359 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.361 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.361 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.361 Fatal error sensed: FatalErrorPropagatingEvent[source=ComponentBus[running=false, queue length=0], message=Exception happened during the event propagation., cause=ConnectionException[LogCategory(Connection): java.net.ConnectException: Connection refused: connect (localhost:3000)]]
(EmptyBot1) [SEVERE] 13:06:21.362 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.363 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.364 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.364 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.364 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.370 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.370 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.371 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.371 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.383 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.383 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.383 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.383 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.398 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.400 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.405 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.406 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.406 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.406 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.406 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.406 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.406 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.414 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.414 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.414 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.414 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.414 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.415 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.415 Received fatal error from ComponentBus.
(EmptyBot1) [WARNING] 13:06:21.419 Component is in instantiated state, won't call kill().
(EmptyBot1) [SEVERE] 13:06:21.420 Received fatal error from ComponentBus.
12-Oct-2010 13:06:21 cz.cuni.amis.pogamut.base.utils.DefaultPogamutPlatform close
(EmptyBot1) [WARNING] 13:06:21.420 Component is in instantiated state, won't call kill().
WARNING: Closing the platform.
Exception in thread "main" ComponentCantStartException[UT2004Bot[EmptyBot1]: Can't start: ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]] (caused by: ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]])]
(EmptyBot1) [SEVERE] 13:06:21.422 UT2004Bot[EmptyBot1]: Can't start: ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]] (caused by: ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]])
at cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:408)
ComponentCantStartException[UT2004Bot[EmptyBot1]: Can't start: ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]] (caused by: ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]])]
at cz.cuni.amis.pogamut.ut2004.utils.SingleUT2004BotRunner.startAgent(SingleUT2004BotRunner.java:100)
at cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:408)
at cz.cuni.amis.pogamut.ut2004.utils.SingleUT2004BotRunner.startAgent(SingleUT2004BotRunner.java:100)
at cz.cuni.amis.pogamut.ut2004.examples.EmptyBot.main(EmptyBot.java:114)
Caused by: FatalErrorPropagatingEventException[ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]]]
at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.processQueue(ComponentBus.java:670)
at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.event(ComponentBus.java:606)
at cz.cuni.amis.pogamut.ut2004.examples.EmptyBot.main(EmptyBot.java:114)
Caused by: FatalErrorPropagatingEventException[ComponentBus[running=false, queue length=0]: Exception happened during the propagation of: StartingEvent[source=UT2004Bot[EmptyBot1]]]
at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.eventTransactional(ComponentBus.java:632)
at cz.cuni.amis.pogamut.base.component.bus.event.ComponentBusEvents.startingTransactional(ComponentBusEvents.java:110)
at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.processQueue(ComponentBus.java:670)
at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.event(ComponentBus.java:606)
at cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:390)
... 2 more
at cz.cuni.amis.pogamut.base.component.bus.ComponentBus.eventTransactional(ComponentBus.java:632)
at cz.cuni.amis.pogamut.base.component.bus.event.ComponentBusEvents.startingTransactional(ComponentBusEvents.java:110)
at cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent.start(AbstractAgent.java:390)
... 2 more
Java Result: 1
BUILD SUCCESSFUL (total time: 7 seconds)
Thanks for the help
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=6&comments_parentId=360#form>
More information about the Pogamut-list
mailing list