Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #4

Open
tfzee opened this issue Oct 27, 2019 · 1 comment
Open

Error #4

tfzee opened this issue Oct 27, 2019 · 1 comment

Comments

@tfzee
Copy link

tfzee commented Oct 27, 2019

When i try to use the gym env "FightingiceDataNoFrameskip-v0".
It just stops while the screen is saying "Now loading .."
Python runs until line
obs = self.pipe.recv()
in the reset method

When i save the output of the stderr/stdout into an file i get the following error.

Oct 27, 2019 3:57:46 PM manager.InputManager
INFORMATION: Create instance: manager.InputManager
Oct 27, 2019 3:57:46 PM manager.DisplayManager initialize
INFORMATION: Create Window 960x640
Oct 27, 2019 3:57:46 PM manager.GraphicManager
INFORMATION: Create instance: manager.GraphicManager
Oct 27, 2019 3:57:46 PM loader.ResourceLoader
INFORMATION: Create instance: loader.ResourceLoader
Python
Oct 27, 2019 3:57:48 PM gamescene.Launcher update
INFORMATION: Transition to PLAY
Oct 27, 2019 3:57:48 PM loader.ResourceLoader loadResource
INFORMATION: Loading the resources
Exception in thread "main" java.lang.NullPointerException
at java.util.Arrays.sort(Arrays.java:1438)
at loader.ResourceLoader.sortByFileName(ResourceLoader.java:571)
at loader.ResourceLoader.loadImages(ResourceLoader.java:462)
at loader.ResourceLoader.loadResource(ResourceLoader.java:84)
at gamescene.Launcher.update(Launcher.java:89)
at manager.GameManager.update(GameManager.java:65)
at manager.DisplayManager.gameLoop(DisplayManager.java:166)
at manager.DisplayManager.start(DisplayManager.java:53)
at Main.main(Main.java:22)

@stante
Copy link

stante commented Dec 2, 2020

I ran into the same problem. The only thing that helped was to start my python program from within the FTG directory.

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

No branches or pull requests

2 participants