NPE when loading image category from imagery menu
What steps will reproduce the problem?
- trying to open menu "background".
-
-
What is the expected result?
What happens instead?
Build-Date:2019-06-04 07:36:27
Revision:15155
Is-Local-Build:true
Identification: JOSM/1.5 (15155 SVN de) Linux Fedora 30 (Thirty)
Memory Usage: 1432 MB / 3566 MB (1151 MB allocated, but free)
Java version: 1.8.0_212-b04, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 2560x1440, :0.1 1680x1050
Maximum Screen Size: 2560x1440
Java package: java-1.8.0-openjdk:x86_64-1.8.0.212.b04
Dataset consistency test: No problems found
Last errors/warnings:
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<You requested too many nodes (limit is 50000). Either request a smaller area, or use planet.osm>
- E: Fehlerhafte Anfrage - org.openstreetmap.josm.gui.widgets.HtmlPanel[,0,0,0x0,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- E: createImageFromSvg: jar:file:/usr/share/java/josm.jar!/images/presets/sport/billiards.svg java.awt.Dimension[width=-1,height=-1] realWidth=0.0 realHeight=0.0
- E: createImageFromSvg: jar:file:/usr/share/java/josm.jar!/images/presets/shop/lottery.svg java.awt.Dimension[width=-1,height=-1] realWidth=0.0 realHeight=0.0
- E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: Fehler: Das Bild 'osmbasedmap.???' konnte nicht geladen werden. Das ist ein schwerwiegendes Konfigurationsproblem.
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NullPointerException
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-0 (16) of main
java.lang.NullPointerException
at com.kitfox.svg.Text.getBoundingBox(Text.java:490)
at com.kitfox.svg.Group.calcBoundingBox(Group.java:271)
at com.kitfox.svg.Group.getBoundingBox(Group.java:252)
at com.kitfox.svg.SVGRoot.getBoundingBox(SVGRoot.java:374)
at com.kitfox.svg.SVGRoot.prepareViewport(SVGRoot.java:180)
at com.kitfox.svg.SVGRoot.renderToViewport(SVGRoot.java:266)
at com.kitfox.svg.SVGDiagram.render(SVGDiagram.java:111)
at org.openstreetmap.josm.tools.ImageProvider.createImageFromSvg(ImageProvider.java:1671)
at org.openstreetmap.josm.tools.ImageResource.getImageIcon(ImageResource.java:163)
at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:689)
at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:786)
at org.openstreetmap.josm.data.imagery.ImageryInfo$ImageryCategory.lambda$getIcon$1(ImageryInfo.java:159)
at java.util.Map.computeIfAbsent(Map.java:957)
at java.util.Collections$SynchronizedMap.computeIfAbsent(Collections.java:2672)
at org.openstreetmap.josm.data.imagery.ImageryInfo$ImageryCategory.getIcon(ImageryInfo.java:159)
at org.openstreetmap.josm.gui.ImageryMenu.refreshImageryMenu(ImageryMenu.java:199)
at org.openstreetmap.josm.gui.ImageryMenu$1.menuSelected(ImageryMenu.java:124)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1038)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1118)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:232)
at javax.swing.JMenu.setSelected(JMenu.java:305)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1187)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:127)
at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:450)
at java.awt.Component.processMouseEvent(Component.java:6536)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Change History
(5)
Component: |
Core → Core imagery
|
Summary: |
error when trying to open menu background → NPE when loading image category from imagery menu
|
Keywords: |
linux fedora added
|
Owner: |
changed from team to anonymous
|
Status: |
new → needinfo
|
Resolution: |
→ needinfo
|
Status: |
needinfo → closed
|
What is the version of your
svgsalamander
package? It doesn't appear to include the fix I made last year.