Opened 9 years ago
Last modified 9 years ago
#506 new defect
Bug in HazardCurveLocal
Reported by: | 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_65 (Oracle Corporation)
Operating System: Mac OS X (arch: x86_64, version: 10.10.5)
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(JComboBox.java:1223) at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1271) at javax.swing.JComboBox.contentsChanged(JComboBox.java:1330) at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:118) at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:93) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:576) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:622) at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:852) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6535) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at com.apple.laf.AquaComboBoxPopup$1.processMouseEvent(AquaComboBoxPopup.java:157) at java.awt.Component.processEvent(Component.java:6300) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4891) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2750) at java.awt.Component.dispatchEvent(Component.java:4713) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.IllegalArgumentException: Parameter 'Duration' not supported by this editor at org.opensha.commons.param.editor.AbstractParameterEditor.setParameter(AbstractParameterEditor.java:99) at org.opensha.commons.param.editor.AbstractParameterEditor.<init>(AbstractParameterEditor.java:62) at org.opensha.commons.param.editor.impl.ConstrainedDoubleDiscreteParameterEditor.<init>(ConstrainedDoubleDiscreteParameterEditor.java:85) at org.opensha.commons.param.impl.DoubleDiscreteParameter.getEditor(DoubleDiscreteParameter.java:387) ... 53 more
Note: See
TracTickets for help on using
tickets.
Thanks for providing your e-mail which allows us to follow up. Could you help us to reproduce this problem? What ERF were you using?
Thanks,
Kevin