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

error when attacking a planet with tanks #864

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

error when attacking a planet with tanks #864

GoogleCodeExporter opened this issue Mar 16, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Game version:


Java version: 1.7.0_60
   Java vendor: Oracle Corporation (http://java.oracle.com/)
   Java class version: 51.0
   Operating system: Windows 7, x86, 6.1
   Game version: 0.95.176
   Command line: [-memonce, -en, -continue]
   Available memory: 25 MB
   Maximum memory: 742 MB
   Parallelism: 8
   Language: en
   Date and time: 2014-07-14T16:30:41.733Z


Installed using the Launcher? yes


Game language (en, hu, de): en


What steps will reproduce the problem?
1. Attacking any planet with tanks
2. placing tanks 
3. click start battle, this error will occur 


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

The ground battle is supposed to begin, instead this error pops up

Please provide any additional information below.

A crash save may have been created. Please attach it in the issue report 
(zipped).
D:\B Data\Games\save\default\save-2014-07-14-12-30-41-793.xml.gz
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at hu.openig.screen.items.PlanetScreen.doAddGuns(PlanetScreen.java:3575)
    at hu.openig.screen.items.PlanetScreen.doStartBattle(PlanetScreen.java:6016)
    at hu.openig.screen.items.PlanetScreen$28.invoke(PlanetScreen.java:3227)
    at hu.openig.ui.UIImageButton.doClick(UIImageButton.java:123)
    at hu.openig.ui.UIImageButton.mouse(UIImageButton.java:157)
    at hu.openig.ui.UIContainer.mouse(UIContainer.java:112)
    at hu.openig.screen.ScreenBase.mouse(ScreenBase.java:110)
    at hu.openig.screen.items.PlanetScreen.mouse(PlanetScreen.java:1930)
    at hu.openig.GameWindow$MouseActions.invoke(GameWindow.java:1128)
    at hu.openig.GameWindow$MouseActions.mouseReleased(GameWindow.java:1159)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.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)

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

Original issue reported on code.google.com by d.aaronK...@gmail.com on 14 Jul 2014 at 4:34

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks for the report, I'll see what I can do. Did you run a skirmish game with 
the all building available to everyone option by any chance?

Original comment by akarn...@gmail.com on 14 Jul 2014 at 9:25

  • Changed state: Accepted
  • Added labels: Crash

@GoogleCodeExporter
Copy link
Author

Yes i do play that way, should i try it with that option turned off?

Original comment by d.aaronK...@gmail.com on 14 Jul 2014 at 9:55

@GoogleCodeExporter
Copy link
Author

Apparently, I missed some data dependency when implementing that feature, I'll 
release a fix within a day.

Original comment by akarn...@gmail.com on 14 Jul 2014 at 10:16

@GoogleCodeExporter
Copy link
Author

Fixed in 0.95.177

Original comment by akarn...@gmail.com on 15 Jul 2014 at 8:13

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Yes it works now! great job! 

Original comment by d.aaronK...@gmail.com on 15 Jul 2014 at 4:20

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