Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14004 closed defect (fixed)

JOSM preferences crash with Win X64

Reported by: miluethi Owned by: miluethi
Priority: normal Milestone: 16.12
Component: Core imagery Version: tested
Keywords: template_report, preferences Cc: miluethi

Description

What steps will reproduce the problem?

  1. Start JOSM (version 11223)
  2. Try to open preferences (menu ->Edit -> Preferences
  3. CRASH

What is the expected result?

Open Preference menu

What happens instead?

BUG

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-11-06 20:18:38 +0100 (Sun, 06 Nov 2016)
Build-Date:2016-11-06 21:45:03
Revision:11223
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11223 en) Windows 10 64-Bit
Memory Usage: 751 MB / 7111 MB (588 MB allocated, but free)
Java version: 1.8.0_101-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 3840x2160, \Display1 1920x1080
Maximum Screen Size: 3840x2160

Plugins:
+ CustomizePublicTransportStop (0.3)
+ DxfImport (1008)
+ FixAddresses (32796)
+ HouseNumberTaggingTool (32699)
+ Mapillary (v1.3.1)
+ RoadSigns (32796)
+ ShapeTools (1220)
+ apache-commons (32699)
+ apache-http (32699)
+ continuosDownload (53)
+ editgpx (32699)
+ ejml (32680)
+ geojson (43)
+ geotools (33042)
+ globalsat (32796)
+ gson (32680)
+ jts (32699)
+ log4j (32699)
+ opendata (33051)
+ photo_geotagging (32699)
+ public_transport (32796)
+ public_transport_layer (32817)
+ routing (32796)
+ utilsplugin2 (32815)
+ waypoint_search (32699)
+ wikipedia (33017)

Last errors/warnings:
- E: Cannot load library rxtxSerial. If you need support to install it try Globalsat homepage at http://www.raphael-mack.de/josm-globalsat-gpx-import-plugin/
- E: Handled by bug report queue: java.lang.IllegalArgumentException: (minimum <= value <= maximum) is false


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (21) of main
java.lang.IllegalArgumentException: (minimum <= value <= maximum) is false
	at javax.swing.SpinnerNumberModel.<init>(Unknown Source)
	at javax.swing.SpinnerNumberModel.<init>(Unknown Source)
	at org.openstreetmap.josm.gui.preferences.imagery.WMSSettingsPanel.<init>(WMSSettingsPanel.java:45)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.<init>(ImageryPreference.java:82)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.<init>(ImageryPreference.java:76)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference$Factory.createPreferenceSetting(ImageryPreference.java:91)
	at org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane.buildGui(PreferenceTabbedPane.java:445)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.build(PreferenceDialog.java:73)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.<init>(PreferenceDialog.java:45)
	at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:106)
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:101)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$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 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.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (1)

Screenshot_JOSM_Preferences_Bug.png (122.4 KB) - added by miluethi 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by miluethi

comment:1 Changed 3 years ago by michael2402

Resolution: fixed
Status: newclosed

In 11287/josm:

Fix #14004: Check range of thread count and image size.

comment:2 Changed 3 years ago by michael2402

Component: CoreCore imagery
Milestone: 16.11

comment:3 Changed 3 years ago by Don-vip

Milestone: 16.1116.12

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain miluethi.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.