Re: RoboRumble NoClassDefFoundError

fnl <[email protected]>
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>
Ohh... this definitely something that needs to be fixed before releasing 
Robocode v1.9.1.0 so it works the same way as it did for 1.8.3.0 and 
earlier.

I might create an alpha version for you later tonight (Danish time) so you 
can try it out.

Thanks for bringing this issue to attention!

Cheers,
- Flemming

Den mandag den 17. marts 2014 05.15.14 UTC+1 skrev Jeff Van Epps:
>
> ./roborumble.sh
> (downloads many bots)
> Exception in thread "Application Thread" java.lang.NoClassDefFoundError: 
> net/sf/robocode/repository/CodeSizeCalculator
> at 
> net.sf.robocode.roborumble.battlesengine.CompetitionsSelector.checkCompetitorForSize(CompetitionsSelector.java:57)
> at 
> net.sf.robocode.roborumble.netengine.BotsDownload.updateCodeSize(BotsDownload.java:300)
> at roborumble.RoboRumbleAtHome.main(RoboRumbleAtHome.java:81)
> Caused by: java.lang.ClassNotFoundException: 
> net.sf.robocode.repository.CodeSizeCalculator
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
> I had saved off the Participants list as HTML and added my bot to it and 
> hosted it on my own web server, then changed roborumble/roborumble.txt:
> UPLOAD=NOT
> ITERATE=NOT
> PARTICIPANTSURL=http://<myserver>/Participants.html
> but it doesn't seem like those changes did any harm.
>
> I do see CodeSizeCalculator.class inside libs/robocode.core-1.9.0.0.jar. 
> But that's not in the -cp arguments in roborumble.sh. If I try to add it, I 
> get
>
> java.lang.NoClassDefFoundError: org/picocontainer/ComponentFactory
> at 
> net.sf.robocode.core.RobocodeMainBase.initContainerForRobocodeEngine(RobocodeMainBase.java:88)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at 
> net.sf.robocode.security.HiddenAccess.initContainerForRobotEngine(HiddenAccess.java:243)
> at robocode.control.RobocodeEngine.init(RobocodeEngine.java:138)
> at robocode.control.RobocodeEngine.<init>(RobocodeEngine.java:60)
> at 
> net.sf.robocode.roborumble.battlesengine.BattlesRunner.initialize(BattlesRunner.java:64)
> at 
> net.sf.robocode.roborumble.battlesengine.BattlesRunner.<init>(BattlesRunner.java:59)
> at roborumble.RoboRumbleAtHome.main(RoboRumbleAtHome.java:59)
> Caused by: java.lang.ClassNotFoundException: 
> org.picocontainer.ComponentFactory
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
> Am I going to wind up having to add every .jar in libs to the classpath 
> arguments in roborumble.sh?
>
>

-- 
You received this message because you are subscribed to the Google Groups "robocode" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.