java.lang.AssertionError: intRnd min equals max -0.0

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

    GitHub comment 17#100581039

    GitHub | 2 years ago | Cervator
    java.lang.AssertionError: intRnd min equals max -0.0

    Root Cause Analysis

    1. java.lang.AssertionError

      intRnd min equals max -0.0

      at com.miloshpetrov.sol2.common.SolMath.rnd()
    2. com.miloshpetrov.sol2
      SolApplication.render
      1. com.miloshpetrov.sol2.common.SolMath.rnd(SolMath.java:83)
      2. com.miloshpetrov.sol2.common.SolMath.rnd(SolMath.java:74)
      3. com.miloshpetrov.sol2.game.ship.SolShip.throwLoot(SolShip.java:310)
      4. com.miloshpetrov.sol2.game.ship.SolShip.throwAllLoot(SolShip.java:281)
      5. com.miloshpetrov.sol2.game.ship.SolShip.onRemove(SolShip.java:265)
      6. com.miloshpetrov.sol2.game.ObjectManager.removeObjNow(ObjectManager.java:151)
      7. com.miloshpetrov.sol2.game.ObjectManager.addRemove(ObjectManager.java:137)
      8. com.miloshpetrov.sol2.game.ObjectManager.update(ObjectManager.java:109)
      9. com.miloshpetrov.sol2.game.SolGame.update(SolGame.java:244)
      10. com.miloshpetrov.sol2.SolApplication.update(SolApplication.java:102)
      11. com.miloshpetrov.sol2.SolApplication.safeUpdate(SolApplication.java:83)
      12. com.miloshpetrov.sol2.SolApplication.render(SolApplication.java:63)
      12 frames
    3. libGDX LWJGL Backend
      LwjglApplication$1.run
      1. com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
      2. com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
      2 frames