Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15292 closed defect (worksforme)

IncompatibleClassChangeError: Class data.validation.util.MultipleNameVisitor does not implement the requested interface data.osm.visitor.Visitor

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc: bastiK

Description

While validating some data:

2017-09-11 15:58:51.857 GRAVE: Handled by bug report queue: java.lang.reflect.InvocationTargetException. Causa: java.lang.IncompatibleClassChangeError: Class org.openstreetmap.josm.data.validation.util.MultipleNameVisitor does not implement the requested interface org.openstreetmap.josm.data.osm.visitor.Visitor
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:100)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IncompatibleClassChangeError: Class org.openstreetmap.josm.data.validation.util.MultipleNameVisitor does not implement the requested interface org.openstreetmap.josm.data.osm.visitor.Visitor
	at org.openstreetmap.josm.data.osm.Way.accept(Way.java:214)
	at org.openstreetmap.josm.data.validation.util.MultipleNameVisitor.visit(MultipleNameVisitor.java:53)
	at org.openstreetmap.josm.data.validation.TestError.compareTo(TestError.java:432)
	at org.openstreetmap.josm.data.validation.TestError.compareTo(TestError.java:28)
	at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
	at java.util.ComparableTimSort.sort(ComparableTimSort.java:202)
	at java.util.Arrays.sort(Arrays.java:1312)
	at java.util.Arrays.sort(Arrays.java:1506)
	at java.util.ArrayList.sort(ArrayList.java:1454)
	at java.util.Collections.sort(Collections.java:141)
	at org.openstreetmap.josm.gui.dialogs.validator.ValidatorTreePanel.buildTree(ValidatorTreePanel.java:159)
	at org.openstreetmap.josm.gui.dialogs.validator.ValidatorTreePanel.setErrors(ValidatorTreePanel.java:313)
	at org.openstreetmap.josm.actions.ValidateAction$ValidationTask.lambda$finish$0(ValidateAction.java:145)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDT(GuiHelper.java:200)
	at org.openstreetmap.josm.actions.ValidateAction$ValidationTask.finish(ValidateAction.java:143)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
	at java.awt.Dialog.show(Dialog.java:1084)
	at java.awt.Component.show(Component.java:1671)
	at java.awt.Component.setVisible(Component.java:1623)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doBeginTask$3(PleaseWaitProgressMonitor.java:256)
	at org.openstreetmap.josm.gui.progress.swing.PleaseWaitProgressMonitor.lambda$doInEDT$0(PleaseWaitProgressMonitor.java:114)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	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)

JOSM:

Build-Date:2017-09-11 15:41:28
Revision:12824
Is-Local-Build:true

Identification: JOSM/1.5 (12824 SVN pt_BR) Linux Debian GNU/Linux testing (buster)
Memory Usage: 3337 MB / 6372 MB (1613 MB allocated, but free)
Java version: 1.8.0_144-8u144-b01-1-b01, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u144-b01-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
+ Create_grid_of_ways (32699)
+ FastDraw (33583)
+ ImportImagePlugin (33563)
+ OpeningHoursEditor (33185)
+ PicLayer (33385)
+ RoadSigns (33579)
+ SimplifyArea (33004)
+ apache-commons (33517)
+ buildings_tools (33004)
+ conflation (0.5.5)
+ contourmerge (1030)
+ download_along (32946)
+ editgpx (33004)
+ ejml (32680)
+ geojson (55)
+ geotools (33380)
+ importvec (33564)
+ indoorhelper (33088)
+ jts (32699)
+ log4j (32699)
+ measurement (33088)
+ merge-overlap (33436)
+ opendata (33553)
+ pbf (33568)
+ pdfimport (33579)
+ poly (33570)
+ reverter (33572)
+ scripting (30771)
+ tageditor (33579)
+ todo (30301)
+ turnlanes (33294)
+ turnlanes-tagging (254)
+ turnrestrictions (33537)
+ undelete (33480)
+ utilsplugin2 (33579)

Attachments (0)

Change History (6)

comment:1 by Don-vip, 7 years ago

Cc: bastiK added
Keywords: regression added

Not binary compatible after all

comment:2 by Don-vip, 7 years ago

Summary: IncompatibleClassChangeError: Class org.openstreetmap.josm.data.validation.util.MultipleNameVisitor does not implement the requested interface org.openstreetmap.josm.data.osm.visitor.VisitorIncompatibleClassChangeError: Class data.validation.util.MultipleNameVisitor does not implement the requested interface data.osm.visitor.Visitor

comment:3 by bastiK, 7 years ago

Keywords: regression removed

naoliv, please run ant clean!

comment:4 by naoliv, 7 years ago

Resolution: worksforme
Status: newclosed

I didn't know it was necessary to clean it, sorry.
It's working as expected, thanks!

in reply to:  1 comment:5 by bastiK, 7 years ago

Replying to Don-vip:

Not binary compatible after all

Yes, but no plugin breakage ... (probably jinxed it now)

comment:6 by Don-vip, 7 years ago

Ok :)

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.