Modify ↓
Opened 12 years ago
Closed 12 years ago
#9054 closed defect (invalid)
NullPointerException at RoutingPlugin.addLayer()
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin routing | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Open JOSM
- Add OSM Mapnik Map
- Routing > Add routing layer
What is the expected result?
Getting the routing layer.
What happens instead?
Error asking to keep or desactivate the routing plugin.
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2013-08-07 01:35:24 Last Changed Author: Don-vip Revision: 6115 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2013-08-07 00:04:24 +0200 (Wed, 07 Aug 2013) Last Changed Rev: 6115 Identification: JOSM/1.5 (6115 fr) Linux Debian GNU/Linux 7.1 (wheezy) Memory Usage: 221 MB / 1768 MB (80 MB allocated, but free) Java version: 1.7.0_25, Oracle Corporation, OpenJDK 64-Bit Server VM Java package: openjdk-7-jre:amd64-7u25-2.3.10-1~deb7u1 Plugin: AddrInterpolation (29778) Plugin: Create_grid_of_ways (29771) Plugin: DirectDownload (29776) Plugin: DirectUpload (29097) Plugin: ElevationProfile (29611) Plugin: FixAddresses (29778) Plugin: HouseNumberTaggingTool (29778) Plugin: ImageWayPoint (29799) Plugin: ImageryCache (29769) Plugin: ImportImagePlugin (29805) Plugin: InfoMode (29854) Plugin: OpeningHoursEditor (29778) Plugin: PicLayer (29809) Plugin: RoadSigns (29699) Plugin: SeaMapEditor (29905) Plugin: SimplifyArea (29778) Plugin: TombPlugin (44) Plugin: Tracer (29771) Plugin: alignways (29771) Plugin: buildings_tools (29778) Plugin: cadastre-fr (29097) Plugin: canvec_helper (29811) Plugin: conflation (0.1.6) Plugin: continuosDownload (28565) Plugin: contourmerge (1005) Plugin: dataimport (29435) Plugin: download_along (29778) Plugin: editgpx (29097) Plugin: ext_tools (29435) Plugin: fieldpapers (b49dadd) Plugin: geochat (29851) Plugin: geotools (29767) Plugin: gpsblam (29832) Plugin: gpxfilter (29778) Plugin: imagery-xml-bounds (29710) Plugin: imagery_offset_db (29832) Plugin: imageryadjust (29609) Plugin: importvec (29796) Plugin: jts (29613) Plugin: junctionchecking (29596) Plugin: livegps (29778) Plugin: log4j (29853) Plugin: measurement (29097) Plugin: merge-overlap (29778) Plugin: opendata (29771) Plugin: openvisible (29097) Plugin: osmarender (29639) Plugin: pdfimport (29805) Plugin: photo_geotagging (29435) Plugin: poly (29711) Plugin: proj4j (29435) Plugin: public_transport (29784) Plugin: reltoolbox (29535) Plugin: reverter (29771) Plugin: routes (29435) Plugin: routing (unknown) Plugin: terracer (29771) Plugin: utilsplugin2 (29771) Plugin: waydownloader (29771) Plugin: waypoint_search (29435) Plugin: wayselector (29771) java.lang.NullPointerException at com.innovant.josm.plugin.routing.RoutingPlugin.addLayer(RoutingPlugin.java:177) at com.innovant.josm.plugin.routing.gui.RoutingMenu$1.actionPerformed(RoutingMenu.java:82) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3312) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:2 by , 12 years ago
| Component: | Core → Plugin routing |
|---|
comment:3 by , 12 years ago
| Summary: | Routing plugin → NullPointerException at RoutingPlugin.addLayer() |
|---|
comment:4 by , 12 years ago
| Resolution: | → invalid |
|---|---|
| Status: | needinfo → closed |
I already fixed this long ago:
http://trac.openstreetmap.org/changeset/29586/subversion#file2
Please update your plugin.
Note:
See TracTickets
for help on using tickets.



Replying to anonymous:
This is strange, can you please make sure you're using the last plugin version (29854) ? Thanks.