Skip to content
This repository has been archived by the owner on Jul 29, 2020. It is now read-only.

Video Encoder error on Full Test #3

Open
EDelfosse opened this issue Jun 2, 2018 · 3 comments
Open

Video Encoder error on Full Test #3

EDelfosse opened this issue Jun 2, 2018 · 3 comments

Comments

@EDelfosse
Copy link

Hey, sorry to bother you once again,
So now when I run the FullTest, the match works properly, which i can see in the trace.json file however i receive this error after "Generating video":
20:18:28.737 [INFO] Generating video
Exception in thread "main" java.lang.NoClassDefFoundError: io/humble/video/Coder
at org.bitbrawl.foodfight.engine.GameEngine.runMatch(GameEngine.java:165)
at org.bitbrawl.foodfight.engine.GameEngine.runMatches(GameEngine.java:70)
at org.bitbrawl.foodfighter.FullTest.main(FullTest.java:27)
Caused by: java.lang.ClassNotFoundException: io.humble.video.Coder
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 3 more

Both player data files are empty however it does seem that the match worked fine because the trace.json shows movement and interaction. So just the video encoder is making an error.
Thanks

@fvoichick
Copy link
Member

Hmm... I'm having trouble replicating this problem. To verify, you're running it from within Eclipse?

I'll continue to look into this, but this shouldn't affect matches on the server, so if the behavior in DebugTest is what you want, and the match itself completed successfully, you can go ahead and submit.

@EDelfosse
Copy link
Author

EDelfosse commented Jun 3, 2018 via email

@fvoichick
Copy link
Member

You need to update the version in the src/main/java/config.json file. Once you do this and commit/push, your code will begin being randomly selected for matches, and you will start showing up on the leaderboard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants