﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22600	"NPE: Cannot invoke ""org.openstreetmap.josm.data.coor.EastNorth.isValid()"" because ""common"" is null"	anonymous	team	"==== What steps will reproduce the problem?
1. 
2. 
3. 

==== What is the expected result? Upload work after validation

==== What happens instead? runs constantly into a conflict.

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-10-31 17:29:20 +0100 (Mon, 31 Oct 2022)
Revision:18583
Build-Date:2022-11-01 02:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18583 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 2015 LTSB (10240)
Memory Usage: 324 MB / 4082 MB (154 MB allocated, but free)
Java version: 17.0.5+8-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 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_NL
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Dicedtea-web.bin.location=%UserProfile%\AppData\Local\Programs\OpenWebStart\javaws, -Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop]
Dataset consistency test: No problems found

Plugins:
+ BuildingGeneralization (36)
+ EasyPresets (1537621333)
+ FastDraw (35978)
+ ImproveOsm (235)
+ ImproveWay (32)
+ ShapeTools (1250)
+ SimplifyArea (35978)
+ apache-commons (36034)
+ apache-http (35924)
+ auto_tools (81)
+ buildings_tools (36011)
+ changeset-viewer (v0.0.6)
+ conflation (0.6.9)
+ continuosDownload (105)
+ contourmerge (v0.1.9)
+ ejml (35924)
+ flatlaf (36036)
+ geochat (35978)
+ gridify (1606242219)
+ gson (35924)
+ imagery_offset_db (35978)
+ jna (36005)
+ jogl (1.2.3)
+ jts (36004)
+ log4j (36034)
+ mapathoner (1.3.3-dirty)
+ mapwithai (v1.9.20)
+ markseen (14)
+ measurement (35978)
+ merge-overlap (35893)
+ reltoolbox (35976)
+ reverter (36011)
+ splinex (35936)
+ terracer (35978)
+ todo (30306)
+ tofix (490)
+ touchscreenhelper (35893)
+ turnrestrictions (36011)
+ utilsplugin2 (36011)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/HotNepal&zip=1

Map paint styles:
- https://github.com/MissingMaps/josm_styles/archive/master.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1
- https://github.com/MarkCupitt/HOT-Osm-Validation/blob/master/HOT-Validate.mapcss
- https://github.com/hotosm/HDM-JOSM-style/archive/master.zip
- %UserProfile%\Desktop\JOSM\HOT-Osm-Validation-master.zip
- %UserProfile%\Desktop\JOSM\Styles_Fixme_and_Notes.zip
- %UserProfile%\Desktop\JOSM\Styles_Highway_Nodes.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1
+ https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
+ C:\Program Files (x86)\JOSM\Paintstyle\HOT-Validate.mapcss
- C:\Program Files (x86)\JOSM\Paintstyle\JOSM_josm_styles-master.zip
- https://github.com/MissingMaps/josm_styles/archive/master.zip
-  https://gitlab.com/peculiar-theater/mapcss/-/archive/main/mapcss-main.zip?path=osm-meta

Last errors/warnings:
- 00062.620 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.639 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.640 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.643 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.646 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.649 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.671 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.675 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00062.677 E: Exception while applying condition[org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory$Factory$$Lambda$942/0x000000080116b548@3ffd0f7f]:: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.ILatLon.lat()"" because ""other"" is null
- 00063.168 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.EastNorth.isValid()"" because ""common"" is null



=== REPORTED CRASH DATA ===
SharpAngles#visit:
 - way: {Way id=127211175 version=9 MT nodes=[{Node id=10065139789 version=1 V lat=3.0768132,lon=45.8998807}, {Node id=1408570354 version=3  }, {Node id=10065139790 version=3  }, {Node id=10118494019 version=2 V lat=3.0737831,lon=45.9020074}, {Node id=1408570290 version=3  }, {Node id=10118494020 version=2  }, {Node id=10118494021 version=2  }, {Node id=10118494022 version=2  }, {Node id=1408570237 version=3  }, {Node id=10118494023 version=1 V lat=3.0717231,lon=45.906988}, {Node id=10118494024 version=2  }, {Node id=10118494018 version=1 V lat=3.0706695,lon=45.9076474}, {Node id=10118494025 version=3  }, {Node id=10118494002 version=2 V lat=3.0697644,lon=45.9080026}, {Node id=10118486046 version=2 V lat=3.0693198,lon=45.9077915}, {Node id=1408570182 version=2  }, {Node id=10118494003 version=1 V lat=3.069306,lon=45.9080845}, {Node id=1408570165 version=2  }, {Node id=10118494026 version=2 V lat=3.0671492,lon=45.9108062}, {Node id=10118494039 version=2 V lat=3.066912,lon=45.9111454}, {Node id=1408570082 version=2  }, {Node id=10118493738 version=1 V lat=3.0662199,lon=45.9117459}, {Node id=1408570064 version=2  }, {Node id=1408570038 version=2  }, {Node id=1408569937 version=2  }, {Node id=10118493816 version=1 V lat=3.063011,lon=45.9125624}, {Node id=1408569919 version=2  }, {Node id=1408569899 version=2  }, {Node id=1408569849 version=2  }, {Node id=10118493768 version=2 V lat=3.0588072,lon=45.9149155}, {Node id=1408569788 version=3  }, {Node id=1408569752 version=3  }, {Node id=1408569730 version=3  }, {Node id=10118494133 version=2  }, {Node id=10118494134 version=2  }, {Node id=10118493776 version=2 V lat=3.0563141,lon=45.9180383}, {Node id=1408569708 version=2  }, {Node id=10118493781 version=1 V lat=3.0547263,lon=45.9200815}, {Node id=1408569679 version=2  }, {Node id=1408569655 version=2  }, {Node id=1408569654 version=2  }, {Node id=1408569596 version=3  }, {Node id=10118493793 version=1 V lat=3.0503304,lon=45.9249197}, {Node id=10112080607 version=2  }]}

BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (46) of JOSM
java.lang.NullPointerException: Cannot invoke ""org.openstreetmap.josm.data.coor.EastNorth.isValid()"" because ""common"" is null
	at org.openstreetmap.josm.tools.Geometry.getCornerAngle(Geometry.java:908)
	at org.openstreetmap.josm.data.validation.tests.SharpAngles.checkAngle(SharpAngles.java:98)
	at org.openstreetmap.josm.data.validation.tests.SharpAngles.checkWayForSharpAngles(SharpAngles.java:81)
	at org.openstreetmap.josm.data.validation.tests.SharpAngles.visit(SharpAngles.java:51)
	at org.openstreetmap.josm.data.osm.Way.accept(Way.java:180)
	at org.openstreetmap.josm.data.validation.Test.visit(Test.java:216)
	at org.openstreetmap.josm.data.validation.ValidationTask.realRun(ValidationTask.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:94)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:142)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
}}}
"	defect	closed	normal	22.12	Core validator	tested	fixed	template_report sharp angle	
