Loading...
 

PogamutUT2004


Getting Started with EmptyBot

After getting the EmptyBot to compile, I get the following error when trying to run it:
----------------------
May 20, 2010 9:26:54 AM cz.cuni.amis.utils.configuration.PropertiesManager logProvidersOrder
INFO: Property providers order:
May 20, 2010 9:26:54 AM cz.cuni.amis.utils.configuration.PropertiesManager logProvidersOrder
INFO: [10000] Environment variable provider
May 20, 2010 9:26:54 AM cz.cuni.amis.utils.configuration.PropertiesManager logProvidersOrder
INFO: [9000] JVM -D option provider
May 20, 2010 9:26:54 AM cz.cuni.amis.utils.configuration.PropertiesManager logProvidersOrder
INFO: [1000] Custom properties were loaded from 'C:\Users\HeDeceives\Programs\Java\Pogamut\Empty\PogamutPlatformCustom.properties'.
May 20, 2010 9:26:54 AM cz.cuni.amis.utils.configuration.PropertiesManager logProvidersOrder
INFO: [500] Properties from /cz/cuni/amis/pogamut/ut2004/PogamutUT2004.properties
May 20, 2010 9:26:54 AM cz.cuni.amis.utils.configuration.PropertiesManager logProvidersOrder
INFO: [1] Properties from /cz/cuni/amis/pogamut/PogamutPlatform.properties
May 20, 2010 9:26:54 AM cz.cuni.amis.pogamut.base.utils.DefaultPogamutPlatform close
WARNING: Closing the platform.
Exception in thread "main" java.lang.NoClassDefFoundError: [Lorg/aopalliance/intercept/MethodInterceptor;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at com.google.inject.internal.ProviderMethodsModule.getProviderMethods(ProviderMethodsModule.java:78)
at com.google.inject.internal.ProviderMethodsModule.configure(ProviderMethodsModule.java:70)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:232)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.spi.Elements.getElements(Elements.java:92)
at com.google.inject.util.Modules$RealOverriddenModuleBuilder$1.configure(Modules.java:142)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.spi.Elements.getElements(Elements.java:92)
at com.google.inject.util.Modules$RealOverriddenModuleBuilder$1.configure(Modules.java:142)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.spi.Elements.getElements(Elements.java:92)
at com.google.inject.util.Modules$RealOverriddenModuleBuilder$1.configure(Modules.java:142)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.AbstractModule.install(AbstractModule.java:118)
at cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule.configure(GuiceAgentModule.java:174)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
at com.google.inject.spi.Elements.getElements(Elements.java:101)
at com.google.inject.InjectorShell$Builder.build(InjectorShell.java:135)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at com.google.inject.Guice.createInjector(Guice.java:92)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at cz.cuni.amis.pogamut.base.factory.guice.AbstractGuiceAgentFactory.getInjector(AbstractGuiceAgentFactory.java:28)
at cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004BotFactory.newAgent(UT2004BotFactory.java:23)
at cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004BotFactory.newAgent(UT2004BotFactory.java:9)
at cz.cuni.amis.pogamut.ut2004.utils.SingleUT2004BotRunner.startAgent(SingleUT2004BotRunner.java:91)
at cz.cuni.amis.pogamut.ut2004.examples.EmptyBot.main(EmptyBot.java:114)
Java Result: 1

----------------------
Any suggestions on how to fix? I'm wondering if some of my configuring problems may be caused by problems upgrading from Pogamut 2 to Pogamut 3. Or maybe I'm just not configuring the libraries correctly (I had to add Pogamut 3 libraries manually to get the code to compile).
Nevermind. I managed to fix the problem by completely uninstalling everything (including Pogamut 2), and then reinstalling just NetBeans 6.8 and Pogamut 3. Somehow the old Pogamut was causing problems with the new one.
Hi, the P3 probably failed to find a log configuration property file (PogamutCustomProperties.property).

I'm glad you've managed to solve just with reinstall.

Best,
Jimmy
 

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.