Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4095 closed defect (duplicate)

CastException in UpdateData

Reported by: stoecker Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Load attached dataset
  2. Call "Update data"
Build-Date: 2009-12-05 16:03:52		
Revision: 2574
Is-Local-Build: true

Memory Usage: 80 MB / 493 MB (18 MB allocated, but free)
Java version: 1.6.0_0

Dataset consistency test:
No problems found


Plugins: editgpx,lakewalker,livegps,osmarender,surveyor,tageditor,validator,wmsplugin
Plugin editgpx Version: 18595
Plugin lakewalker Version: 18880
Plugin livegps Version: 18941
Plugin osmarender Version: 18951
Plugin tageditor Version: 18955
Plugin validator Version: 18957
Plugin wmsplugin Version: 18953
Plugin surveyor Version: 18503

java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1000)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:68)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:105)
	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.ClassCastException: org.openstreetmap.josm.data.osm.Way cannot be cast to [Lorg.openstreetmap.josm.data.osm.OsmPrimitive;
	at org.openstreetmap.josm.data.osm.OsmPrimitive.getReferrers(OsmPrimitive.java:895)
	at org.openstreetmap.josm.command.PurgePrimitivesCommand.removeReferecesToPrimitive(PurgePrimitivesCommand.java:137)
	at org.openstreetmap.josm.command.PurgePrimitivesCommand.executeCommand(PurgePrimitivesCommand.java:182)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:40)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:60)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.mergeFrom(OsmDataLayer.java:312)
	at org.openstreetmap.josm.actions.UpdateSelectionAction$UpdatePrimitivesTask.finish(UpdateSelectionAction.java:176)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable$1.run(PleaseWaitRunnable.java:70)
	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:1464)
	at java.awt.Component.setVisible(Component.java:1416)
	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:78)
	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:138)

Attachments (1)

a.osm (171.2 KB ) - added by stoecker 14 years ago.
Testfile

Download all attachments as: .zip

Change History (4)

by stoecker, 14 years ago

Attachment: a.osm added

Testfile

comment:1 by stoecker, 14 years ago

Ticket #4096 has been marked as a duplicate of this ticket.

comment:2 by stoecker, 14 years ago

Resolution: duplicate
Status: newclosed

comment:3 by stoecker, 14 years ago

Closed as duplicate of #4103.

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.