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

NiftyGUI sometimes throws an error when creating a Nifty object #33

Open
GoogleCodeExporter opened this issue Jul 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Sometimes, NiftyGUI throws an error when creating a nifty object (at the start 
of a game). However, this doesn't make the program crash or affect the gui's 
functionalities.

Original issue reported on code.google.com by destrostudios on 20 Jun 2014 at 10:08

@GoogleCodeExporter
Copy link
Author

Original comment by destrostudios on 20 Jun 2014 at 10:09

  • Added labels: Priority-Medium
  • Removed labels: Priority-Low

@GoogleCodeExporter
Copy link
Author

This is the error message:

org.bushe.swing.event.EventServiceExistsException: An event service by the name 
NiftyEventBusalready exists.  Perhaps multiple threads tried to create a 
service about the same time?
    at org.bushe.swing.event.EventServiceLocator.setEventService(EventServiceLocator.java:123)
    at de.lessvoid.nifty.Nifty.initalizeEventBus(Nifty.java:222)
    at de.lessvoid.nifty.Nifty.initialize(Nifty.java:202)
    at de.lessvoid.nifty.Nifty.<init>(Nifty.java:143)
    at com.jme3.niftygui.NiftyJmeDisplay.<init>(NiftyJmeDisplay.java:129)
    at amara.engine.appstates.NiftyAppState.createNifty(NiftyAppState.java:43)
    at amara.engine.applications.ingame.client.appstates.NiftyAppState_IngameClient.initialize(NiftyAppState_IngameClient.java:22)
    at com.jme3.app.state.AppStateManager.initializePending(AppStateManager.java:251)
    at com.jme3.app.state.AppStateManager.update(AppStateManager.java:281)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:239)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
    at java.lang.Thread.run(Thread.java:744)

Original comment by destrostudios on 20 Jun 2014 at 10:11

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

No branches or pull requests

1 participant