INFO: Selection value changed
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException
at mil.msco.feat.jaxb.generated.PrecipitationEnumeration.fromValue(PrecipitationEnumeration.java:64)
at org.siso.feat.forms.LocationsForm$32.run(LocationsForm.java:1283)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
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)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fix committed with revision 627.
INFO: Selection value changed
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException
at mil.msco.feat.jaxb.generated.PrecipitationEnumeration.fromValue(PrecipitationEnumeration.java:64)
at org.siso.feat.forms.LocationsForm$32.run(LocationsForm.java:1283)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
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)
The error isn't in the Windspeed value any more. The bug above is related to null values in the combo boxes. Working on a fix now.
Fix committed with revision 638.
The scale is now populated in the scroll box, but Temp Scale defaults to Fahrenheit when it's not selected.
This behavior is consistent with the schema, which has two attributes with default values if the user provides no input:
"tempScale" has a default value of "Fahrenheit"
"maxPrecipitation" has a default value of "none"