Critical bug when generating unique
issueid=957 05-05-2012 11:19 AM
Ancient Member
Number of reported issues by Al-Khwarizmi: 48
Critical bug when generating unique

I got the following message when entering a dungeon:

Code:
A controlled JADE error occurred.
Please see the stack trace for details.

de.adom.jade.JadeError: Failed to create 'de.adom.jade.beings.list.JoanDaOrc'.
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:577)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:347)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.createDungeonInhabitant(SourceFile:81)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.a(SourceFile:62)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.populateImpl(SourceFile:47)
	at de.adom.jade.world.complexes.locations.populations.AbstractPopulationCreator.populate(SourceFile:109)
	at de.adom.jade.world.complexes.locations.maps.LocationMap.setPopulationCreator(SourceFile:1729)
	at de.adom.jade.world.complexes.locations.Location.getMap(SourceFile:280)
	at de.adom.jade.world.complexes.locations.LocationManager.transferToTargetMapOrTemporaryBufferAndAdjustPosition(SourceFile:189)
	at de.adom.jade.beings.brains.PCBrain.enterLocation(SourceFile:415)
	at de.adom.jade.beings.Being.enterLocation(SourceFile:2885)
	at de.adom.jade.world.complexes.locations.EntryConnection.isEnteredBy(SourceFile:91)
	at de.adom.jade.beings.Being.doEnterLocation(SourceFile:2770)
	at de.adom.jade.ui.commands.b.executeImpl(SourceFile:53)
	at de.adom.jade.ui.commands.Command.execute(SourceFile:621)
	at de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:154)
	at de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
	at de.adom.jade.beings.Being.actImpl(SourceFile:831)
	at de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
	at de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
	at de.adom.jade.kernel.GameLoop.run(SourceFile:141)
Caused by: de.adom.jade.JadeError: Invalid distribution: [24]
	at de.adom.jade.beings.NPC.addLevelsAs(SourceFile:549)
	at de.adom.jade.beings.list.JoanDaOrc.<init>(SourceFile:70)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:573)
	... 20 more

--- Caused by: ---

de.adom.jade.JadeError: Invalid distribution: [24]
	at de.adom.jade.beings.NPC.addLevelsAs(SourceFile:549)
	at de.adom.jade.beings.list.JoanDaOrc.<init>(SourceFile:70)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:573)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:347)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.createDungeonInhabitant(SourceFile:81)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.a(SourceFile:62)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.populateImpl(SourceFile:47)
	at de.adom.jade.world.complexes.locations.populations.AbstractPopulationCreator.populate(SourceFile:109)
	at de.adom.jade.world.complexes.locations.maps.LocationMap.setPopulationCreator(SourceFile:1729)
	at de.adom.jade.world.complexes.locations.Location.getMap(SourceFile:280)
	at de.adom.jade.world.complexes.locations.LocationManager.transferToTargetMapOrTemporaryBufferAndAdjustPosition(SourceFile:189)
	at de.adom.jade.beings.brains.PCBrain.enterLocation(SourceFile:415)
	at de.adom.jade.beings.Being.enterLocation(SourceFile:2885)
	at de.adom.jade.world.complexes.locations.EntryConnection.isEnteredBy(SourceFile:91)
	at de.adom.jade.beings.Being.doEnterLocation(SourceFile:2770)
	at de.adom.jade.ui.commands.b.executeImpl(SourceFile:53)
	at de.adom.jade.ui.commands.Command.execute(SourceFile:621)
	at de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:154)
	at de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
	at de.adom.jade.beings.Being.actImpl(SourceFile:831)
	at de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
	at de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
	at de.adom.jade.kernel.GameLoop.run(SourceFile:141)

--- System information: ---

jnlpx.remove: 'false'
file.encoding.pkg: 'sun.io'
java.home: 'C:\Archivos de programa\Java\jre7'
deployment.security.askgrantdialog.notinca: 'true'
deployment.repository.askdownloaddialog.show: 'true'
deployment.system.security.trusted.jssecerts: '$JAVA_HOME\lib\security\trusted.jssecerts'
sun.java2d.d3d: 'false'
deployment.console.startup.mode: 'SHOW'
java.endorsed.dirs: 'C:\Archivos de programa\Java\jre7\lib\endorsed'
deployment.security.sandbox.jnlp.enhanced: 'true'
deployment.system.security.blacklist: '$LATEST_JRE_HOME\lib\security\blacklist'
deployment.javaws.concurrentDownloads: '4'
deployment.security.sandbox.awtwarningwindow: 'true'
sun.os.patch.level: 'Service Pack 3'
java.vendor.url: 'http://java.oracle.com/'
deployment.security.blacklist.check: 'true'
deployment.user.security.trusted.jssecacerts: '$USER_HOME\security\trusted.jssecacerts'
deployment.javaws.home.jnlp.url: 'http://java.sun.com/products/javawebstart'
java.version: '1.7.0_02'
deployment.javapi.trace.filename: ''
deployment.max.output.file.size: '10'
java.vendor.url.bug: 'http://bugreport.sun.com/bugreport/'
deployment.user.security.trusted.cacerts: '$USER_HOME\security\trusted.cacerts'
java.protocol.handler.pkgs: 'com.sun.javaws.net.protocol|com.sun.deploy.net.protocol|com.sun.deploy.net.protocol'
javaplugin.proxy.config.type: 'direct'
deployment.user.tmp: '$USER_HOME\tmp'
user.name: 'carlos'
deployment.user.logdir: '$USER_HOME\log'
sun.io.unicode.encoding: 'UnicodeLittle'
deployment.browser.path: 'C:\Archivos de programa\Internet Explorer\IEXPLORE.EXE'
deployment.cache.max.size: '-1'
sun.jnu.encoding: 'Cp1252'
java.runtime.name: 'Java(TM) SE Runtime Environment'
jnlpx.home: 'C:\\Archivos de programa\\Oracle\\JavaFX 2.0 Runtime\\bin'
deployment.system.security.trusted.publishers: '$LATEST_JRE_HOME\lib\security\trusted.publishers'
java.specification.name: 'Java Platform API Specification'
deployment.security.mixcode: 'ENABLE'
user.timezone: 'Europe/Paris'
deployment.browser.vm.mozilla: 'true'
deployment.security.SSLv3: 'true'
deployment.proxy.override.hosts: ''
user.script: ''
path.separator: ';'
deployment.javaws.installURL: 'http://java.sun.com/products/autodl/j2se'
jnlpx.heapsize: 'NULL,768m'
file.encoding: 'Cp1252'
deployment.user.security.trusted.publishers: '$USER_HOME\security\trusted.publishers'
sun.java.command: 'com.sun.javaws.Main C:\\DOCUME~1\\carlos\\CONFIG~1\\Temp\\javaws2'
deployment.javapi.log.filename: ''
deployment.user.cachedir: 'C:\Documents and Settings\carlos\Configuración local\Datos de programa\Sun\Java\Deployment\cache'
deployment.javaws.cache.update: 'false'
deployment.security.validation.crl: 'false'
java.io.tmpdir: 'C:\DOCUME~1\carlos\CONFIG~1\Temp\'
deployment.version: '6.0'
sun.awt.warmup: 'true'
user.language: 'es'
line.separator: '
'
deployment.system.tray.icon: 'false'
deployment.user.security.policy: 'file:/C:/Documents%20and%20Settings/carlos/Datos%20de%20programa/Sun/Java/Deployment/security/java.policy'
jnlpx.jvm: 'C:\\Archivos de programa\\Java\\jre7\\bin\\javaw.exe'
java.vm.info: 'mixed mode, sharing'
sun.desktop: 'windows'
java.vm.specification.name: 'Java Virtual Machine Specification'
deployment.max.output.files: '5'
deployment.update.mime.types: 'true'
deployment.security.browser.keystore.use: 'true'
deployment.security.jsse.hostmismatch.warning: 'true'
deployment.system.security.cacerts: '$LATEST_JRE_HOME\lib\security\cacerts'
deployment.proxy.type: '3'
deployment.user.security.trusted.jssecerts: '$USER_HOME\security\trusted.jssecerts'
jnlp.versionEnabled: 'true'
deployment.security.password.cache: 'true'
deployment.javaws.shortcut: 'ASK_IF_HINTED'
java.awt.printerjob: 'sun.awt.windows.WPrinterJob'
deployment.security.https.warning.show: 'false'
deployment.javaws.autodownload: 'ALWAYS'
deployment.proxy.bypass.local: 'false'
http.auth.serializeRequests: 'true'
deployment.javaws.logFileName: ''
os.name: 'Windows XP'
java.specification.vendor: 'Oracle Corporation'
deployment.javaws.uninstall.shortcut: 'false'
deployment.system.security.jssecacerts: '$LATEST_JRE_HOME\lib\security\jssecacerts'
deployment.system.security.oldcacerts: '$JRE_HOME\lib\security\cacerts'
java.vm.name: 'Java HotSpot(TM) Client VM'
java.quick.starter: 'false'
deployment.security.askgrantdialog.show: 'true'
sun.awt.enableExtraMouseButtons: 'true'
java.library.path: 'C:\Archivos de programa\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Oracle\JavaFX 2.0 Runtime\bin;C:\Perl\site\bin;C:\Perl\bin;C:\MiKTeX 2.7\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de programa\Archivos comunes\Lenovo;C:\Archivos de programa\Archivos comunes\Roxio Shared\10.0\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\10.0\DLLShared\;C:\Archivos de programa\ThinkPad\ConnectUtilities;C:\Archivos de programa\Lenovo\Client Security Solution;C:\Archivos de programa\ATI Technologies\ATI.ACE\Core-Static;C:\Archivos de programa\Symantec\pcAnywhere\;C:\Archivos de programa\Intel\WiFi\bin\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Archivos de programa\TortoiseSVN\bin;C:\Archivos de prog...
After this, my char disappeared from the map and any movement command produces this:

Code:
A controlled JADE error occurred.
Please see the stack trace for details.

de.adom.jade.world.complexes.locations.maps.MappingError: Non-existent being 'de.adom.jade.beings.PC@GUID:0' on 'de.adom.jade.world.complexes.locations.maps.WorldMap@85b33e' at position (215, 195).
	at de.adom.jade.world.complexes.locations.maps.LocationMap.removeBeing(SourceFile:1031)
	at de.adom.jade.beings.Being.a(SourceFile:2331)
	at de.adom.jade.beings.Being.doMove(SourceFile:2104)
	at de.adom.jade.ui.commands.e.executeImpl(SourceFile:35)
	at de.adom.jade.ui.commands.Command.execute(SourceFile:621)
	at de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:154)
	at de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
	at de.adom.jade.beings.Being.actImpl(SourceFile:831)
	at de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
	at de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
	at de.adom.jade.kernel.GameLoop.run(SourceFile:141)

--- System information: ---

jnlpx.remove: 'false'
file.encoding.pkg: 'sun.io'
java.home: 'C:\Archivos de programa\Java\jre7'
deployment.security.askgrantdialog.notinca: 'true'
deployment.repository.askdownloaddialog.show: 'true'
deployment.system.security.trusted.jssecerts: '$JAVA_HOME\lib\security\trusted.jssecerts'
sun.java2d.d3d: 'false'
deployment.console.startup.mode: 'SHOW'
java.endorsed.dirs: 'C:\Archivos de programa\Java\jre7\lib\endorsed'
deployment.security.sandbox.jnlp.enhanced: 'true'
deployment.system.security.blacklist: '$LATEST_JRE_HOME\lib\security\blacklist'
deployment.javaws.concurrentDownloads: '4'
deployment.security.sandbox.awtwarningwindow: 'true'
sun.os.patch.level: 'Service Pack 3'
java.vendor.url: 'http://java.oracle.com/'
deployment.security.blacklist.check: 'true'
deployment.user.security.trusted.jssecacerts: '$USER_HOME\security\trusted.jssecacerts'
deployment.javaws.home.jnlp.url: 'http://java.sun.com/products/javawebstart'
java.version: '1.7.0_02'
deployment.javapi.trace.filename: ''
deployment.max.output.file.size: '10'
java.vendor.url.bug: 'http://bugreport.sun.com/bugreport/'
deployment.user.security.trusted.cacerts: '$USER_HOME\security\trusted.cacerts'
java.protocol.handler.pkgs: 'com.sun.javaws.net.protocol|com.sun.deploy.net.protocol|com.sun.deploy.net.protocol'
javaplugin.proxy.config.type: 'direct'
deployment.user.tmp: '$USER_HOME\tmp'
user.name: 'carlos'
deployment.user.logdir: '$USER_HOME\log'
sun.io.unicode.encoding: 'UnicodeLittle'
deployment.browser.path: 'C:\Archivos de programa\Internet Explorer\IEXPLORE.EXE'
deployment.cache.max.size: '-1'
sun.jnu.encoding: 'Cp1252'
java.runtime.name: 'Java(TM) SE Runtime Environment'
jnlpx.home: 'C:\\Archivos de programa\\Oracle\\JavaFX 2.0 Runtime\\bin'
deployment.system.security.trusted.publishers: '$LATEST_JRE_HOME\lib\security\trusted.publishers'
java.specification.name: 'Java Platform API Specification'
deployment.security.mixcode: 'ENABLE'
user.timezone: 'Europe/Paris'
deployment.browser.vm.mozilla: 'true'
deployment.security.SSLv3: 'true'
deployment.proxy.override.hosts: ''
user.script: ''
path.separator: ';'
deployment.javaws.installURL: 'http://java.sun.com/products/autodl/j2se'
jnlpx.heapsize: 'NULL,768m'
file.encoding: 'Cp1252'
deployment.user.security.trusted.publishers: '$USER_HOME\security\trusted.publishers'
sun.java.command: 'com.sun.javaws.Main C:\\DOCUME~1\\carlos\\CONFIG~1\\Temp\\javaws2'
deployment.javapi.log.filename: ''
deployment.user.cachedir: 'C:\Documents and Settings\carlos\Configuración local\Datos de programa\Sun\Java\Deployment\cache'
deployment.javaws.cache.update: 'false'
deployment.security.validation.crl: 'false'
java.io.tmpdir: 'C:\DOCUME~1\carlos\CONFIG~1\Temp\'
deployment.version: '6.0'
sun.awt.warmup: 'true'
user.language: 'es'
line.separator: '
'
deployment.system.tray.icon: 'false'
deployment.user.security.policy: 'file:/C:/Documents%20and%20Settings/carlos/Datos%20de%20programa/Sun/Java/Deployment/security/java.policy'
jnlpx.jvm: 'C:\\Archivos de programa\\Java\\jre7\\bin\\javaw.exe'
java.vm.info: 'mixed mode, sharing'
sun.desktop: 'windows'
java.vm.specification.name: 'Java Virtual Machine Specification'
deployment.max.output.files: '5'
deployment.update.mime.types: 'true'
deployment.security.browser.keystore.use: 'true'
deployment.security.jsse.hostmismatch.warning: 'true'
deployment.system.security.cacerts: '$LATEST_JRE_HOME\lib\security\cacerts'
deployment.proxy.type: '3'
deployment.user.security.trusted.jssecerts: '$USER_HOME\security\trusted.jssecerts'
jnlp.versionEnabled: 'true'
deployment.security.password.cache: 'true'
deployment.javaws.shortcut: 'ASK_IF_HINTED'
java.awt.printerjob: 'sun.awt.windows.WPrinterJob'
deployment.security.https.warning.show: 'false'
deployment.javaws.autodownload: 'ALWAYS'
deployment.proxy.bypass.local: 'false'
http.auth.serializeRequests: 'true'
deployment.javaws.logFileName: ''
os.name: 'Windows XP'
java.specification.vendor: 'Oracle Corporation'
deployment.javaws.uninstall.shortcut: 'false'
deployment.system.security.jssecacerts: '$LATEST_JRE_HOME\lib\security\jssecacerts'
deployment.system.security.oldcacerts: '$JRE_HOME\lib\security\cacerts'
java.vm.name: 'Java HotSpot(TM) Client VM'
java.quick.starter: 'false'
deployment.security.askgrantdialog.show: 'true'
sun.awt.enableExtraMouseButtons: 'true'
java.library.path: 'C:\Archivos de programa\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Oracle\JavaFX 2.0 Runtime\bin;C:\Perl\site\bin;C:\Perl\bin;C:\MiKTeX 2.7\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de programa\Archivos comunes\Lenovo;C:\Archivos de programa\Archivos comunes\Roxio Shared\10.0\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\10.0\DLLShared\;C:\Archivos de programa\ThinkPad\ConnectUtilities;C:\Archivos de programa\Lenovo\Client Security Solution;C:\Archivos de programa\ATI Technologies\ATI.ACE\Core-Static;C:\Archivos de programa\Symantec\pcAnywhere\;C:\Archivos de programa\Intel\WiFi\bin\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Archivos de programa\TortoiseSVN\bin;C:\Archivos de programa\MATLAB\R2007b\bin;C:\Archivos de programa\MATLAB\R2007b\bin\win32;C:\FPC\2.4.2\bin\i386-Win32;C:\Archivos de programa\IDM Computer Solutions\UltraEdit\;C:\Archivos de programa\Java\jdk1.6.0_17\bin;C:\Archivos de programa\Objective Caml\bin;;C:\ARCHIV~1\ARCHIV~1\MUVEET~1\030625;"C:\Archivos de programa\Oracle\JavaFX 2.0 Runtime\bin";.'
java.class.version: '51.0'
deployment.control.panel.log: 'false'
deployment.system.security.trusted.clientauthcerts: '$JAVA_HOME\lib\security\trusted.clientcerts'
deployment.trace: 'false'
deployment.security.clientauth.keystore.auto: 'true'
deployment.security.validation.ocsp: 'false'
deployment.javapi.cache.update: 'false'
deployment.browser.vm.iexplorer: 'true'
deployment.cache.jarcompression: '0'
deployment.system.security.trusted.libraries: '$LATEST_JRE_HOME\lib\security\trusted.libraries'
deployment.security.validation.ocsp.publisher: 'false'
deployment.javaws.update.timeout: '1500'
sun.boot.library.path: 'C:\Archivos de programa\Java\jre7\bin'
sun.management.compiler: 'HotSpot Client Compiler'
java.awt.graphicsenv: 'sun.awt.Win32GraphicsEnvironment'
deployment.user.extdir: '$USER_HOME\ext'
user.variant: ''
deployment.system.security.trusted.certs: '$JAVA_HOME\lib\security\trusted.certs'
deployment.system.security.oldjssecacerts: '$JRE_HOME\lib\security\jssecacerts'
deployment.proxy.same: 'false'
deployment.security.authenticator: 'true'
deployment.javaws.traceFileName: ''
deployment.user.security.trusted.clientauthcerts: '$USER_HOME\security\trusted.clientcerts'
java.vm.specification.version: '1.7'
deployment.user.security.blacklist: '$USER_HOME\security\blacklist'
deployment.system.cachedir: 'C:\Documents and Settings\carlos\Configuración local\Datos de programa\Sun\Java\Deployment\SystemCache'
awt.toolkit: 'sun.awt.windows.WToolkit'
sun.cpu.isalist: 'pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86'
java.ext.dirs: 'C:\Archivos de programa\Java\jre7\lib\ext;C:\WINDOWS\Sun\Java\lib\ext'
os.version: '5.1'
deployment.javaws.viewer.bounds: '211,274,1463,823'
user.home: 'C:\Documents and Settings\carlos'
deployment.user.security.trusted.certs: '$USER_HOME\security\trusted.certs'
trustProxy: 'true'
java.vm.vendor: 'Oracle Corporation'
deployment.javafx.mode.enabled: 'true'
deployment.javapi.lifecycle.exception: 'false'
deployment.javaws.install: 'IF_HINT'
user.dir: 'C:\Documents and Settings\carlos'
deployment.cache.enabled: 'true'
sun.cpu.endian: 'little'
jnlpx.splashport: '1854'
deployment.security.notinca.warning: 'true'
deployment.javaws.splash.index: 'C:\Documents and Settings\carlos\Configuración local\Datos de programa\Sun\Java\Deployment\cache\6.0\splash\splash.xml'
jnlpx.vmargs: '-Djnlp.versionEnabled=true -Dsun.java2d.d3d=false'
java.vm.version: '22.0-b10'
deployment.security.trusted.policy: ''
java.class.path: 'C:\\Archivos de programa\\Oracle\\JavaFX 2.0 Runtime\\lib\\deploy.jar'
os.arch: 'x86'
deployment.javapi.stop.timeout: '200'
deployment.mime.types.use.default: 'true'
deployment.security.pretrust.list: 'true'
java.rmi.server.RMIClassLoaderSpi: 'com.sun.jnlp.JNLPRMIClassLoaderSpi'
jnlpx.origFilenameArg: 'C:\\Documents and Settings\\carlos\\Configuración local\\Datos de programa\\Opera\\Opera\\temporary_downloads\\adom-ii.jnlp'
deployment.capture.mime.types: 'false'
javawebstart.version: 'javaws-10.2.1.255'
sun.java.launcher: 'SUN_STANDARD'
deployment.security.TLSv1: 'true'
deployment.insecure.jres: 'PROMPT'
deployment.jpi.mode.new: 'true'
deployment.javaws.muffin.max: '256'
deployment.log: 'false'
https.protocols: 'TLSv1,SSLv3'
java.vm.specification.vendor: 'Oracle Corporation'
file.separator: '\'
java.runtime.version: '1.7.0_02-b13...
I can save the game in this status, but if I restore it remains unplayable.
Issue Details
Issue Number 957
Project ADOM II (formerly known as JADE)
Category Unknown
Status Fixed
Priority Unknown
Affected Version ADOM II 0.2.5
Fixed Version ADOM II 0.2.6
Users able to reproduce bug 3
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




05-05-2012 12:06 PM
The Creator
Damn... this worked at one point :-(

05-05-2012 05:19 PM
Ancient Member
Happened again, this time when I was descending to lvl. 5 of a dungeon.

05-05-2012 05:30 PM
Ancient Member
I think apart from (obviously) fixing the bug, it would be worth it to try to make the game more robust when this kind of bugs are found (since I suppose more could appear in the future when more items and creatures are added).

I suppose the PC disappears because you remove the PC from the current level, then generate a new level, and place the PC inside. You could change it so that if the new level generation throws an exception, the player is re-placed into the original level so we can continue playing after hitting "Continue" in the error dialog. Perhaps you could even do it in such a way that we can try to go down again and re-generate the new level, so that if the bug is not deterministic we may be lucky with the RNG and not get it again.

05-05-2012 09:48 PM
Ancient Member
It seems that it's not only that particular character that produces the error. I got the following variant:

Code:
A controlled JADE error occurred.
Please see the stack trace for details.

de.adom.jade.JadeError: Failed to create 'de.adom.jade.beings.list.Fnuk'.
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:577)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:347)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.createDungeonInhabitant(SourceFile:81)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.a(SourceFile:62)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.populateImpl(SourceFile:47)
	at de.adom.jade.world.complexes.locations.populations.AbstractPopulationCreator.populate(SourceFile:109)
	at de.adom.jade.world.complexes.locations.maps.LocationMap.setPopulationCreator(SourceFile:1729)
	at de.adom.jade.world.complexes.locations.Location.getMap(SourceFile:280)
	at de.adom.jade.world.complexes.locations.LocationManager.transferToTargetMapOrTemporaryBufferAndAdjustPosition(SourceFile:189)
	at de.adom.jade.beings.brains.PCBrain.enterLocation(SourceFile:415)
	at de.adom.jade.beings.Being.enterLocation(SourceFile:2885)
	at de.adom.jade.world.complexes.locations.EntryConnection.isEnteredBy(SourceFile:91)
	at de.adom.jade.beings.Being.doEnterLocation(SourceFile:2770)
	at de.adom.jade.ui.commands.b.executeImpl(SourceFile:53)
	at de.adom.jade.ui.commands.Command.execute(SourceFile:621)
	at de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:154)
	at de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
	at de.adom.jade.beings.Being.actImpl(SourceFile:831)
	at de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
	at de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
	at de.adom.jade.kernel.GameLoop.run(SourceFile:141)
Caused by: de.adom.jade.JadeError: Invalid distribution: [18]
	at de.adom.jade.beings.NPC.addLevelsAs(SourceFile:549)
	at de.adom.jade.beings.list.Fnuk.<init>(SourceFile:81)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:573)
	... 20 more

--- Caused by: ---

de.adom.jade.JadeError: Invalid distribution: [18]
	at de.adom.jade.beings.NPC.addLevelsAs(SourceFile:549)
	at de.adom.jade.beings.list.Fnuk.<init>(SourceFile:81)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:573)
	at de.adom.jade.kernel.RarityBasedFactory.create(SourceFile:347)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.createDungeonInhabitant(SourceFile:81)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.a(SourceFile:62)
	at de.adom.jade.world.complexes.locations.populations.DungeonPopulationCreator.populateImpl(SourceFile:47)
	at de.adom.jade.world.complexes.locations.populations.AbstractPopulationCreator.populate(SourceFile:109)
	at de.adom.jade.world.complexes.locations.maps.LocationMap.setPopulationCreator(SourceFile:1729)
	at de.adom.jade.world.complexes.locations.Location.getMap(SourceFile:280)
	at de.adom.jade.world.complexes.locations.LocationManager.transferToTargetMapOrTemporaryBufferAndAdjustPosition(SourceFile:189)
	at de.adom.jade.beings.brains.PCBrain.enterLocation(SourceFile:415)
	at de.adom.jade.beings.Being.enterLocation(SourceFile:2885)
	at de.adom.jade.world.complexes.locations.EntryConnection.isEnteredBy(SourceFile:91)
	at de.adom.jade.beings.Being.doEnterLocation(SourceFile:2770)
	at de.adom.jade.ui.commands.b.executeImpl(SourceFile:53)
	at de.adom.jade.ui.commands.Command.execute(SourceFile:621)
	at de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:154)
	at de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
	at de.adom.jade.beings.Being.actImpl(SourceFile:831)
	at de.adom.jade.kernel.actors.AbstractActor.act(SourceFile:58)
	at de.adom.jade.kernel.actors.ActorReference.act(SourceFile:60)
	at de.adom.jade.kernel.GameLoop.run(SourceFile:141)

--- System information: ---

jnlpx.remove: 'false'
file.encoding.pkg: 'sun.io'
java.home: 'C:\Archivos de programa\Java\jre7'
deployment.security.askgrantdialog.notinca: 'true'
deployment.repository.askdownloaddialog.show: 'true'
deployment.system.security.trusted.jssecerts: '$JAVA_HOME\lib\security\trusted.jssecerts'
sun.java2d.d3d: 'false'
deployment.console.startup.mode: 'SHOW'
jnlpx.offline: 'true'
java.endorsed.dirs: 'C:\Archivos de programa\Java\jre7\lib\endorsed'
deployment.security.sandbox.jnlp.enhanced: 'true'
deployment.system.security.blacklist: '$LATEST_JRE_HOME\lib\security\blacklist'
deployment.javaws.concurrentDownloads: '4'
deployment.security.sandbox.awtwarningwindow: 'true'
sun.os.patch.level: 'Service Pack 3'
java.vendor.url: 'http://java.oracle.com/'
deployment.security.blacklist.check: 'true'
deployment.user.security.trusted.jssecacerts: '$USER_HOME\security\trusted.jssecacerts'
deployment.javaws.home.jnlp.url: 'http://java.sun.com/products/javawebstart'
java.version: '1.7.0_02'
deployment.javapi.trace.filename: ''
deployment.max.output.file.size: '10'
java.vendor.url.bug: 'http://bugreport.sun.com/bugreport/'
deployment.user.security.trusted.cacerts: '$USER_HOME\security\trusted.cacerts'
java.protocol.handler.pkgs: 'com.sun.javaws.net.protocol|com.sun.deploy.net.protocol|com.sun.deploy.net.protocol'
javaplugin.proxy.config.type: 'direct'
deployment.user.tmp: '$USER_HOME\tmp'
user.name: 'carlos'
deployment.user.logdir: '$USER_HOME\log'
sun.io.unicode.encoding: 'UnicodeLittle'
deployment.browser.path: 'C:\Archivos de programa\Internet Explorer\IEXPLORE.EXE'
deployment.cache.max.size: '-1'
sun.jnu.encoding: 'Cp1252'
java.runtime.name: 'Java(TM) SE Runtime Environment'
jnlpx.home: 'C:\\Archivos de programa\\Java\\jre7\\bin'
deployment.system.security.trusted.publishers: '$LATEST_JRE_HOME\lib\security\trusted.publishers'
java.specification.name: 'Java Platform API Specification'
deployment.security.mixcode: 'ENABLE'
user.timezone: 'Europe/Paris'
deployment.browser.vm.mozilla: 'true'
deployment.security.SSLv3: 'true'
deployment.proxy.override.hosts: ''
user.script: ''
path.separator: ';'
deployment.javaws.installURL: 'http://java.sun.com/products/autodl/j2se'
jnlpx.heapsize: 'NULL,768m'
file.encoding: 'Cp1252'
deployment.user.security.trusted.publishers: '$USER_HOME\security\trusted.publishers'
sun.java.command: 'com.sun.javaws.Main -offline C:\\Documents and Settings\\carlos\\Configuración local\\Datos de programa\\Sun\\Java\\Deployment\\cache\\6.0\\41\\2afcb5a9-23b16a8e'
deployment.javapi.log.filename: ''
deployment.user.cachedir: 'C:\Documents and Settings\carlos\Configuración local\Datos de programa\Sun\Java\Deployment\cache'
deployment.javaws.cache.update: 'false'
deployment.security.validation.crl: 'false'
java.io.tmpdir: 'C:\DOCUME~1\carlos\CONFIG~1\Temp\'
deployment.version: '6.0'
sun.awt.warmup: 'true'
user.language: 'es'
line.separator: '
'
deployment.system.tray.icon: 'false'
deployment.user.security.policy: 'file:/C:/Documents%20and%20Settings/carlos/Datos%20de%20programa/Sun/Java/Deployment/security/java.policy'
jnlpx.jvm: 'C:\\Archivos de programa\\Java\\jre7\\bin\\javaw.exe'
java.vm.info: 'mixed mode'
sun.desktop: 'windows'
java.vm.specification.name: 'Java Virtual Machine Specification'
deployment.max.output.files: '5'
deployment.update.mime.types: 'true'
deployment.security.browser.keystore.use: 'true'
deployment.security.jsse.hostmismatch.warning: 'true'
deployment.system.security.cacerts: '$LATEST_JRE_HOME\lib\security\cacerts'
deployment.proxy.type: '3'
deployment.user.security.trusted.jssecerts: '$USER_HOME\security\trusted.jssecerts'
jnlp.versionEnabled: 'true'
deployment.security.password.cache: 'true'
deployment.javaws.shortcut: 'ASK_IF_HINTED'
java.awt.printerjob: 'sun.awt.windows.WPrinterJob'
deployment.security.https.warning.show: 'false'
deployment.javaws.autodownload: 'ALWAYS'
deployment.proxy.bypass.local: 'false'
http.auth.serializeRequests: 'true'
deployment.javaws.logFileName: ''
os.name: 'Windows XP'
java.specification.vendor: 'Oracle Corporation'
deployment.javaws.uninstall.shortcut: 'false'
deployment.system.security.jssecacerts: '$LATEST_JRE_HOME\lib\security\jssecacerts'
deployment.system.security.oldcacerts: '$JRE_HOME\lib\security\cacerts'
java.vm.name: 'Java HotSpot(TM) Client VM'
java.quick.starter: 'false'
deployment.security.askgrantdialog.show: 'true'
sun.awt.enableExtraMouseButtons: 'true'
java.library.path: 'C:\Archivos de programa\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Archivos de programa\Oracle\JavaFX 2.0 Runtime\bin;C:\Perl\site\bin;C:\Perl\bin;C:\MiKTeX 2.7\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de programa\Archivos comunes\Lenovo;C:\Archivos de programa\Archivos comunes\Roxio Shared\10.0\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\DLLShared\;C:\Archivos de programa\Archivos comunes\Roxio Shared\10.0\DLLShared\;C:\Archivos de programa\ThinkPad\ConnectUtilities;C:\Archivos de programa\Lenovo\Client Security Solution;C:\Archivos de programa\ATI Technologies\ATI.ACE\Core-Static;C:\Archivos de programa\Symantec\pcAnywhere\;C:\Archivos de programa\Intel\WiFi\bin\;C:\WINDOWS\system32\Win...

05-05-2012 10:38 PM
Junior Member
Just got the Fnuk one going down to the 3rd level of Caves of Chaos. Figured I'd let the character starve to death, but that didn't work, I guess starvation isn't fully implemented yet.

05-06-2012 12:27 PM
The Creator
Fixed for ADOM II 0.2.6. 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.)

05-06-2012 12:27 PM
The Creator
And I have noted down to see how I can enhance the robustness of the general implementation. But that's too complex for 0.2.6.

05-06-2012 09:39 PM
Ancient Member
This bugfix is quite important, imho.. I would love to see a release of 0.2.6 now, even if there remain unsolved other issues.

+ Reply