Hang while descending stairs
issueid=436 08-26-2011 07:05 AM
Ancient Member
Number of reported issues by Laukku: 34
Hang while descending stairs

When descending stairs, the game didn't respond at all. The screen stayed on the upper level. I probably had visited the lower level earlier, but I'm not entirely sure - I'd been using an altar for a while on a couple levels higher. Cursor became the Windows 7 waiting circle (hourglass cursor). No error message or stack trace.

Might be related to this issue: http://www.adom.de/forums/project.php?issueid=364
Issue Details
Issue Number 436
Project ADOM II (formerly known as JADE)
Category Unknown
Status Duplicate
Priority 1 - Highest
Affected Version Unknown
Fixed Version ADOM II 0.2.4
Users able to reproduce bug 7
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




04-06-2012 09:19 AM
Ancient Member
I got it again, entering a dungeon from the wilderness... and again, the bracers of defense are there.

Code:
Name: Thread-9
State: RUNNABLE
Total blocked: 26.397  Total waited: 26.233

Stack trace: 
java.util.Random.next(Unknown Source)
java.util.Random.nextInt(Unknown Source)
de.adom.jade.kernel.game.Game.random(SourceFile:466)
de.adom.jade.kernel.SC.random(SourceFile:60)
de.adom.jade.kernel.SC.OED(SourceFile:242)
de.adom.jade.kernel.SC.OED(SourceFile:262)
de.adom.jade.items.list.bracers.BracersOfDefense.<init>(SourceFile:57)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:549)
de.adom.jade.items.ItemFactory.create(SourceFile:218)
de.adom.jade.items.ItemFactory.create(SourceFile:1)
de.adom.jade.kernel.RarityBasedFactory.createOneOf(SourceFile:391)
de.adom.jade.kernel.SC.newEquipment(SourceFile:135)
de.adom.jade.beings.NPC.equip(SourceFile:239)
de.adom.jade.beings.list.OrcishChieftain.<init>(SourceFile:97)
sun.reflect.GeneratedConstructorAccessor77.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:549)
de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:345)
de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.a(SourceFile:60)
de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.populateImpl(SourceFile:47)
de.adom.jade.world.complexes.locations.populations.AbstractPopulationCreator.populate(SourceFile:109)
de.adom.jade.world.complexes.locations.maps.LocationMap.setPopulationCreator(SourceFile:1632)
de.adom.jade.world.complexes.locations.Location.getMap(SourceFile:274)
de.adom.jade.world.complexes.locations.LocationManager.transferToTargetMapOrTemporaryBufferAndAdjustPosition(SourceFile:178)
de.adom.jade.beings.brains.PCBrain.enterLocation(SourceFile:417)
de.adom.jade.beings.Being.enterLocation(SourceFile:2713)
de.adom.jade.world.complexes.locations.Connection.isEnteredBy(SourceFile:280)
de.adom.jade.beings.Being.doEnterLocation(SourceFile:2617)
de.adom.jade.ui.commands.CommandEnterLocationPreferUp.executeImpl(SourceFile:48)
de.adom.jade.ui.commands.Command.execute(SourceFile:546)
de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:152)
de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
de.adom.jade.beings.Being.actImpl(SourceFile:777)
de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
de.adom.jade.kernel.GameLoop.run(SourceFile:110)
In fact, in both these two cases and in the case reported in http://www.adom.de/forums/project.php?issueid=906 the game seems to be generating not only bracers of defense, but in particular an orcish chieftain with bracers of defense...

04-06-2012 09:50 AM
Ancient Member
And again.

Code:
Name: Thread-8
State: RUNNABLE
Total blocked: 53.891  Total waited: 53.638

Stack trace: 
de.adom.jade.kernel.game.Game.random(SourceFile:466)
de.adom.jade.kernel.SC.random(SourceFile:60)
de.adom.jade.kernel.SC.OED(SourceFile:242)
de.adom.jade.kernel.SC.OED(SourceFile:262)
de.adom.jade.items.list.bracers.BracersOfDefense.<init>(SourceFile:57)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:549)
de.adom.jade.items.ItemFactory.create(SourceFile:218)
de.adom.jade.items.ItemFactory.create(SourceFile:1)
de.adom.jade.kernel.RarityBasedFactory.createOneOf(SourceFile:391)
de.adom.jade.kernel.SC.newEquipment(SourceFile:135)
de.adom.jade.beings.NPC.equip(SourceFile:239)
de.adom.jade.beings.list.OrcishChieftain.<init>(SourceFile:97)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
java.lang.Class.newInstance0(Unknown Source)
java.lang.Class.newInstance(Unknown Source)
de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:549)
de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:345)
de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.a(SourceFile:60)
de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.populateImpl(SourceFile:47)
de.adom.jade.world.complexes.locations.populations.AbstractPopulationCreator.populate(SourceFile:109)
de.adom.jade.world.complexes.locations.maps.LocationMap.setPopulationCreator(SourceFile:1632)
de.adom.jade.world.complexes.locations.Location.getMap(SourceFile:274)
de.adom.jade.world.complexes.locations.LocationManager.transferToTargetMapOrTemporaryBufferAndAdjustPosition(SourceFile:178)
de.adom.jade.beings.brains.PCBrain.enterLocation(SourceFile:417)
de.adom.jade.beings.Being.enterLocation(SourceFile:2713)
de.adom.jade.world.complexes.locations.Connection.isEnteredBy(SourceFile:280)
de.adom.jade.beings.Being.doEnterLocation(SourceFile:2617)
de.adom.jade.ui.commands.CommandEnterLocationPreferUp.executeImpl(SourceFile:48)
de.adom.jade.ui.commands.Command.execute(SourceFile:546)
de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:152)
de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
de.adom.jade.beings.Being.actImpl(SourceFile:777)
de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
de.adom.jade.kernel.GameLoop.run(SourceFile:110)

04-08-2012 05:11 PM
Issue Changed by adom-admin
  • Issue marked as addressed
  • Addressed version changed from Unknown to ADOM II 0.2.4

04-08-2012 05:12 PM
The Creator
Thanks for providing the stack traces. Actually the problem was a very stupid programming mistake in open-ended die rolls which occurred only _very_ rarely - so I never saw those. It was trivial to fix once the problem was located.

Fixed for ADOM II 0.2.4. Please send your real name to creator(at)ancientdomainsofmystery.com for it to be included in the credits. (If you were already asked to do so you can ignore this message. Please include a reference to the bug or RFE you are credited for.)

04-15-2012 09:42 PM
Issue Changed by adom-admin
  • Status changed from Confirmed to Fixed

04-24-2012 06:32 PM
Junior Member
Thank goodness.

04-27-2012 08:07 PM
Junior Member
I actually had this bug happen to me twice now. Once when decending to level one of the CoC and once when decending into a random wilderness dungeon (possibly shard dungeon, unknown). Delayed reporting until second occurance.

This petition for a change to Duplicate was accepted
04-30-2012 06:06 PM
Junior Member
This rather serious issue has been reported a few times, and finally identified clearly and fixed for good.
 

05-08-2012 06:20 AM
Issue Changed by adom-admin
  • Status changed from Fixed to Duplicate

05-08-2012 06:40 AM
Ancient Member
ronarscorruption: WTF, you reported this as a duplicate of itself?

05-08-2012 06:58 PM
Junior Member
Wow, Apparently I did. I had clearly meant to link to a different issue. Sorry.

05-09-2012 06:38 AM
Ancient Member
Quote Originally Posted by ronarscorruption
Wow, Apparently I did. I had clearly meant to link to a different issue. Sorry.
Actually, I believe that you meant to post in a different issue and link to this. When I made this one, I searched pretty damn well for any potential prior reports. Besides, this is the one which was marked as "fixed", so your "this has been fixed" comment would make better sense if in an actual duplicate.

Can somebody petition this back to Fixed? I don't seem to be able to do that.

+ Reply