Opened 9 years ago

Closed 9 years ago

#494 closed defect (duplicate)

Bug in HazardCurveLocal

Reported by: anonymous Owned by:
Priority: major Milestone:
Component: sha Version:
Keywords: HazardCurveLocal Cc:

Description

Steps to reproduce: (PLEASE FILL IN)

Other info: (PLEASE FILL IN)

Application: HazardCurveLocal?
Version: 1.3.1
Bulid Type: Production
Java Version: 1.8.0_31 (Oracle Corporation)
Operating System: Windows 8 (arch: x86, version: 6.2)

Exception:

java.lang.RuntimeException: java.lang.IllegalArgumentException: Parameter 'Duration' not supported by this editor
	at org.opensha.commons.param.impl.DoubleDiscreteParameter.getEditor(DoubleDiscreteParameter.java:389)
	at org.opensha.commons.param.editor.impl.ParameterListEditor.addParameters(ParameterListEditor.java:271)
	at org.opensha.commons.param.editor.impl.ParameterListEditor.setParameterList(ParameterListEditor.java:110)
	at org.opensha.commons.param.editor.impl.ParameterListEditor.<init>(ParameterListEditor.java:103)
	at org.opensha.sha.gui.beans.TimeSpanGuiBean.setTimeSpan(TimeSpanGuiBean.java:92)
	at org.opensha.sha.gui.beans.ERF_GuiBean.createTimeSpanPanel(ERF_GuiBean.java:270)
	at org.opensha.sha.gui.beans.ERF_GuiBean.setParamsInForecast(ERF_GuiBean.java:253)
	at org.opensha.sha.gui.beans.ERF_GuiBean.refreshGUI(ERF_GuiBean.java:519)
	at org.opensha.sha.gui.beans.ERF_GuiBean.parameterChange(ERF_GuiBean.java:514)
	at org.opensha.commons.param.AbstractParameter.firePropertyChange(AbstractParameter.java:386)
	at org.opensha.commons.param.AbstractParameter.setValue(AbstractParameter.java:210)
	at org.opensha.commons.param.editor.AbstractParameterEditor.setValue(AbstractParameterEditor.java:74)
	at org.opensha.commons.param.editor.impl.ConstrainedStringParameterEditor.itemStateChanged(ConstrainedStringParameterEditor.java:99)
	at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
	at javax.swing.JComboBox.selectedItemChanged(Un

Change History (2)

comment:1 Changed 9 years ago by Kevin Milner

This is a real bug but I can't fix it without more information, especially regarding which ERF is being used. If the submitter sees this, please comment with additional info and provide your e-mail address with future submissions.

comment:2 Changed 9 years ago by Kevin Milner

Resolution: duplicate
Status: newclosed

Duplicate of #496 (using that ticket since the submitter provided their e-mail)

Note: See TracTickets for help on using tickets.