java.lang.ClassCastException: com.miloshpetrov.sol2.game.screens.ShipControllerControl cannot be cast to com.miloshpetrov.sol2.game.screens.ShipKbControl

GitHub | Cervator | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Tutorial causes crash if controller support enabled

    GitHub | 2 years ago | Cervator
    java.lang.ClassCastException: com.miloshpetrov.sol2.game.screens.ShipControllerControl cannot be cast to com.miloshpetrov.sol2.game.screens.ShipKbControl

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.miloshpetrov.sol2.game.screens.ShipControllerControl cannot be cast to com.miloshpetrov.sol2.game.screens.ShipKbControl

      at com.miloshpetrov.sol2.ui.TutorialManager.<init>()
    2. com.miloshpetrov.sol2
      TutorialManager.<init>
      1. com.miloshpetrov.sol2.ui.TutorialManager.<init>(TutorialManager.java:40)
      1 frame