chrsmithdemos / open-ig

Automatically exported from code.google.com/p/open-ig
0 stars 0 forks source link

Brand new campaign. Error given as soon as second pirate fighter in the first scripted battle died. #899

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
An unexpected error occurred.
You should consider submitting an error report via the project issue list:
https://code.google.com/p/open-ig/issues/list
Please include the following diagnostic information followed by the error 
stacktrace(s):
   Java version: 1.7.0_21
   Java vendor: Oracle Corporation (http://java.oracle.com/)
   Java class version: 51.0
   Operating system: Windows XP, x86, 5.1
   Game version: 0.95.198
   Command line: [-memonce, -en]
   Available memory: 146 MB
   Maximum memory: 804 MB
   Parallelism: 2
   Language: en
   Date and time: 2014-11-04T18:29:17.445Z
----
A crash save may have been created. Please attach it in the issue report 
(zipped).
C:\Program Files\Imperium\save\default\save-2014-11-04-18-29-17-445.xml.gz
java.lang.AssertionError: Fleet 1255 has no previous planet to return to!
    at hu.openig.mechanics.AITrader.returnToPreviousPlanet(AITrader.java:613)
    at hu.openig.mechanics.AITrader$AITraderSpaceBattle.spaceBattleDone(AITrader.java:598)
    at hu.openig.screen.items.SpacewarScreen.concludeBattle(SpacewarScreen.java:4416)
    at hu.openig.screen.items.SpacewarScreen.doSpacewarSimulation(SpacewarScreen.java:3760)
    at hu.openig.screen.items.SpacewarScreen$8.invoke(SpacewarScreen.java:3012)
    at hu.openig.screen.CommonResources.doTimerTick(CommonResources.java:869)
    at hu.openig.screen.CommonResources$1.actionPerformed(CommonResources.java:245)
    at javax.swing.Timer.fireActionPerformed(Unknown Source)
    at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Original issue reported on code.google.com by Jonathan...@gmail.com on 4 Nov 2014 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
An unexpected error occurred.
You should consider submitting an error report via the project issue list:
https://code.google.com/p/open-ig/issues/list
Please include the following diagnostic information followed by the error 
stacktrace(s):
   Java version: 1.7.0_21
   Java vendor: Oracle Corporation (http://java.oracle.com/)
   Java class version: 51.0
   Operating system: Windows XP, x86, 5.1
   Game version: 0.95.198
   Command line: [-memonce]
   Available memory: 169 MB
   Maximum memory: 742 MB
   Parallelism: 2
   Language: en
   Date and time: 2014-11-04T18:36:53.664Z
----
A crash save may have been created. Please attach it in the issue report 
(zipped).
C:\Program Files\Imperium\save\default\save-2014-11-04-18-36-53-695.xml.gz
java.lang.AssertionError: Fleet 1291 has no previous planet to return to!
    at hu.openig.mechanics.AITrader.returnToPreviousPlanet(AITrader.java:613)
    at hu.openig.mechanics.AITrader$AITraderSpaceBattle.spaceBattleDone(AITrader.java:598)
    at hu.openig.screen.items.SpacewarScreen.concludeBattle(SpacewarScreen.java:4416)
    at hu.openig.screen.items.SpacewarScreen.doSpacewarSimulation(SpacewarScreen.java:3760)
    at hu.openig.screen.items.SpacewarScreen$8.invoke(SpacewarScreen.java:3012)
    at hu.openig.screen.CommonResources.doTimerTick(CommonResources.java:869)
    at hu.openig.screen.CommonResources$1.actionPerformed(CommonResources.java:245)
    at javax.swing.Timer.fireActionPerformed(Unknown Source)
    at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Same error again a few moments later, this time caused by a single pirate 
fighter retreating successfully. There was another scripted pirate battle 
between these two error reports and in that scenario I killed 2 fighters, 1 
retreated and no error was caused. Strange!

Doesn't look like a big problem though. I'll keep adding these errors and saves 
in here just in case.

Original comment by Jonathan...@gmail.com on 4 Nov 2014 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Now I just got "pirate bay" achievement in the same game saying I lost a planet 
to the pirates! I can assure you I have not :D

Original comment by Jonathan...@gmail.com on 4 Nov 2014 at 6:53

GoogleCodeExporter commented 9 years ago
Thanks. They are more like warnings than actual errors. Somehow, the trader AI 
forgets where each fleet came from. Did you save and load before or after any 
of the battles that caused the error? Could you try a new game a few times to 
see if this happens constantly?

Original comment by akarn...@gmail.com on 4 Nov 2014 at 8:57

GoogleCodeExporter commented 9 years ago
Yeah I reloaded multiple times and I actually restarted multiple campaigns too, 
it happened in every game and on every reload. I don't think it *always* 
happens though,as I said when I first encountered this it happened on the first 
and third pirate skirmish, but not the second, but it happens a LOT.

Original comment by Jonathan...@gmail.com on 4 Nov 2014 at 10:54