﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18858	data/projection/custom-epsg file is not included in local jar	joerg.schulze@…	Don-vip	"==== What steps will reproduce the problem?
1. Start the Application

==== What is the expected result?
Show MainWindow

==== What happens instead?
MessageBox (Exception) appears

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Revision:16030
Is-Local-Build:true
Build-Date:2020-03-04 13:34:29

Identification: JOSM/1.5 (16030 SVN de) Linux Arch Linux
Memory Usage: 2048 MB / 30688 MB (2005 MB allocated, but free)
Java version: 10.0.2+13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 3840x2160
Maximum Screen Size: 3840x2160
VM arguments: [-Djosm.restart=true]
Program arguments: [--debug]

Last errors/warnings:
- E: Handled by bug report queue: java.lang.ExceptionInInitializerError. Ursache: org.openstreetmap.josm.tools.JosmRuntimeException: java.io.IOException: Das Öffnen eines Eingabestroms für die Resource 'resource://data/projection/custom-epsg' ist fehlgeschlagen.. Ursache: java.io.IOException: Das Öffnen eines Eingabestroms für die Resource 'resource://data/projection/custom-epsg' ist fehlgeschlagen.


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.ExceptionInInitializerError
	at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.registerProjectionChoice(ProjectionPreference.java:262)
	at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.registerProjectionChoice(ProjectionPreference.java:284)
	at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.<clinit>(ProjectionPreference.java:83)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:898)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:276)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:703)
Caused by: org.openstreetmap.josm.tools.JosmRuntimeException: java.io.IOException: Das Öffnen eines Eingabestroms für die Resource 'resource://data/projection/custom-epsg' ist fehlgeschlagen.
	at org.openstreetmap.josm.data.projection.Projections.<clinit>(Projections.java:175)
	... 6 more
Caused by: java.io.IOException: Das Öffnen eines Eingabestroms für die Resource 'resource://data/projection/custom-epsg' ist fehlgeschlagen.
	at org.openstreetmap.josm.io.CachedFile.lambda$getInputStream$0(CachedFile.java:231)
	at java.base/java.util.Optional.orElseThrow(Optional.java:397)
	at org.openstreetmap.josm.io.CachedFile.getInputStream(CachedFile.java:231)
	at org.openstreetmap.josm.io.CachedFile.getContentReader(CachedFile.java:258)
	at org.openstreetmap.josm.data.projection.Projections.loadProjectionDefinitions(Projections.java:301)
	at org.openstreetmap.josm.data.projection.Projections.<clinit>(Projections.java:170)
	... 6 more
}}}
"	defect	closed	critical	20.03	Core	latest	fixed	template_report build regression projection	
