java.lang.IllegalStateException: No method called:setAttemptsLeftThisTurn on:PoliticalActionAttachment attached to:PlayerID named:Germans with name:politicalActionAttachment_Axis_To_War_With_Russians

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by DanVanAtta
, 1 year ago
No method called:setAttemptsLeftThisTurn on:PoliticalActionAttachment attached to:PlayerID named:Germans with name:politicalActionAttachment_Axis_To_War_With_Russians
java.lang.IllegalStateException: No method called:setAttemptsLeftThisTurn on:PoliticalActionAttachment attached to:PlayerID named:Germans with name:politicalActionAttachment_Axis_To_War_With_Russians
at games.strategy.util.PropertyUtil.getSetter(PropertyUtil.java:117)
at games.strategy.util.PropertyUtil.set(PropertyUtil.java:12)
at games.strategy.util.PropertyUtil.set(PropertyUtil.java:32)
at games.strategy.engine.data.ChangeAttachmentChange.perform(ChangeAttachmentChange.java:75)
at games.strategy.engine.data.GameData.performChange(GameData.java:493)
at games.strategy.triplea.ai.proAI.simulate.ProDummyDelegateBridge.addChange(ProDummyDelegateBridge.java:105)
at games.strategy.triplea.attachments.AbstractUserActionAttachment.useAttempt(AbstractUserActionAttachment.java:144)
at games.strategy.triplea.delegate.PoliticsDelegate.attemptAction(PoliticsDelegate.java:144)
at games.strategy.triplea.ai.proAI.ProPoliticsAI.doActions(ProPoliticsAI.java:176)
at games.strategy.triplea.ai.proAI.ProPoliticsAI.politicalActions(ProPoliticsAI.java:167)
at games.strategy.triplea.ai.proAI.ProAI.purchase(ProAI.java:248)
at games.strategy.triplea.ai.AbstractAI.start(AbstractAI.java:425)
at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:531)
at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:424)
at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:272)
at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:61)
at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$98(AbstractLauncher.java:43)
at java.lang.Thread.run(Unknown Source)

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.

Write tip

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