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:

Description

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)

Exception:

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(AttenuationRelationshipGuiBean.java:700)
	at org.opensha.sha.gui.beans.AttenuationRelationshipGuiBean.<init>(AttenuationRelationshipGuiBean.java:228)
	at org.opensha.sha.gui.ScenarioShakeMapApp.initIMRGuiBean(ScenarioShakeMapApp.java:466)
	at org.opensha.sha.gui.ScenarioShakeMapApp.init(ScenarioShakeMapApp.java:267)
	at org.opensha.sha.gui.ScenarioShakeMapLocalModeCalcApp.main(ScenarioShakeMapLocalModeCalcApp.java:75)
	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 com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Metadata:
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): http://opensha.org/apps-ScenarioShakeMapLocal

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.