java.lang.ExceptionInInitializerError on runtime in eclipse
What steps will reproduce the problem?
- Start Eclipse Neon in new workspace
- Checkout svn/trunk
- Run project (jre1.8.0_102)
What is the expected result?
What happens instead?
Identification: JOSM/1.5 (UNKNOWN en) Windows 8.1 64-Bit
Memory Usage: 215 MB / 3628 MB (206 MB allocated, but free)
Java version: 1.8.0_102-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Duser.language=en, -Duser.country=US, -Dfile.encoding=UTF-8]
Program arguments: [--debug]
Plugins:
- turnrestrictions
Last errors/warnings:
- W: The revision file '/REVISION' is missing.
- E: java.lang.ExceptionInInitializerError. Cause: java.lang.RuntimeException: java.io.IOException: Failed to open input stream for resource 'resource://data/projection/custom-epsg'. Cause: java.io.IOException: Failed to open input stream for resource 'resource://data/projection/custom-epsg'
java.lang.ExceptionInInitializerError
at org.openstreetmap.josm.gui.preferences.projection.AbstractProjectionChoice.getProjection(AbstractProjectionChoice.java:62)
at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.setProjection(ProjectionPreference.java:436)
at org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference.setProjection(ProjectionPreference.java:415)
at org.openstreetmap.josm.Main.preConstructorInit(Main.java:1006)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:465)
Caused by: java.lang.RuntimeException: java.io.IOException: Failed to open input stream for resource 'resource://data/projection/custom-epsg'
at org.openstreetmap.josm.data.projection.Projections.<clinit>(Projections.java:152)
... 5 more
Caused by: java.io.IOException: Failed to open input stream for resource 'resource://data/projection/custom-epsg'
at org.openstreetmap.josm.io.CachedFile.getInputStream(CachedFile.java:212)
at org.openstreetmap.josm.data.projection.Projections.loadProjectionDefinitions(Projections.java:274)
at org.openstreetmap.josm.data.projection.Projections.<clinit>(Projections.java:150)
... 5 more
Change History
(2)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Resolution: |
fixed → duplicate
|
duplicate of #13180