Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13181 closed defect (duplicate)

java.lang.ExceptionInInitializerError on runtime in eclipse

Reported by: EugeneZenkevich Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Start Eclipse Neon in new workspace
  2. Checkout svn/trunk
  3. Run project (jre1.8.0_102)

What is the expected result?

What happens instead?

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

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

Attachments (0)

Change History (2)

comment:1 by EugeneZenkevich, 8 years ago

Resolution: fixed
Status: newclosed

comment:2 by Don-vip, 8 years ago

Resolution: fixedduplicate

duplicate of #13180

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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