Opened 11 years ago

Closed 10 years ago

#442 closed defect (fixed)

Bug in ScenarioShakeMapLocal

Reported by: anonymous Owned by:
Priority: major Milestone: OpenSHA 1.3
Component: sha Version: 1.2.3
Keywords: ScenarioShakeMapLocal Cc:

Description

Steps to reproduce: (PLEASE FILL IN)

Other info: (PLEASE FILL IN)

Application: ScenarioShakeMapLocal?
Version: 1.2.3
Bulid Type: Production
Java Version: 1.6.0_18 (Sun Microsystems Inc.)
Operating System: Windows 7 (arch: x86, version: 6.1)

Exception:

java.lang.ClassCastException: org.opensha.sha.magdist.IncrementalMagFreqDist cannot be cast to org.opensha.sha.magdist.GutenbergRichterMagFreqDist
	at org.opensha.sha.earthquake.rupForecastImpl.PEER_TestCases.PEER_MultiSourceForecast.updateForecast(PEER_MultiSourceForecast.java:250)
	at org.opensha.sha.gui.beans.ERF_GuiBean.getSelectedERF(ERF_GuiBean.java:359)
	at org.opensha.sha.gui.beans.EqkRuptureFromERFSelectorPanel$5.run(EqkRuptureFromERFSelectorPanel.java:693)
	at java.lang.Thread.run(Unknown Source)

Change History (1)

comment:1 Changed 10 years ago by Kevin Milner

Milestone: OpenSHA 1.3
Resolution: fixed
Status: newclosed

Fixed in [10499], class cast wasn't needed so easy fix

Note: See TracTickets for help on using tickets.