Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes on reload - after crashing during playing earlier #837

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Game version:


Operating System: (e.g., Windows 7 x86, Windows XP 64-bit)

Windows 8 Professionel 64-bit


Java runtime version: (run java -version)

newest available (i just patched it)


Installed using the Launcher? (yes, no)

yes!

Game language (en, hu, de):


What steps will reproduce the problem?

=> Pressing: Continue (!)


What is the expected output? What do you see instead?

Expected output? - Well, If I reload (after a crash) I would say it would be 
the game starting normally, but now it just crashes (when I want to reload - 
and i am pretty far in (last Rank and on the way to victory, haven't lost a 
planet in ages and the only thing stopping me from steamrolling my adversaries 
is: I have so many of them (war on 3 Fronts ATM), but I am getting there, 
slowly...well, I would if the game wouldn't crash directly after clicking 
"continue"!)

What did I do when the crash happened? - Not quite sure actually, but I think I 
was either outfitting one of my fleets or attacking some alien planet!


Please provide any additional information below.

here is what the game is giving me after pressing "continue":

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_51
   Java vendor: Oracle Corporation (http://java.oracle.com/)
   Java class version: 51.0
   Operating system: Windows 8, amd64, 6.2
   Game version: 0.95.164
   Command line: [-memonce, -en]
   Available memory: 216 MB
   Maximum memory: 699 MB
   Parallelism: 8
   Language: en
   Date and time: 2014-02-25T20:43:24.416Z
----
A crash save may have been created. Please attach it in the issue report 
(zipped).
java.lang.IllegalArgumentException: <fleet id='78886' x='0.0' y='0.0' 
task='IDLE' refill-once='false' formation='0'>
  <item id='78888' type='Destroyer2' count='1' hp='1000.0' shield='350.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='laser1' hp='97.0' type='Laser3' count='8'/>
    <slot id='shield' hp='575.0' type='Shield2' count='1'/>
    <slot id='laser2' hp='97.0' type='Laser3' count='6'/>
    <slot id='hyperdrive' hp='316.0' type='HyperDrive3' count='1'/>
  </item>
  <item id='78889' type='Battleship1' count='1' hp='3500.0' shield='1575.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='laser' hp='116.0' type='Laser3' count='14'/>
    <slot id='bomb' hp='167.0' type='Bomb1' count='8'/>
    <slot id='rocket' hp='286.0' type='Rocket1' count='6'/>
    <slot id='radar' hp='1000.0' type='Radar2' count='1'/>
    <slot id='cannon' hp='180.0' type='IonCannon' count='8'/>
    <slot id='storage' hp='870.0' type='Storage1' count='1'/>
    <slot id='shield' hp='1062.0' type='Shield3' count='1'/>
    <slot id='hyperdrive' hp='490.0' type='HyperDrive3' count='1'/>
  </item>
  <item id='81578' type='Destroyer2' count='1' hp='1000.0' shield='350.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='laser1' hp='97.0' type='Laser3' count='8'/>
    <slot id='shield' hp='575.0' type='Shield2' count='1'/>
    <slot id='laser2' hp='97.0' type='Laser3' count='6'/>
    <slot id='hyperdrive' hp='316.0' type='HyperDrive3' count='1'/>
  </item>
  <item id='81677' type='Fighter1' count='30' hp='200.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='Laser' hp='62.0' type='Laser1' count='1'/>
  </item>
  <item id='81678' type='Fighter3' count='13' hp='400.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='Laser' hp='90.0' type='Laser2' count='2'/>
  </item>
  <item id='81679' type='Fighter4' count='3' hp='500.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='Laser' hp='90.0' type='Laser2' count='2'/>
  </item>
  <item id='81680' type='RadarCar' count='1' hp='70.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
  <item id='81681' type='MediumTank' count='1' hp='240.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
  <item id='81682' type='RocketLauncher1' count='2' hp='180.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
  <item id='81683' type='LightTank' count='4' hp='180.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
</fleet>
: missing attribute: name
    at hu.openig.utils.XElement.get(XElement.java:86)
    at hu.openig.model.World.loadFleets(World.java:1893)
    at hu.openig.model.World.loadState(World.java:1602)
    at hu.openig.GameWindow.loadWorldData(GameWindow.java:2255)
    at hu.openig.GameWindow$12.run(GameWindow.java:1492)
    at java.lang.Thread.run(Unknown Source)

java.lang.IllegalArgumentException: <fleet id='78886' x='0.0' y='0.0' 
task='IDLE' refill-once='false' formation='0'>
  <item id='78888' type='Destroyer2' count='1' hp='1000.0' shield='350.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='laser1' hp='97.0' type='Laser3' count='8'/>
    <slot id='shield' hp='575.0' type='Shield2' count='1'/>
    <slot id='laser2' hp='97.0' type='Laser3' count='6'/>
    <slot id='hyperdrive' hp='316.0' type='HyperDrive3' count='1'/>
  </item>
  <item id='78889' type='Battleship1' count='1' hp='3500.0' shield='1575.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='laser' hp='116.0' type='Laser3' count='14'/>
    <slot id='bomb' hp='167.0' type='Bomb1' count='8'/>
    <slot id='rocket' hp='286.0' type='Rocket1' count='6'/>
    <slot id='radar' hp='1000.0' type='Radar2' count='1'/>
    <slot id='cannon' hp='180.0' type='IonCannon' count='8'/>
    <slot id='storage' hp='870.0' type='Storage1' count='1'/>
    <slot id='shield' hp='1062.0' type='Shield3' count='1'/>
    <slot id='hyperdrive' hp='490.0' type='HyperDrive3' count='1'/>
  </item>
  <item id='81578' type='Destroyer2' count='1' hp='1000.0' shield='350.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='laser1' hp='97.0' type='Laser3' count='8'/>
    <slot id='shield' hp='575.0' type='Shield2' count='1'/>
    <slot id='laser2' hp='97.0' type='Laser3' count='6'/>
    <slot id='hyperdrive' hp='316.0' type='HyperDrive3' count='1'/>
  </item>
  <item id='81677' type='Fighter1' count='30' hp='200.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='Laser' hp='62.0' type='Laser1' count='1'/>
  </item>
  <item id='81678' type='Fighter3' count='13' hp='400.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='Laser' hp='90.0' type='Laser2' count='2'/>
  </item>
  <item id='81679' type='Fighter4' count='3' hp='500.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'>
    <slot id='Laser' hp='90.0' type='Laser2' count='2'/>
  </item>
  <item id='81680' type='RadarCar' count='1' hp='70.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
  <item id='81681' type='MediumTank' count='1' hp='240.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
  <item id='81682' type='RocketLauncher1' count='2' hp='180.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
  <item id='81683' type='LightTank' count='4' hp='180.0' shield='0.0' nickname-index='0' kills='0' kills-cost='0'/>
</fleet>
: missing attribute: name
    at hu.openig.utils.XElement.get(XElement.java:86)
    at hu.openig.model.World.loadFleets(World.java:1893)
    at hu.openig.model.World.loadState(World.java:1602)
    at hu.openig.GameWindow.loadWorldData(GameWindow.java:2255)
    at hu.openig.GameWindow$12.run(GameWindow.java:1492)
    at java.lang.Thread.run(Unknown Source)




Please upload any save before and/or after the problem happened. Please
attach the open-ig.log file found in the
application's directory.

well: you can have my latest two savegame-files (non of them is "after" the 
crash, as i can't reload, as i have already said)


Original issue reported on code.google.com by Mistborn...@googlemail.com on 25 Feb 2014 at 8:55

Attachments:

@GoogleCodeExporter
Copy link
Author

It seems the fleet name has been lost somewhere. I'll check things tomorrow.

Original comment by akarn...@gmail.com on 25 Feb 2014 at 9:03

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

I've attempted a fix in 0.95.165 which should 
1) allow loading your saves again
2) capture the place of the name corruption in case it happens again

Please update to 0.95.165 and in case you get the crash again, please report it 
here.

PS: generally, crash saves are not loadable since it may trigger the 
problematic case over again. In a future version, I'll make sure the "Continue" 
won't it if it happens to be the last save.

Original comment by akarn...@gmail.com on 26 Feb 2014 at 8:06

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant