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?

Game Development | nathan | 4 years ago
  1. 0

    How handle nifty initialization in a Slick2D state based game?

    Game Development | 4 years ago | nathan
    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?
  2. 0

    Slick2D and Nifty GUI

    Game Development | 3 years ago | Eric
    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?

    Root Cause Analysis

    1. 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()
    2. EventBus
      EventServiceLocator.setEventService
      1. org.bushe.swing.event.EventServiceLocator.setEventService(EventServiceLocator.java:123)
      1 frame
    3. de.lessvoid.nifty
      NiftyOverlayBasicGameState.initNifty
      1. de.lessvoid.nifty.Nifty.initalizeEventBus(Nifty.java:221)
      2. de.lessvoid.nifty.Nifty.initialize(Nifty.java:201)
      3. de.lessvoid.nifty.Nifty.<init>(Nifty.java:142)
      4. de.lessvoid.nifty.slick2d.NiftyCarrier.initNifty(NiftyCarrier.java:94)
      5. de.lessvoid.nifty.slick2d.NiftyOverlayBasicGameState.initNifty(NiftyOverlayBasicGameState.java:332)
      6. de.lessvoid.nifty.slick2d.NiftyOverlayBasicGameState.initNifty(NiftyOverlayBasicGameState.java:299)
      7. de.lessvoid.nifty.slick2d.NiftyOverlayBasicGameState.initNifty(NiftyOverlayBasicGameState.java:280)
      8. de.lessvoid.nifty.slick2d.NiftyOverlayBasicGameState.initNifty(NiftyOverlayBasicGameState.java:264)
      8 frames