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

Close

#973 Game error while playing as Russia

v1.0 (example)
closed-fixed
nobody
5
2012-08-21
2012-07-20
Sorin
No

Game Name: Big World: 1942 v3 Rules
Game Version: 3.8
I was playing as Russia.
My allies where controlled by Dynamix Land-only (AI)
And the enemies by E.Z.Fodder (AI)

"Exception in thread "Triplea start thread" java.lang.NullPointerException
at games.strategy.triplea.ai.Dynamix_AI.Code.DoCombatMove.doCombatMove(DoCombatMove.java:228)
at games.strategy.triplea.ai.Dynamix_AI.Dynamix_AI.move(Dynamix_AI.java:260)
at games.strategy.triplea.ai.AbstractAI.start(AbstractAI.java:360)
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:46)
at java.lang.Thread.run(Unknown Source)
THREAD DUMP
thread<32,Tile Image Factory Soft Reference Reclaimer>
state:WAITING
locked on:java.lang.ref.ReferenceQueue$Lock@ce2161 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
games.strategy.triplea.image.ImageRef$1.run(TileImageFactory.java:527)
java.lang.Thread.run(Unknown Source)

thread<30,Map panel background drawer>
state:TIMED_WAITING
locked on:java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@f18c9e locked owned by:<-1,null>
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
java.util.concurrent.LinkedBlockingQueue.poll(Unknown Source)
games.strategy.triplea.ui.BackgroundDrawer.run(MapPanel.java:1033)
java.lang.Thread.run(Unknown Source)

thread<29,Direct Clip>
state:WAITING
locked on:java.lang.Object@4704a3 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
com.sun.media.sound.DirectAudioDevice$DirectClip.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<28,Java Sound Event Dispatcher>
state:WAITING
locked on:com.sun.media.sound.EventDispatcher@818946 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
com.sun.media.sound.EventDispatcher.dispatchEvents(Unknown Source)
com.sun.media.sound.EventDispatcher.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<21,Laf-Widget fade tracker>
state:TIMED_WAITING
java.lang.Thread.sleep(Native Method)
org.jvnet.lafwidget.animation.FadeTracker$FadeTrackerThread.run(FadeTracker.java:207)

thread<20,D3D Screen Updater>
state:TIMED_WAITING
locked on:java.lang.Object@5b6770 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<19,DestroyJavaVM>
state:RUNNABLE

thread<18,TimerQueue>
state:WAITING
locked on:java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@e41347 locked owned by:<-1,null>
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.util.concurrent.DelayQueue.take(Unknown Source)
javax.swing.TimerQueue.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<16,Console std out reader>
state:WAITING
locked on:java.lang.Object@1adab2f locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
games.strategy.debug.SynchedByteArrayOutputStream.readFully(Console.java:355)
games.strategy.debug.ThreadReader.run(Console.java:296)
java.lang.Thread.run(Unknown Source)

thread<15,Console std err reader>
state:WAITING
locked on:java.lang.Object@c1cab5 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
games.strategy.debug.SynchedByteArrayOutputStream.readFully(Console.java:355)
games.strategy.debug.ThreadReader.run(Console.java:296)
java.lang.Thread.run(Unknown Source)

thread<13,AWT-EventQueue-0>
state:RUNNABLE
sun.management.ThreadImpl.getThreadInfo1(Native Method)
sun.management.ThreadImpl.getThreadInfo(Unknown Source)
games.strategy.debug.Console.getThreadDumps(Console.java:167)
games.strategy.debug.Console$2.actionPerformed(Console.java:149)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$000(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)

thread<11,AWT-Windows>
state:RUNNABLE
sun.awt.windows.WToolkit.eventLoop(Native Method)
sun.awt.windows.WToolkit.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<10,AWT-Shutdown>
state:WAITING
locked on:java.lang.Object@e34c22 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
sun.awt.AWTAutoShutdown.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<9,Java2D Disposer>
state:WAITING
locked on:java.lang.ref.ReferenceQueue$Lock@9b5c05 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
sun.java2d.Disposer.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

thread<5,Attach Listener>
state:RUNNABLE

thread<4,Signal Dispatcher>
state:RUNNABLE

thread<3,Finalizer>
state:WAITING
locked on:java.lang.ref.ReferenceQueue$Lock@1b67bc2 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

thread<2,Reference Handler>
state:WAITING
locked on:java.lang.ref.Reference$Lock@1772c98 locked owned by:<-1,null>
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)"

Discussion

  • Sorin
    Sorin
    2012-07-20

    1.5.2.1 stable.

     
  • Chris Duncan
    Chris Duncan
    2012-08-21

    fixed

     
  • Chris Duncan
    Chris Duncan
    2012-08-21

    • status: open --> closed-fixed