Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
For some odd reason, if I turn on Compile on Save for my project and all the projects it requires, then attempt to run it, it immediately crashes with this error:
Code:
java.lang.ExceptionInInitializerError
	at net.worldwizard.fantastle.generic.MazeObjectList.<init>(MazeObjectList.java:32)
	at net.worldwizard.fantastle.game.Inventory.<init>(Inventory.java:40)
	at net.worldwizard.fantastle.game.GameManager.setUpGUI(GameManager.java:1284)
	at net.worldwizard.fantastle.game.GameManager.<init>(GameManager.java:97)
	at net.worldwizard.fantastle.Application.<init>(Application.java:56)
	at net.worldwizard.fantastle.Fantastle.main(Fantastle.java:57)
Caused by: java.lang.RuntimeException: Uncompilable source code - net.worldwizard.fantastle.objects.SunkenBlock is not abstract and does not override abstract method getDescription() in net.worldwizard.fantastle.generic.MazeObject
	at net.worldwizard.fantastle.generic.GenericGround.<clinit>(GenericGround.java:23)
	... 6 more
The SunkenBlock class DOES in fact define getDescription so this message is erroneous. The only way I can find around this issue is to turn off Compile on Save for the main project - then, it compiles and runs without issue.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.