Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#412 closed defect (fixed)

Bug in HazardSpectrumLocal

Reported by: doug_wahl@… Owned by:
Priority: major Milestone:
Component: sha Version: 1.2.3
Keywords: HazardSpectrumLocal Cc:

Description

Steps to reproduce:

1) Opened program (local version)
2) Selected ERF & Time Span tab
3) Selected UCERF2 ERF Epistemic List for Earthquake Rupture Forecast

Other info:

Application: HazardSpectrumLocal?
Version: 1.2.3
Bulid Type: Production
Java Version: 1.7.0_09 (Oracle Corporation)
Operating System: Windows 7 (arch: x86, version: 6.1)

Exception:

java.lang.NullPointerException: Control Panel 'Epistemic List Control' not found!
	at org.opensha.sha.gui.HazardCurveServerModeApplication.showControlPanel(HazardCurveServerModeApplication.java:2039)
	at org.opensha.sha.gui.HazardSpectrumLocalModeApplication.parameterChange(HazardSpectrumLocalModeApplication.java:418)
	at org.opensha.commons.param.AbstractParameter.firePropertyChange(AbstractParameter.java:387)
	at org.opensha.commons.param.AbstractParameter.setValue(AbstractParameter.java:208)
	at org.opensha.commons.param.editor.AbstractParameterEditor.setValue(AbstractParameterEditor.java:72)
	at org.opensha.commons.param.editor.impl.ConstrainedStringParameterEditor.itemStateChanged(ConstrainedStringParameterEditor.java:99)
	at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
	at javax.swing.JComboBox.selectedItemChanged(Unknown Source)
	at javax.swing.JComboBox.contentsChanged(Unknown Source)
	at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
	at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
	at javax.swing.JComboBox.setSelectedItem(Unknown Source)
	at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
	at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at javax.sw

Change History (2)

comment:1 Changed 11 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

Hi Doug,

Thanks for reporting this. This has been fixed in our developmental version, although it has not yet been released. In the meantime, you can use the nightly builds. Sorry for the inconvenience!

https://opensha.org/apps-HazardSpectrumLocal#nightly

comment:2 Changed 11 years ago by Kevin Milner

Actually it looks as though this has recently been patched in the released version, so you may be able to just use that. Sorry for the confusion!

Note: See TracTickets for help on using tickets.