Modify ↓
Opened 6 years ago
Closed 6 years ago
#18194 closed defect (fixed)
ClassCastException: "Way cannot be cast to Node" at SortPTRouteMembersAction.sortPTRouteMembers
| Reported by: | anonymous | Owned by: | Biswesh |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin pt_assistant | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Select a route
- Select the reorder option
- Error
What happens instead?
I'cant run reorder route in JOSM
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: 2019-09-29 23:59:43 +0200 (Sun, 29 Sep 2019) Build-Date:2019-09-29 22:01:37 Revision:15390 Relative:URL: ^/trunk Identification: JOSM/1.5 (15390 es) Linux Deepin 15.11 Memory Usage: 644 MB / 2624 MB (280 MB allocated, but free) Java version: 1.8.0_222-8u222-b10-1~deb9u1-b10, Oracle Corporation, OpenJDK 64-Bit Server VM Screen: :0.0 1360x768 Maximum Screen Size: 1360x768 Java package: openjdk-8-jre:amd64-8u222-b10-1~deb9u1 libcommons-logging-java: libcommons-logging-java:all-1.2-1 fonts-noto: fonts-noto:all-20161116-1 VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true] Dataset consistency test: No problems found Plugins: + pt_assistant (34678) + undelete (34977) Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1 Last errors/warnings: - W: Versión principal del componente inválida '0.1.0' en el componente microdata_scraping - W: No configuration settings found. Using hardcoded default values for all pools. - W: Region [WMS_BLOCK_v2] Resetting cache - W: Region [WMTS_BLOCK_v2] Resetting cache - W: Versión principal del componente inválida '0.1.0' en el componente microdata_scraping - W: Versión principal del componente inválida '0.1.0' en el componente microdata_scraping - E: Handled by bug report queue: java.lang.ClassCastException: org.openstreetmap.josm.data.osm.Way cannot be cast to org.openstreetmap.josm.data.osm.Node === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-1 (17) of main java.lang.ClassCastException: org.openstreetmap.josm.data.osm.Way cannot be cast to org.openstreetmap.josm.data.osm.Node at org.openstreetmap.josm.data.osm.RelationMember.getNode(RelationMember.java:70) at org.openstreetmap.josm.plugins.pt_assistant.actions.SortPTRouteMembersAction.sortPTRouteMembers(SortPTRouteMembersAction.java:423) at org.openstreetmap.josm.plugins.pt_assistant.actions.SortPTRouteMembersAction.continueAfterDownload(SortPTRouteMembersAction.java:153) at org.openstreetmap.josm.plugins.pt_assistant.actions.SortPTRouteMembersAction.actionPerformed(SortPTRouteMembersAction.java:124) 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 org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700) 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 (7)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
| Component: | Core → Plugin pt_assistant |
|---|---|
| Owner: | changed from to |
comment:3 by , 6 years ago
| Summary: | I'cant run reorder route in JOSM → ClassCastException: "Way cannot be cast to Node" at pt_assistant.actions.SortPTRouteMembersAction.sortPTRouteMembers |
|---|
comment:4 by , 6 years ago
| Summary: | ClassCastException: "Way cannot be cast to Node" at pt_assistant.actions.SortPTRouteMembersAction.sortPTRouteMembers → ClassCastException: "Way cannot be cast to Node" at SortPTRouteMembersAction.sortPTRouteMembers |
|---|
comment:7 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Reorder or Sort Route Members option from PT Assitant plugin (bus icon).