Modify

Opened 15 years ago

Closed 15 years ago

#5980 closed defect (fixed)

JOSM crashed during loading a bigger area from OSM.

Reported by: Atalanttore Owned by: Atalanttore
Priority: major Milestone:
Component: Plugin fixaddresses Version:
Keywords: template_report exception Cc:

Description

What steps will reproduce the problem?

  1. Open josm-latest version 3907
  2. Download a bigger area from OSM

What is the expected result?
That the area gets loaded in JOSM.

What happens instead?
JOSM crashed during loading.

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

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-02-16 02:31:36
Last Changed Author: bastiK
Revision: 3907
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-02-15 22:31:05 +0100 (Tue, 15 Feb 2011)
Last Changed Rev: 3907

Identification: JOSM/1.5 (3907 de)
Memory Usage: 102 MB / 592 MB (37 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Operating system: Linux

Plugin: AddrInterpolation (23420)
Plugin: OpeningHoursEditor (24290)
Plugin: RoadSigns (22850)
Plugin: editgpx (23039)
Plugin: openstreetbugs (23747)
Plugin: reverter (24887)
Plugin: terracer (24889)
Plugin: turnrestrictions (24125)
Plugin: undelete (24905)

java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1000)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:88)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.IncompatibleClassChangeError: Expecting non-static method org.openstreetmap.josm.plugins.fixAddresses.FixUnresolvedStreetsAction.getCurrentDataSet()Lorg/openstreetmap/josm/data/osm/DataSet;
	at org.openstreetmap.josm.plugins.fixAddresses.FixUnresolvedStreetsAction.updateEnabledState(FixUnresolvedStreetsAction.java:74)
	at org.openstreetmap.josm.actions.JosmAction$LayerChangeAdapter.layerAdded(JosmAction.java:201)
	at org.openstreetmap.josm.gui.MapView.fireLayerAdded(MapView.java:146)
	at org.openstreetmap.josm.gui.MapView.addLayer(MapView.java:281)
	at org.openstreetmap.josm.Main.addLayer(Main.java:253)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.finish(DownloadOsmTask.java:157)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:90)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
	at java.awt.Dialog$1.run(Dialog.java:1072)
	at java.awt.Dialog$3.run(Dialog.java:1126)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Dialog.show(Dialog.java:1124)
	at java.awt.Component.show(Component.java:1468)
	at java.awt.Component.setVisible(Component.java:1420)
	at java.awt.Window.setVisible(Window.java:842)
	at java.awt.Dialog.setVisible(Dialog.java:1011)
	at org.openstreetmap.josm.gui.progress.PleaseWaitProgressMonitor$3.run(PleaseWaitProgressMonitor.java:83)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:13

Attachments (0)

Change History (12)

comment:1 by grossing, 15 years ago

I get the same error with JOSM 3907 when loading a bigger area.
After loading all loaded objects are drawn gray and nothing can be selected. After some scrolling this effect has gone.

Last edited 15 years ago by grossing (previous) (diff)

comment:2 by ch70, 15 years ago

Keywords: exception added
Priority: normalmajor

Same here using JOSM 3912.

Any workaround? JOSM is not useable at the moment.

in reply to:  2 comment:3 by grossing, 15 years ago

Replying to ch70:

Same here using JOSM 3912.

This i can't confirm. I got this problem only with 3907.

Any workaround? JOSM is not useable at the moment.

Nothing except take an older version.

comment:4 by bastiK, 15 years ago

Has nothing to do with JOSM, in the original report fixAddresses Plugin crashed. Wasn't there a message box reporting this, and offering to deactivate fixAdresses?

comment:5 by ch70, 15 years ago

Indeed, there was this message box. JOSM works if the fixAddresses plugin is left disabled.

comment:6 by bastiK, 15 years ago

Resolution: invalid
Status: newclosed

comment:7 by rickmastfan67, 15 years ago

Guys, I just noticed that Atalanttore didn't even have the latest version of AddrInterpolation. He has v23420, while the latest is v25199.

Maybe if that plugin was updated, the problem would go away with r3907? Just a thought.

comment:8 by ch70, 15 years ago

Updating the plugin list offers 25192 as the latest version of FixAddresses. I activated the plugin and restarted JOSM. Again a message box popps up asking to deactivate the plugin. Whether you deactivate or keep the plugin active doesn't change anything, JOSM will crash as soon as you start to download an area from the OSM server.

I'm wondering if the ticket shouldn't be kept open and the component entry should be changed to 'plugin' instead (FixAddress is not listed in the list of plugins).

comment:9 by stoecker, 15 years ago

Resolution: invalid
Status: closedreopened

Please update all plugins again and paste the error message again if still happening.

comment:10 by stoecker, 15 years ago

Owner: changed from team to Atalanttore
Status: reopenedneedinfo

comment:11 by ch70, 15 years ago

Component: CorePlugin fixaddresses

Ok, here we go:

  • started JOSM 3912, FixAddresses is deactivated (I deactivated the plugin in a previous session)
  • updated the list of available plugins => got popup that no updates are available, FixAddresses version is 25192 on the list
  • activated FixAdresses plugin
  • got the message that FixAddresses version 25374(!) has been downloaded and installed
  • restarted JOSM => no popup message
  • checking the plugin list: FixAddresses version 25374 active
  • downloading an area from the OSM server works

comment:12 by stoecker, 15 years ago

Resolution: fixed
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Atalanttore.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.