Opened 10 years ago

Closed 10 years ago

#445 closed defect (worksforme)

Bug in HazardSpectrumLocal

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

Description

Steps to reproduce:
Ran Haz Spectrum with site data and ERF. Run Ok. Viewed plot, then viewed data. OK. Changed ERF only, then ran again. Crashed.

Other info: (None)

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

Exception:

java.lang.IllegalArgumentException: Comparison method violates its general contract!
	at java.util.TimSort.mergeLo(Unknown Source)
	at java.util.TimSort.mergeAt(Unknown Source)
	at java.util.TimSort.mergeCollapse(Unknown Source)
	at java.util.TimSort.sort(Unknown Source)
	at java.util.TimSort.sort(Unknown Source)
	at java.util.Arrays.sort(Unknown Source)
	at java.util.Collections.sort(Unknown Source)
	at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(Unknown Source)
	at javax.swing.SortingFocusTraversalPolicy.getFocusTraversalCycle(Unknown Source)
	at javax.swing.SortingFocusTraversalPolicy.getComponentAfter(Unknown Source)
	at javax.swing.LayoutFocusTraversalPolicy.getComponentAfter(Unknown Source)
	at java.awt.Component.getNextFocusCandidate(Unknown Source)
	at java.awt.Component.transferFocus(Unknown Source)
	at java.awt.Container.removeNotify(Unknown Source)
	at javax.swing.JComponent.removeNotify(Unknown Source)
	at java.awt.Container.remove(Unknown Source)
	at java.awt.Container.remove(Unknown Source)
	at org.opensha.sha.gui.beans.ERF_GuiBean.setParamsInForecast(ERF_GuiBean.java:218)
	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:387)
	at org.opensha.commons.pa

Change History (1)

comment:1 Changed 10 years ago by Kevin Milner

Resolution: worksforme
Status: newclosed

Wasn't able to reproduce, if you are able to reproduce it please re-report with detailed steps. Thanks!

Note: See TracTickets for help on using tickets.