Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#947 rising sun-hong kong

v1.0 (example)
closed-fixed
Chris Duncan
None
5
2014-03-06
2012-04-14
Anonymous
No

First of all, let me say that I'm new to triple a and greatly appreciate the hard work all of you put in to this fantastic project. Thanks for taking the time to read my error posting. I am running the latest stable version 1.5.2.1. When I attempt to go to battle in Hong Kong in Rd 1 of rising sun, this error pop up:

WARNING [AWT-EventQueue-0] prefs->Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Exception in thread "Triplea start thread" java.lang.IllegalStateException: No unit type attachment for:H.Cruiser
at games.strategy.triplea.attatchments.UnitAttachment.get(UnitAttachment.java:72)
at games.strategy.triplea.attatchments.UnitAttachment.getTargetsAA(UnitAttachment.java:2084)
at games.strategy.triplea.delegate.Matches$89.match(Matches.java:1138)
at games.strategy.triplea.delegate.Matches$89.match(Matches.java:1131)
at games.strategy.util.CompositeMatchAnd.match(CompositeMatchAnd.java:57)
at games.strategy.engine.data.UnitCollection.getMatches(UnitCollection.java:291)
at games.strategy.triplea.delegate.MustFightBattle.fight(MustFightBattle.java:360)
at games.strategy.triplea.delegate.BattleDelegate.fightBattle(BattleDelegate.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.delegate.DelegateExecutionManager$2.invoke(DelegateExecutionManager.java:156)
at $Proxy8.fightBattle(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.message.EndPoint.invokeSingle(UnifiedMessenger.java:631)
at games.strategy.engine.message.EndPoint.invokeMultiple(UnifiedMessenger.java:601)
at games.strategy.engine.message.EndPoint.invokeLocal(UnifiedMessenger.java:579)
at games.strategy.engine.message.UnifiedMessenger.invokeAndWait(UnifiedMessenger.java:126)
at games.strategy.engine.message.UnifiedInvocationHandler.invoke(UnifiedInvocationHandler.java:70)
at $Proxy8.fightBattle(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at games.strategy.engine.gamePlayer.GameOverInvocationHandler.invoke(DefaultPlayerBridge.java:168)
at $Proxy8.fightBattle(Unknown Source)
at games.strategy.triplea.TripleAPlayer.battle(TripleAPlayer.java:461)
at games.strategy.triplea.TripleAPlayer.start(TripleAPlayer.java:133)
at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:577)
at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:463)
at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:284)
at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:99)
at games.strategy.engine.framework.startup.launcher.AbstractLauncher$1.run(AbstractLauncher.java:44)
at java.lang.Thread.run(Unknown Source)

Once again, thanks for your time.

Discussion

  • Chris Duncan
    Chris Duncan
    2014-03-06

    • status: open --> closed-fixed
    • assigned_to: Chris Duncan
    • Group: --> v1.0 (example)