Modify ↓
Opened 11 years ago
Closed 10 years ago
#10505 closed defect (needinfo)
NPE in NodeElemStyle initialization while adding Bing imagery
Reported by: | latte_oz | Owned by: | latte_oz |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report | Cc: | bastiK |
Description (last modified by )
What steps will reproduce the problem?
- Cannot get out of the error window
What is the expected result?
- Imagery loads
What happens instead?
- I get the Error window
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-08-31 21:55:55 Last Changed Author: Don-vip Revision: 7480 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-08-31 23:51:24 +0200 (Sun, 31 Aug 2014) Last Changed Rev: 7480 Identification: JOSM/1.5 (7480 en_AU) Windows 8.1 64-Bit Memory Usage: 123 MB / 989 MB (46 MB allocated, but free) Java version: 1.7.0_67, Oracle Corporation, Java HotSpot(TM) Client VM Dataset consistency test: No problems found Plugins: - buildings_tools (30485) - imagery_offset_db (30534) - merge-overlap (30416) - turnrestrictions (30454) - utilsplugin2 (30460) Last errors/warnings: - W: Detected deprecated 'canvas{background-color}' in 'https://github.com/hotosm/HDM-JOSM-style/archive/master.zip' which will be removed shortly. Use 'fill-color' instead. - E: Failed to locate image 'icons/hot_small.png' - W: 'imagery' remote control request must have 'url' parameter - E: java.lang.ExceptionInInitializerError. Cause: java.lang.NullPointerException - E: java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.gui.mappaint.NodeElemStyle java.lang.NoClassDefFoundError: Could not initialize class org.openstreetmap.josm.gui.mappaint.NodeElemStyle at org.openstreetmap.josm.gui.mappaint.RepeatImageElemStyle.create(RepeatImageElemStyle.java:32) at org.openstreetmap.josm.gui.mappaint.ElemStyles.generateStyles(ElemStyles.java:340) at org.openstreetmap.josm.gui.mappaint.ElemStyles.getImpl(ElemStyles.java:173) at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(ElemStyles.java:85) at org.openstreetmap.josm.gui.mappaint.ElemStyles.get(ElemStyles.java:68) at org.openstreetmap.josm.gui.NavigatableComponent$1.evaluate(NavigatableComponent.java:95) at org.openstreetmap.josm.gui.NavigatableComponent$1.evaluate(NavigatableComponent.java:88) at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegmentsImpl(NavigatableComponent.java:850) at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:994) at org.openstreetmap.josm.gui.NavigatableComponent.getNearestNodeOrWay(NavigatableComponent.java:1212) at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:234) at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:223) at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseMoved(SelectAction.java:465) at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source) at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source) at java.awt.Component.processMouseMotionEvent(Unknown Source) at javax.swing.JComponent.processMouseMotionEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (5)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|---|
Summary: | Adding Bing imagery → NPE in NodeElemStyle initialization while adding Bing imagery |
comment:2 by , 11 years ago
Cc: | added |
---|
comment:3 by , 11 years ago
@latte_oz: if you manage to reproduce the error with the Java console enabled, can you please copy-paste the console output? Also, could you please explain better exactly what you did to get this error? I see you work with HOT task manager, what area, with what styles?
comment:4 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:5 by , 10 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
Note:
See TracTickets
for help on using tickets.
something in this piece of code produces (produced?) an NPE but I can't figure where exactly: