Modify

Opened 13 years ago

Closed 13 years ago

#6397 closed defect (fixed)

Plugin turnrestrictions crashing in JOSM r4102+ leading to endless plugin crashed messages

Reported by: rickmastfan67 Owned by: team
Priority: blocker Milestone:
Component: Plugin turnrestrictions Version: latest
Keywords: Cc:

Description

In JOSM r4102 & r4103, the turnrestrictions plugin crashes if there are ANY turn restrictions downloaded on the current layer.

Example, download the following Turn Restriction: 1552440

When you do that, the plugin will crash immediately and keep throwing up an endless amount of crashed messages with almost no way out without manually crashing Java.

The plugin still works with r4097 (released on May 28th). So the change in JOSM that causes this problem happened in the last 24 hours (as of this report).

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-05-30 07:48:07
Last Changed Author: bastiK
Revision: 4103
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-05-30 09:42:08 +0200 (Mon, 30 May 2011)
Last Changed Rev: 4103

Identification: JOSM/1.5 (4103 en)
Memory Usage: 121 MB / 3640 MB (72 MB allocated, but free)
Java version: 1.6.0_25, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: OpeningHoursEditor (26002)
Plugin: RoadSigns (25192)
Plugin: alignways (25199)
Plugin: buildings_tools (25905)
Plugin: download_along (25190)
Plugin: imageryadjust (25199)
Plugin: mapdust (25839)
Plugin: measurement (25199)
Plugin: michigan_left (25190)
Plugin: openstreetbugs (25664)
Plugin: restart (25199)
Plugin: reverter (26047)
Plugin: turnlanes (25908)
Plugin: turnrestrictions (25845)
Plugin: undelete (26073)
Plugin: utilsplugin2 (26049)

java.lang.NoSuchMethodError: org.openstreetmap.josm.gui.DefaultNameFormatter.format(Lorg/openstreetmap/josm/data/osm/Way;)Ljava/lang/String;
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionCellRenderer.renderFrom(TurnRestrictionCellRenderer.java:176)
	at org.openstreetmap.josm.plugins.turnrestrictions.list.TurnRestrictionCellRenderer.getListCellRendererComponent(TurnRestrictionCellRenderer.java:241)
	at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
	at javax.swing.plaf.basic.BasicListUI.getPreferredSize(Unknown Source)
	at javax.swing.JComponent.getPreferredSize(Unknown Source)
	at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
	at java.awt.Container.layout(Unknown Source)
	at java.awt.Container.doLayout(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validate(Unknown Source)
	at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.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 (0)

Change History (1)

comment:1 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

(In [o26079].)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.