Modify

Opened 16 years ago

Closed 16 years ago

#2658 closed defect (worksforme)

josm crashes once data is collected, just before opening the editing window

Reported by: francois@… Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: Cc: Gubaer

Description

When I want to grab the data for that area,

http://www.openstreetmap.org/?lat=46.9665&lon=-2.2228&zoom=12&layers=0B00FFF

I file attach the data collected from osm

This is the crash I get with the latest svn code :
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 10.0-b23 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 1621 SVN
Main-Date: 2009-05-25T15:08:44.912762ZJava version: 1.6.0_07
Plugins: cadastre-fr;editgpx;livegps;multipoly;osmarender;plastic_laf;tageditor;terracer;usertools;utilsplugin;validator;wmsplugin
Plugin plastic_laf Version: 14016
Plugin editgpx Version: 15186
Plugin livegps Version: 14120
Plugin multipoly Version: ${version.entry.commit.revision}
Plugin osmarender Version: 14406
Plugin tageditor Version: 14839
Plugin terracer Version: 15127
Plugin usertools Version: 14125
Plugin utilsplugin Version: 15127
Plugin validator Version: 15127
Plugin wmsplugin Version: 15091
Plugin cadastre-fr Version: 14121

java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.Way.isClosed()Ljava/lang/Boolean;

at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.drawMultipolygon(MapPaintVisitor.java:848)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visit(MapPaintVisitor.java:501)
at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:31)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:1290)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:210)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:275)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Francois

Attachments (0)

Change History (6)

comment:1 by Gubaer, 16 years ago

Cc: Gubaer added

hmm, strange, works for me

comment:2 by anonymous, 16 years ago

Did you download the data I made available ? I have an old svn revision which works fine (5 or 6 days old), so I use it, but it would be better to fix that bug.

comment:3 by Gubaer, 16 years ago

You mean from the link in #2659?

The data collected from osm are available here, (as I can't attach more than 256k) :
http://arvernes.dyndns.org/ file : map.osm

Yes, I did. And from http://www.openstreetmap.org/?lat=46.9665&lon=-2.2228&zoom=12&layers=0B00FFF too.

That's why it seems strange. It still works for me.

comment:4 by stoecker, 16 years ago

This is caused by one of the plugins you have installed and which is obviously outdated. Thought the number of plugins you have makes it hard to find out which one.

comment:5 by anonymous, 16 years ago

Hello,

No, the plugins are not the culprit. This is the error I get with _no_ plugin installed (I disabled all plugins, then restart josm) :

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 10.0-b23 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 1621 SVN
Main-Date: 2009-05-25T15:08:44.912762ZJava version: 1.6.0_07

java.lang.NoSuchMethodError: org.openstreetmap.josm.data.osm.Way.isClosed()Ljava/lang/Boolean;

at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.drawMultipolygon(MapPaintVisitor.java:848)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visit(MapPaintVisitor.java:501)
at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:31)
at org.openstreetmap.josm.data.osm.visitor.MapPaintVisitor.visitAll(MapPaintVisitor.java:1290)
at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:210)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:275)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Francois

comment:6 by stoecker, 16 years ago

Resolution: worksforme
Status: newclosed

"Main-Version: 1621 SVN"

Do an "ant clean" and recompile. This is a broken compilation. Dependency tracking for ant is not 100% secure.

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.