Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#335 closed defect (fixed)

NPE in Deterministic Calcs for Server Mode Applications

Reported by: anonymous Owned by: Peter Powers
Priority: major Milestone:
Component: sha Version: 1.2.2
Keywords: HazardSpectrumServer Cc:

Description

Steps to reproduce: (PLEASE FILL IN)

Other info: (PLEASE FILL IN)

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

Exception:

java.lang.NullPointerException
	at org.opensha.sha.gui.HazardSpectrumServerModeApplication.createCalcInstance(HazardSpectrumServerModeApplication.java:159)
	at org.opensha.sha.gui.HazardCurveServerModeApplication.probDeterSelectionChange(HazardCurveServerModeApplication.java:1810)
	at org.opensha.sha.gui.HazardCurveServerModeApplication.actionPerformed(HazardCurveServerModeApplication.java:725)
	at javax.swing.JComboBox.fireActionEvent(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.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Contain

Change History (3)

comment:1 Changed 13 years ago by anonymous

The application did not run for the deterministic analysis.

comment:2 Changed 13 years ago by Kevin Milner

Resolution: fixed
Status: newclosed
Summary: Bug in HazardSpectrumServerNPE in Deterministic Calcs for Server Mode Applications

This affects the Hazard Curve Calculator (Remote) as well...doesn't affect local applications. I suggest that you use the Hazard Spectrum Calculator (Local) for now unless there's a reason to use the remote version.

I've fixed the bug in revision [8135], but I think I'll wait to update the applications & increment to 1.2.3 until there is a more substantial problem found.

comment:3 Changed 13 years ago by Kevin Milner

This fix has been released in OpenSHA 1.2.3. Release notes

Note: See TracTickets for help on using tickets.