Modify

Opened 7 years ago

Closed 7 years ago

#15090 closed defect (fixed)

Can't use upload selection with all modified ways and nodes + 1 relation

Reported by: Polyglot Owned by: giackserva
Priority: normal Milestone:
Component: Plugin pt_assistant Version:
Keywords: template_report gsoc_pt_assistant Cc:

Description

What steps will reproduce the problem?

  1. Select "1: Líneas Urbanas de Pozuelo"
  2. Use Upload Selection

What is the expected result?

Validation step happens and selected relation gets uploaded

What happens instead?

This exception

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-07-16 20:17:27 +0200 (Sun, 16 Jul 2017)
Build-Date:2017-07-17 01:35:07
Revision:12481
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12481 en) Linux Mint 18.1 Serena
Memory Usage: 1638 MB / 3470 MB (681 MB allocated, but free)
Java version: 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1368x768
Maximum Screen Size: 1368x768
Java package: openjdk-8-jre:amd64-8u131-b11-0ubuntu1.16.04.2
Dataset consistency test: No problems found

Plugins:
+ CustomizePublicTransportStop (0.4)
+ OpenStreetCam (93)
+ OpeningHoursEditor (33185)
+ apache-commons (32994)
+ apache-http (32699)
+ buildings_tools (33004)
+ ejml (32680)
+ geotools (33380)
+ jts (32699)
+ opendata (33438)
+ pt_assistant (33470)
+ public_transport (33166)
+ public_transport_layer (33447)
+ reverter (33088)
+ todo (30200)
+ utilsplugin2 (33328)
+ wikipedia (33288)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1
- <josm.pref>/regional cycling routes.mapcss

Last errors/warnings:
- E: java.io.IOException: The requested URL https://josm.openstreetmap.de/maps was not found
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.io.UploadSelectionDialog$ContinueAction@535e6091
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.io.UploadSelectionDialog$CancelAction@5b262cf0
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction@6779ff2d
- E: Handled by bug report queue: java.lang.NullPointerException


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.plugins.pt_assistant.validation.RouteChecker.performFromToTagsTest(RouteChecker.java:105)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssistantValidatorTest.proceedWithSorting(PTAssistantValidatorTest.java:358)
	at org.openstreetmap.josm.plugins.pt_assistant.validation.PTAssistantValidatorTest.visit(PTAssistantValidatorTest.java:156)
	at org.openstreetmap.josm.data.osm.Relation.accept(Relation.java:180)
	at org.openstreetmap.josm.data.validation.Test.visit(Test.java:208)
	at org.openstreetmap.josm.actions.upload.ValidateUploadHook.checkUpload(ValidateUploadHook.java:62)
	at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(UploadAction.java:207)
	at org.openstreetmap.josm.actions.UploadAction.uploadData(UploadAction.java:231)
	at org.openstreetmap.josm.actions.UploadSelectionAction.processPostParentChecker(UploadSelectionAction.java:171)
	at org.openstreetmap.josm.actions.UploadSelectionAction.uploadPrimitives(UploadSelectionAction.java:164)
	at org.openstreetmap.josm.actions.UploadSelectionAction.actionPerformed(UploadSelectionAction.java:125)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	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)

Attachments (1)

PT Madrid.osm.tar.gz (5.2 MB ) - added by Polyglot 7 years ago.
modified public transport relations around Madrid

Change History (2)

by Polyglot, 7 years ago

Attachment: PT Madrid.osm.tar.gz added

modified public transport relations around Madrid

comment:1 by giackserva, 7 years ago

Keywords: gsoc_pt_assistant added
Resolution: fixed
Status: assignedclosed

[o33484]

Modify Ticket

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