Game crashes immediately after character creation
issueid=255 07-17-2011 01:08 AM
Senior Member
Number of reported issues by Travis Prue: 14
Game crashes immediately after character creation

Happens in Windows 7 Home Premium(x64). I've tried reinstalling java and deleting the .jade directory.


jade.log:
Code:
2011-07-16 20:06:11,993 ERROR Thread-14 de.adom.jade.utils.ErrorUtils - Handling error.
java.lang.ArithmeticException: / by zero
	at de.adom.jade.ui.ascii.MapDisplay.a(SourceFile:613)
	at de.adom.jade.ui.ascii.MapDisplay.update(SourceFile:592)
	at de.adom.jade.ui.ascii.MapDisplay.setViewPosition(SourceFile:220)
	at de.adom.jade.ui.ascii.MapDisplay.setCentralBeing(SourceFile:205)
	at de.adom.jade.ui.ascii.AsciiUserInterface.setPointOfView(SourceFile:1579)
	at de.adom.jade.ui.LocationMapView.setPointOfView(SourceFile:400)
	at de.adom.jade.world.complexes.locations.maps.LocationMap.setPointOfView(SourceFile:722)
	at de.adom.jade.kernel.GameLoop.run(SourceFile:61)
2011-07-16 20:06:11,993 ERROR AWT-EventQueue-0 de.adom.jade.utils.ErrorUtils - *** An internal error has occurred while another error was processed.
2011-07-16 20:06:11,993 ERROR AWT-EventQueue-0 de.adom.jade.utils.ErrorUtils - The following exception occurred:
java.lang.NullPointerException
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at de.adom.jade.ui.basic.ErrorDialog.<init>(SourceFile:80)
	at de.adom.jade.ui.basic.BasicUserInterface$1.runImpl(SourceFile:165)
	at de.adom.jade.utils.VerboseRunnable.run(SourceFile:35)
	at de.adom.jade.ui.basic.BasicUserInterface.displayErrorDialog(SourceFile:171)
	at de.adom.jade.utils.ErrorUtils$1.runImpl(SourceFile:127)
	at de.adom.jade.utils.VerboseRunnable.run(SourceFile:35)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$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)
Update: Works fine under Linux Mint 10
Issue Details
Issue Number 255
Project ADOM II (formerly known as JADE)
Category Gameplay
Status Fixed
Priority 1 - Highest
Affected Version JADE 0.1.1
Fixed Version JADE 0.1.2
Users able to reproduce bug 7
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




07-17-2011 02:37 AM
Junior Member
I'm seeing the same thing (with the same log) after pressing z on the skill screen. I'm also on Windows 7. I overwrote v 0.1.0 and got some messages about folder backup the first time I ran it.

07-17-2011 02:51 AM
Senior Member
out of curiosity, are you on win7 32-bit or 64-bit?

07-17-2011 03:02 AM
Junior Member
Same problem, same log output. Windows 7 Professional (x64) here.

07-17-2011 04:44 AM
Junior Member
I have Windows 7 Professional SP1 x64; experiencing the same crash and errors in the log on 0.1.1.

07-17-2011 07:49 AM
Junior Member
Same problem under Windows XP 32bit.

07-17-2011 08:51 AM
Senior Member
I'm on Ubuntu 11.04, 64-bit, and haven't had any problems whatsoever (in terms of game crashing, etc).

07-17-2011 09:55 AM
Senior Member
UPDATE: I'm very sorry. I posted this in the wrong thread. Just ignore it.




Duplicate. http://www.adom.de/forums/project.php?issueid=190

07-17-2011 10:46 AM
The Creator
This seems to be a non-Mac problem as everything runs fine on my system. I am investigating it and will release JADE 0.1.2 as soon as I manage to fix this.

07-17-2011 04:43 PM
Junior Member
While you're on it, Thomas, you might want to check the routine that checks the keyboard inputs when done with allocating skill points. Pressing [Space] instead of z or Z when done allocating skill points crashes the game. (Win7, 64bit)

07-17-2011 04:48 PM
Senior Member
Quote Originally Posted by BFBeast666
While you're on it, Thomas, you might want to check the routine that checks the keyboard inputs when done with allocating skill points. Pressing [Space] instead of z or Z when done allocating skill points crashes the game. (Win7, 64bit)
I can confirm that this is not a problem on Ubuntu 11.04 64bit.

And just to reiterate, character creation crashing isn't happening on Ubuntu 11.04 64bit, either. I just noticed that TB thinks it's a problem on all non-Mac systems, but I think it's Windows-specific.

07-17-2011 06:08 PM
Ancient Member
It's not a problem on Arch Linux x86_64 either (with Sun's JRE). I, too, think this is a Windows-specific issue.

07-17-2011 08:10 PM
The Creator
Fixed.

07-17-2011 08:54 PM
Junior Member
Any chance of a version 0.1.1a that fixes this particular problem? I'm going through JADE withdrawal here! :)

UPDATE: Never mind, my bad. I didn't see the 0.1.2 download until just after I posted this request (of course).

07-17-2011 09:01 PM
Senior Member
Quote Originally Posted by beerslayer
Any chance of a version 0.1.1a that fixes this particular problem? I'm going through JADE withdrawal here! :)
version 0.1.2 is out :P

07-18-2011 03:42 AM
Junior Member
Quote Originally Posted by Travis Prue
out of curiosity, are you on win7 32-bit or 64-bit?
Bit late, but 32-bit.

+ Reply