Opened 7 years ago
Closed 6 years ago
#16934 closed defect (fixed)
starting routing helper on newly duplicated route relation
Reported by: | Polyglot | Owned by: | Biswesh |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin pt_assistant | Version: | |
Keywords: | template_report | Cc: | floscher |
Description (last modified by )
What steps will reproduce the problem?
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2018-10-30 00:47:23 +0100 (Tue, 30 Oct 2018) Build-Date:2018-10-30 02:32:55 Revision:14385 Relative:URL: ^/trunk Identification: JOSM/1.5 (14385 en) Linux Mint 18.3 Sylvia Memory Usage: 990 MB / 2711 MB (696 MB allocated, but free) Java version: 1.8.0_181-8u181-b13-0ubuntu0.16.04.1-b13, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1600x900 Maximum Screen Size: 1600x900 Java package: openjdk-8-jre:amd64-8u181-b13-0ubuntu0.16.04.1 Dataset consistency test: No problems found Plugins: + CustomizePublicTransportStop (34501) + Mapillary (v1.5.17) + OpeningHoursEditor (34535) + apache-commons (34506) + apache-http (34632) + buildings_tools (34572) + jna (34633) + pt_assistant (v2.1.7) + public_transport (34548) + public_transport_layer (34549) + scripting (30791) + tag2link (34690) + todo (30306) + utilsplugin2 (34506) + wikipedia (v1.1.1) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/BENELUX&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Trees&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1 Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NumberedCycleNodeNetworks&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1 - ${HOME}/bus_stops_with_direction.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/DigiRoadBusStops&zip=1 Last errors/warnings: - E: Skipping to the next rule, because of an error: - E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 53, column 2. - W: Initializing map style ${HOME}/bus_stops_with_direction.mapcss completed in 8 ms (1 errors, 0 warnings) - E: Skipping to the next rule, because of an error: - E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 53, column 2. - E: Skipping to the next rule, because of an error: - E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " "{" "{ "" at line 53, column 2. - W: Unsaved changes - <html>The relation has been changed.<br><br>Do you want to save your changes?</html> - E: Handled by bug report queue: java.lang.NullPointerException - 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 (16) of main java.lang.NullPointerException at org.openstreetmap.josm.plugins.pt_assistant.actions.MendRelationAction.actionPerformed(MendRelationAction.java:193) 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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) 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:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) 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 (0)
Change History (5)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
It should be fixed in v2.1.8 thanks to Florian, can you please test?
comment:3 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
This issue is not fixed, it's still present in v2.1.8
. Also, the first three menu items from the Public Transport
menu throw NullPointerException
s when starting JOSM and directly clicking them without an OSM data layer. These menu items should be greyed out when there is no data they could operate on.
comment:4 by , 6 years ago
I'm currently working on that part of the code in https://github.com/JOSM/pt_assistant/pull/7 . So I'll close this here, if this problem reappears, open a new ticket.
comment:5 by , 6 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Ticket #16936 has been marked as a duplicate of this ticket.