"Build something out of raw materials" fails, exiting immersive UI
issueid=792 03-18-2012 02:47 AM
Junior Member
Number of reported issues by Nearsighted: 34
"Build something out of raw materials" fails, exiting immersive UI

The "build something out of raw materials" command fails. In doing so it projects an error message and also exits the immersive UI if it is active, though I suspect this is simply a result of the error message itself and not the bug as the issue persists outside of immersive UI. This issue may be significant, as the issue prevents the use of the command altogether. This error has occurred only within local area maps (tested in Terinyo, a wilderness encounter and a dungeon) and will not occur on the world map.
Issue Details
Issue Number 792
Project ADOM II (formerly known as JADE)
Category Gameplay
Status Fixed
Priority Unknown
Affected Version ADOM II 0.2.3 RC3
Fixed Version ADOM II 0.2.3
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




03-18-2012 11:07 AM
The Creator
Can you provide more details (e.g. race, class)? For me this seems to work :-^

03-18-2012 11:31 AM
Junior Member
After doing a bit more digging I have managed to duplicate the issue as a dark elf, hill dwarf, mountain dwarf, orc and human so it seems to be free of racial bias. However, it does seem to be limited to the "tinker" class (or maybe PCs with a bag of the tinker?)

Additionally, the command DOES work as intended in dungeons. I thought I had managed to reproduce the error in-dungeon but I suppose I must have been mistaken as it only seems to work as intended on road and floor tiles. Causes an error on grass, mud, tree, open door and water tiles.

I will post the error dump as an additional reply.

03-18-2012 11:32 AM
Junior Member
And here it is:

An unexpected JADE error occurred.
Please see the stack trace for details.

java.lang.NullPointerException
at de.adom.jade.world.complexes.locations.maps.LocationMap.isMapFeatureAt(SourceFile:3014)
at de.adom.jade.construction.plans.AbstractTileConstructionPlan.isExecutableBy(SourceFile:63)
at de.adom.jade.beings.brains.PCBrain$4.isOptionAvailableFor(SourceFile:1)
at de.adom.jade.ui.ascii.dialogs.panels.OptionSelectionPanel.renderContent(SourceFile:158)
at de.adom.jade.ui.ascii.dialogs.panels.AbstractMonochromeTextContentPanel.renderContent(SourceFile:801 )
at de.adom.jade.ui.ascii.dialogs.panels.AbstractMonochromeTextContentPanel.setController(SourceFile:899 )
at de.adom.jade.ui.ascii.AsciiUserInterface.showModalPanel(SourceFile:3497)
at de.adom.jade.ui.ascii.AsciiUserInterface.chooseOption(SourceFile:3400)
at de.adom.jade.beings.brains.PCBrain.selectConstructionPlan(SourceFile:874)
at de.adom.jade.beings.Being.doBuild(SourceFile:7450)
at de.adom.jade.ui.commands.CommandBuild.executeImpl(SourceFile:46)
at de.adom.jade.ui.commands.Command.execute(SourceFile:546)
at de.adom.jade.beings.brains.PCBrain.doActImpl(SourceFile:152)
at de.adom.jade.beings.brains.AbstractBrain.doAct(SourceFile:400)
at de.adom.jade.beings.Being.actImpl(SourceFile:777)
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:110)

--- System information: ---

jnlpx.remove: 'false'
file.encoding.pkg: 'sun.io'
java.home: 'C:\Program Files\Java\jre6'
deployment.security.askgrantdialog.notinca: 'true'
deployment.repository.askdownloaddialog.show: 'true'
deployment.system.security.trusted.jssecerts: 'C:\\Program Files\\Java\\jre6\\lib\security\trusted.jssecerts'
deployment.console.startup.mode: 'HIDE'
java.endorsed.dirs: 'C:\Program Files\Java\jre6\lib\endorsed'
deployment.security.sandbox.jnlp.enhanced: 'true'
deployment.system.security.blacklist: 'C:\\Program Files\\Java\\jre6\\lib\security\blacklist'
deployment.javaws.concurrentDownloads: '4'
deployment.security.sandbox.awtwarningwindow: 'true'
sun.os.patch.level: 'Service Pack 3'
java.vendor.url: 'http://java.sun.com/'
deployment.security.blacklist.check: 'true'
deployment.user.security.trusted.jssecacerts: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\security\trusted.jssecacerts'
deployment.javaws.home.jnlp.url: 'http://java.sun.com/products/javawebstart'
java.version: '1.6.0_27'
deployment.javapi.trace.filename: ''
deployment.max.output.file.size: '10'
java.vendor.url.bug: 'http://java.sun.com/cgi-bin/bugreport.cgi'
deployment.user.security.trusted.cacerts: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\security\trusted.cacerts'
java.protocol.handler.pkgs: 'com.sun.javaws.net.protocol|com.sun.deploy.net.protocol'
javaplugin.proxy.config.type: 'direct'
deployment.user.tmp: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\tmp'
user.name: 'Owner'
deployment.user.logdir: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\log'
sun.io.unicode.encoding: 'UnicodeLittle'
deployment.browser.path: 'C:\PROGRA~1\MOZILL~1\FIREFOX.EXE'
deployment.cache.max.size: '-1'
sun.jnu.encoding: 'Cp1252'
java.runtime.name: 'Java(TM) SE Runtime Environment'
jnlpx.home: 'C:\\Program Files\\Java\\jre6\\bin'
deployment.system.security.trusted.publishers: 'C:\\Program Files\\Java\\jre6\\lib\security\trusted.publishers'
java.specification.name: 'Java Platform API Specification'
deployment.security.mixcode: 'ENABLE'
user.timezone: 'America/New_York'
deployment.browser.vm.mozilla: 'true'
deployment.security.SSLv3: 'true'
deployment.proxy.override.hosts: ''
path.separator: ';'
deployment.javaws.installURL: 'http://java.sun.com/products/autodl/j2se'
deployment.javaws.ssv.enabled: 'true'
jnlpx.heapsize: 'NULL,768m'
file.encoding: 'Cp1252'
deployment.user.security.trusted.publishers: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\security\trusted.publishers'
sun.java.command: 'com.sun.javaws.Main C:\DOCUME~1\Owner\LOCALS~1\Temp\javaws2'
deployment.javapi.log.filename: ''
deployment.user.cachedir: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\cache'
deployment.javaws.cache.update: 'false'
deployment.security.validation.crl: 'false'
java.io.tmpdir: 'C:\DOCUME~1\Owner\LOCALS~1\Temp\'
deployment.version: '6.0'
sun.awt.warmup: 'true'
user.language: 'en'
line.separator: '
'
deployment.system.tray.icon: 'true'
deployment.user.security.policy: 'file:/C:/Documents%20and%20Settings/Owner/Application%20Data/Sun/Java/Deployment/security/java.policy'
jnlpx.jvm: 'C:\\Program Files\\Java\\jre6\\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: 'C:\\Program Files\\Java\\jre6\\lib\security\cacerts'
deployment.proxy.type: '3'
deployment.user.security.trusted.jssecerts: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\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: 'Sun Microsystems Inc.'
deployment.javaws.uninstall.shortcut: 'false'
deployment.system.security.jssecacerts: 'C:\\Program Files\\Java\\jre6\\lib\security\jssecacerts'
deployment.system.security.oldcacerts: 'C:\Program Files\Java\jre6\lib\security\cacerts'
java.vm.name: 'Java HotSpot(TM) Client VM'
java.quick.starter: 'true'
deployment.security.askgrantdialog.show: 'true'
java.library.path: 'C:\Program Files\Java\jre6\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jre6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Python25\;C:\Program Files\Common Files\Autodesk Shared\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Nmap;"C:\Program Files\Java\jre6\bin";.'
java.class.version: '50.0'
deployment.control.panel.log: 'false'
deployment.system.security.trusted.clientauthcerts: 'C:\\Program Files\\Java\\jre6\\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: 'C:\\Program Files\\Java\\jre6\\lib\security\trusted.libraries'
deployment.security.validation.ocsp.publisher: 'false'
deployment.javaws.update.timeout: '1500'
sun.boot.library.path: 'C:\Program Files\Java\jre6\bin'
sun.management.compiler: 'HotSpot Client Compiler'
java.awt.graphicsenv: 'sun.awt.Win32GraphicsEnvironment'
deployment.user.extdir: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\ext'
user.variant: ''
deployment.system.security.trusted.certs: 'C:\\Program Files\\Java\\jre6\\lib\security\trusted.certs'
deployment.system.security.oldjssecacerts: 'C:\Program Files\Java\jre6\lib\security\jssecacerts'
deployment.proxy.same: 'false'
deployment.security.authenticator: 'true'
deployment.javaws.traceFileName: ''
deployment.user.security.trusted.clientauthcerts: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\security\trusted.clientcerts'
java.vm.specification.version: '1.0'
deployment.user.security.blacklist: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\security\blacklist'
deployment.system.cachedir: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\SystemCache'
awt.toolkit: 'sun.awt.windows.WToolkit'
sun.cpu.isalist: ''
java.ext.dirs: 'C:\Program Files\Java\jre6\lib\ext;C:\WINDOWS\Sun\Java\lib\ext'
os.version: '5.1'
user.home: 'C:\Documents and Settings\Owner'
deployment.user.security.trusted.certs: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\security\trusted.certs'
trustProxy: 'true'
java.vm.vendor: 'Sun Microsystems Inc.'
deployment.javapi.lifecycle.exception: 'false'
user.dir: 'C:\Documents and Settings\Owner\Desktop'
deployment.cache.enabled: 'true'
sun.cpu.endian: 'little'
jnlpx.splashport: '5582'
deployment.security.notinca.warning: 'true'
deployment.javaws.splash.index: 'C:\Documents and Settings\Owner\Application Data\Sun\Java\Deployment\cache\6.0\splash\splash.xml'
jnlpx.vmargs: '-Djnlp.versionEnabled=true'
java.vm.version: '20.2-b06'
deployment.security.trusted.policy: ''
java.class.path: 'C:\\Program Files\\Java\\jre6\\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'
deployment.capture.mime.types: 'false'
jnlpx.origFilenameArg: 'C:\\Documents and Settings\\Owner\\Desktop\\adom-ii(1).jnlp'
javawebstart.version: 'javaws-1.6.0_27'
deployment.security.TLSv1: 'true'
sun.java.launcher: 'SUN_STANDARD'
deployment.jpi.mode.new: 'true'
deployment.javaws.muffin.max: '256'
deployment.log: 'false'
https.protocols: 'TLSv1,SSLv3'
java.vm.specification.vendor: 'Sun Microsystems Inc.'
file.separator: '\'
java.runtime.version: '1.6.0_27-b07'
sun.boot.class.path: 'C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\su...

03-18-2012 11:47 AM
The Creator
Fixed for ADOM II 0.2.3. 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.)

+ Reply