Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12847 closed defect (fixed)

ExceptionInInitializerError in ElemStyles.generateStyles - NPE in NodeElement.createIcon

Reported by: anonymous Owned by: team
Priority: blocker Milestone: 16.05
Component: Core Version:
Keywords: template_report regression Cc:


What steps will reproduce the problem?

  1. Start build 8132

What is the expected result?

What happens instead?

Unexpected Exception

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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-05-17 02:32:56 +0200 (Tue, 17 May 2016)
Build-Date:2016-05-17 01:32:14
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10238 en) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 274 MB / 683 MB (178 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Program arguments: [--offline=all]
Dataset consistency test: No problems found

- geotools (31000)
- jts (31002)
- log4j (30892)
- print (30892)
- proj4j (30892)

Last errors/warnings:
- W: JOSM is running in offline mode. This resource will not be available: ALL
- W: Unable to access '': JOSM website not available (offline mode)
- E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin measurement. Cause: java.lang.NoClassDefFoundError: org/openstreetmap/josm/gui/NavigatableComponent$SoMChangeListener. Cause: java.lang.ClassNotFoundException: org.openstreetmap.josm.gui.NavigatableComponent$SoMChangeListener
- W: Disable plugin - Could not load plugin measurement. Delete from preferences?
- E: java.lang.ExceptionInInitializerError. Cause: java.lang.NullPointerException

	at org.openstreetmap.josm.gui.mappaint.ElemStyles.generateStyles(
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.getImpl(
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.get(
	at org.openstreetmap.josm.gui.NavigatableComponent$1.evaluate(
	at org.openstreetmap.josm.gui.NavigatableComponent$1.evaluate(
	at org.openstreetmap.josm.gui.NavigatableComponent.getNearestNodesImpl(
	at org.openstreetmap.josm.gui.NavigatableComponent.getNearestNode(
	at org.openstreetmap.josm.gui.NavigatableComponent.getNearestNodeOrWay(
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseMoved(
	at java.awt.AWTEventMulticaster.mouseMoved(
	at java.awt.AWTEventMulticaster.mouseMoved(
	at java.awt.Component.processMouseMotionEvent(
	at javax.swing.JComponent.processMouseMotionEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$500(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Caused by: java.lang.NullPointerException
	at org.openstreetmap.josm.gui.mappaint.styleelement.NodeElement.createIcon(
	at org.openstreetmap.josm.gui.mappaint.styleelement.NodeElement.create(
	at org.openstreetmap.josm.gui.mappaint.styleelement.NodeElement.<clinit>(
	... 46 more

Attachments (0)

Change History (7)

comment:1 Changed 8 years ago by Don-vip

Ticket #12848 has been marked as a duplicate of this ticket.

comment:2 Changed 8 years ago by Don-vip

Ticket #12849 has been marked as a duplicate of this ticket.

comment:3 Changed 8 years ago by Don-vip

Ticket #12850 has been marked as a duplicate of this ticket.

comment:4 Changed 8 years ago by Don-vip

Keywords: regression added
Milestone: 16.05
Priority: normalblocker
Summary: Repeated "Unexpected Exception" in build 8132ExceptionInInitializerError in ElemStyles.generateStyles - NPE in NodeElement.createIcon

comment:5 Changed 8 years ago by Don-vip

Ticket #12846 has been marked as a duplicate of this ticket.

comment:6 Changed 8 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10240/josm:

fix #12847 - NPE - regression of r10238

comment:7 Changed 8 years ago by Don-vip

Ticket #12852 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.