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 arlith
, 1 year ago
megamek.common.actions.WeaponAttackAction cannot be cast to megamek.common.actions.ArtilleryAttackAction
java.lang.ClassCastException: megamek.common.actions.WeaponAttackAction cannot be cast to megamek.common.actions.ArtilleryAttackAction	at megamek.common.weapons.ArtilleryWeaponIndirectFireHandler.handle(ArtilleryWeaponIndirectFireHandler.java:105)	at megamek.server.Server.handleAttacks(Server.java:33517)	at megamek.server.Server.endCurrentPhase(Server.java:2868)	at megamek.server.Server.changeToNextTurn(Server.java:3182)	at megamek.server.Server.endCurrentTurn(Server.java:2268)	at megamek.server.Server.receiveAttack(Server.java:12444)	at megamek.server.Server.handle(Server.java:29452)	at megamek.server.Server$PacketPump.run(Server.java:348)