Page 2 of 2
Re: Incomprehensible crash
Posted: Wed Dec 01, 2010 11:09 am
by ddb174
Drizzle has a part on the "Misc" tab called "Run Tests" which will try to find sequence prefix conflicts. It can sometimes be helpful! And yeah, this has sometimes happened before when someone creates their own Age (or installs an Age not from UAM) which uses a prefix in use elsewhere. (I'm not saying that's what happened here, but it might be related.)
Re: Incomprehensible crash
Posted: Wed Dec 01, 2010 5:08 pm
by tangara
Re: Incomprehensible crash
Posted: Thu Dec 02, 2010 9:12 am
by ddb174
No problem; don't worry :)
(I prefer email to forums anyway. Sometimes I go several days without reading the forums.)
Re: Incomprehensible crash
Posted: Sat Dec 11, 2010 1:11 pm
by Chacal
I had the same problem with several Ages failing to load, giving me a black screen like that.
I suspected corrupt files because Ihave been doing lots of tests lately.
I ran the Dizzle tests as mentioned, and the log ended like this:
- Show Spoiler
Code: Select all
PrpFile: name= readversion=3 agename=FehnirHouse pagename=BuiltIn pageid=10441:-2
PrpFile: name= readversion=3 agename=FehnirHouse pagename=mainRoom pageid=10441:0
PrpFile: name= readversion=3 agename=FehnirHouse pagename=Textures pageid=10441:-1
PrpFile: name= readversion=3 agename=Fens pagename=BuiltIn pageid=402:-2
PrpFile: name= readversion=3 agename=Fens pagename=mainRoom pageid=402:0
PrpFile: name= readversion=3 agename=Fens pagename=Textures pageid=402:-1
Error: prpheader: Unknown version.
Console: stderr:Exception in thread "AWT-EventQueue-0"
Console: stderr:java.lang.NullPointerException
Console: stderr: at prpobjects.PrpHeader.<init>(PrpHeader.java:175)
Console: stderr: at prpobjects.PrpHeader.<init>(PrpHeader.java:58)
Console: stderr: at uam.Uam.RunTests(Uam.java:441)
Console: stderr: at gui.Gui.jButton139ActionPerformed(Gui.java:5642)
Console: stderr: at gui.Gui.access$5100(Gui.java:51)
Console: stderr: at gui.Gui$53.actionPerformed(Gui.java:1924)
Console: stderr: at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
Console: stderr: at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
Console: stderr: at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
Console: stderr: at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
Console: stderr: at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
Console: stderr: at java.awt.Component.processMouseEvent(Unknown Source)
Console: stderr: at javax.swing.JComponent.processMouseEvent(Unknown Source)
Console: stderr: at java.awt.Component.processEvent(Unknown Source)
Console: stderr: at java.awt.Container.processEvent(Unknown Source)
Console: stderr: at java.awt.Component.dispatchEventImpl(Unknown Source)
Console: stderr: at java.awt.Container.dispatchEventImpl(Unknown Source)
Console: stderr: at java.awt.Component.dispatchEvent(Unknown Source)
Console: stderr: at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
Console: stderr: at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
Console: stderr: at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
Console: stderr: at java.awt.Container.dispatchEventImpl(Unknown Source)
Console: stderr: at java.awt.Window.dispatchEventImpl(Unknown Source)
Console: stderr: at java.awt.Component.dispatchEvent(Unknown Source)
Console: stderr: at java.awt.EventQueue.dispatchEvent(Unknown Source)
Console: stderr: at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
Console: stderr: at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
Console: stderr: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
Console: stderr: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Console: stderr: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Console: stderr: at java.awt.EventDispatchThread.run(Unknown Source)
I guessed that Fens was OK and the crash happened on the next file, so I looked in my dat folder, sorted alphabetically, to see what came after "Fens", and found a corrupt prp file.
Deleting that file solved the problem.
Dustin, thanks for those tests. However, maybe you should trap errors so that the test won't crash? So that it processes all prps.
Re: Incomprehensible crash
Posted: Wed Dec 15, 2010 3:25 pm
by ddb174
Yes, that could be done. Sometimes getting the stacktrace is more useful though, because it can point out precisely what the problem is.