Modify

Opened 16 years ago

Closed 16 years ago

#2862 closed defect (fixed)

routes plugin needs update

Reported by: devel@… Owned by: jttt
Priority: major Milestone:
Component: Plugin Version: latest
Keywords: exception download Cc:

Description

how to reproduce:

  • run josm
  • open the attached gpx file
  • donwload OSM data for the currently visible area
  • an exception is thrown

how to avoid the exception:

  • increase the visible area before downloading the OSM data

The output of the bug information summary window:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 1741
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 1741
Last Changed Date: 2009-07-06 17:53:10 +0200 (Mon, 06 Jul 2009)


Memory Usage: 20 MB / 254 MB (1 MB allocated, but free)
Java version: 1.5.0_18

Plugins: AgPifoJDirectUploadeditgpxlivegpsopenstreetbugsplastic_lafremotecontrolroutesroutingslippymapsurveyorusertoolsutilspluginvalidatorwmsplugin
Plugin plastic_laf Version: 14016
Plugin AgPifoJ Version: 16315
Plugin DirectUpload Version: 15828
Plugin editgpx Version: 16294
Plugin livegps Version: 16294
Plugin openstreetbugs Version: 16294
Plugin remotecontrol Version: 16290
Plugin routes
Plugin routing Version: 16294
Plugin slippymap Version: 16294
Plugin usertools Version: 14125
Plugin utilsplugin Version: 16162
Plugin validator Version: 16346
Plugin wmsplugin Version: 16351
Plugin surveyor Version: 16290


java.lang.NoSuchFieldError: eastNorth
	at org.openstreetmap.routes_plugin.paint.NarrowLinePainter.drawWay(NarrowLinePainter.java:41)
	at org.openstreetmap.routes_plugin.RouteLayer.paint(RouteLayer.java:117)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:279)
	at javax.swing.JComponent.paintChildren(JComponent.java:843)
	at javax.swing.JComponent.paint(JComponent.java:1015)
	at javax.swing.JComponent.paintChildren(JComponent.java:843)
	at javax.swing.JComponent.paint(JComponent.java:1015)
	at javax.swing.JComponent.paintChildren(JComponent.java:843)
	at javax.swing.JComponent.paint(JComponent.java:1015)
	at javax.swing.JComponent.paintChildren(JComponent.java:843)
	at javax.swing.JComponent.paint(JComponent.java:1015)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintChildren(JComponent.java:843)
	at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4979)
	at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
	at javax.swing.JComponent.paint(JComponent.java:996)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
	at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
	at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
	at java.awt.Container.paint(Container.java:1709)
	at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
	at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:56)
	at sun.awt.RepaintArea.paint(RepaintArea.java:224)
	at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:645)
	at java.awt.Component.dispatchEventImpl(Component.java:4060)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Window.dispatchEventImpl(Window.java:1791)
	at java.awt.Component.dispatchEvent(Component.java:3819)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Attachments (1)

GPSDATA-20090701_2053.gpx.bz2 (51.4 KB ) - added by devel@… 16 years ago.
gpx file to be loaded to trigger the exception

Download all attachments as: .zip

Change History (7)

by devel@…, 16 years ago

gpx file to be loaded to trigger the exception

comment:1 by stoecker, 16 years ago

Resolution: wontfix
Status: newclosed

routes plugin must be updated but there is no author known. Disable it.

comment:2 by anonymous, 16 years ago

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

comment:3 by stoecker, 16 years ago

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

comment:4 by stoecker, 16 years ago

Component: CorePlugin
Resolution: wontfix
Status: closedreopened
Summary: download a map area trows an exception: java.lang.NoSuchFieldError: eastNorthroutes plugin needs update

comment:5 by jttt, 16 years ago

Owner: changed from team to jttt
Status: reopenednew

Actually the plugin is mine. I try to fix it and post to svn over weekend. The plugin can render routes (defined using relations or ways) but currently in render only hiking routes in Czech republic so it's probably useless for most JOSM users.

When finished it should be possible to define custom routes and layers. So for example user can define colors for bus routes in his city which would make it easier to map them.

comment:6 by jttt, 16 years ago

Resolution: fixed
Status: newclosed

Routes plugin should work with current josm now. It has been copied to openstreetmap.org svn repository so such problem should not happen again.

Modify Ticket

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