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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Cervator
, 1 year ago
intRnd min equals max -0.0
java.lang.AssertionError: intRnd min equals max -0.0
at com.miloshpetrov.sol2.common.SolMath.rnd(SolMath.java:83)
at com.miloshpetrov.sol2.common.SolMath.rnd(SolMath.java:74)
at com.miloshpetrov.sol2.game.ship.SolShip.throwLoot(SolShip.java:310)
at com.miloshpetrov.sol2.game.ship.SolShip.throwAllLoot(SolShip.java:281)
at com.miloshpetrov.sol2.game.ship.SolShip.onRemove(SolShip.java:265)
at com.miloshpetrov.sol2.game.ObjectManager.removeObjNow(ObjectManager.java:151)
at com.miloshpetrov.sol2.game.ObjectManager.addRemove(ObjectManager.java:137)
at com.miloshpetrov.sol2.game.ObjectManager.update(ObjectManager.java:109)
at com.miloshpetrov.sol2.game.SolGame.update(SolGame.java:244)
at com.miloshpetrov.sol2.SolApplication.update(SolApplication.java:102)
at com.miloshpetrov.sol2.SolApplication.safeUpdate(SolApplication.java:83)
at com.miloshpetrov.sol2.SolApplication.render(SolApplication.java:63)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.