Modify

Opened 18 months ago

Last modified 18 months ago

#23461 new defect

NPE in com.kaart.laneconnectivity.gui.RoadGui.paintLanes

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Plugin Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Click on node with some turn restrictions

What is the expected result?

A pretty intersection drawn that I can edit with a mouse.

What happens instead?

An Ugly Exception.

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

Revision:18940
Build-Date:2024-01-17 12:43:02

Identification: JOSM/1.5 (18940 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 2696 MB / 8176 MB (912 MB allocated, but free)
Java version: 17.0.10+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00) \Display1 1600×900 (scaling 1.00×1.00) \Display2 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18940, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]
Dataset consistency test: No problems found

Plugins:
+ FixAddresses (36126)
+ SimplifyArea (36200)
+ continuosDownload (103)
+ fastdriveway (v1.0.1)
+ gridify (1606242219)
+ imagery_offset_db (36126)
+ intersection (0.0.7)
+ splinex (36126)
+ turnrestrictions (36200)

Tagging presets:
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/US.zip

Map paint styles:
- https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/US.zip
+ https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/TreeCrownDiameter&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MappingAccessibility&zip=1

Last errors/warnings:
- 62913.830 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62913.831 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62913.979 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62914.052 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62914.098 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62914.185 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62914.331 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62914.563 E: com.kaart.laneconnectivity.model.UnexpectedDataException: All ways must be split at the intersection. Check way 1 215 518 900 (no name).
- 62925.476 E: com.kaart.laneconnectivity.model.UnexpectedDataException: The tag "lanes" is missing.
- 66931.685 E: Handled by bug report queue: java.lang.AssertionError



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (24) of main
java.lang.AssertionError
	at com.kaart.laneconnectivity.gui.RoadGui.paintLanes(RoadGui.java:497)
	at com.kaart.laneconnectivity.gui.RoadGui.paint(RoadGui.java:405)
	at com.kaart.laneconnectivity.gui.JunctionPane.paintPassive(JunctionPane.java:459)
	at com.kaart.laneconnectivity.gui.JunctionPane.paintComponent(JunctionPane.java:399)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintChildren(Unknown Source)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 18 months ago

Component: CorePlugin
Summary: Clicking on a node thew an exception with Intersection pluginNPE in com.kaart.laneconnectivity.gui.RoadGui.paintLanes

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.