Opened 13 years ago

Closed 13 years ago

#320 closed defect (fixed)

Bug in ScenarioShakeMapServer

Reported by: paiboon.n@… Owned by: Peter Powers
Priority: major Milestone:
Component: sha Version: 1.2.0
Keywords: ScenarioShakeMapLocal Cc:


Steps to reproduce: (PLEASE FILL IN)

Other info: (PLEASE FILL IN)

Application: ScenarioShakeMapServer?
Version: 1.2.0
Bulid Type: Development
Java Version: 1.6.0_26 (Sun Microsystems Inc.)
Operating System: Windows XP (arch: x86, version: 5.1)


java.lang.ClassCastException: org.opensha.commons.param.constraint.impl.DoubleConstraint cannot be cast to org.opensha.commons.param.constraint.impl.DoubleDiscreteConstraint
	at org.opensha.sha.gui.beans.AttenuationRelationshipGuiBean.init_imtParamListAndEditor(
	at org.opensha.sha.gui.beans.AttenuationRelationshipGuiBean.<init>(
	at org.opensha.sha.gui.ScenarioShakeMapApp.initIMRGuiBean(
	at org.opensha.sha.gui.ScenarioShakeMapApp.init(
	at org.opensha.sha.gui.ScenarioShakeMapLocalModeCalcApp.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at Source)
	at Source)

Exception occured initializing the IMR with default parameters value

Change History (3)

comment:1 Changed 13 years ago by anonymous

Can not update custom earthquake location

comment:2 Changed 13 years ago by Kevin Milner

Thanks for the bug report, I'm looking into it. In the meantime, the stable version on the web site is free from this bug (hit Launch Current Release):

comment:3 Changed 13 years ago by Kevin Milner

Keywords: ScenarioShakeMapLocal added; ScenarioShakeMapServer removed
Resolution: fixed
Status: newclosed

This has been fixed in revision [8055]. The nightly build will happen around midnight tonight, so the bug will still show up in the nightly version (production version works fine) until then. Thanks again for the bug report!

Note: See TracTickets for help on using tickets.