#7292 closed defect (duplicate)
NPE in WMS layer
| Reported by: | akks | Owned by: | team |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | wms, npe | Cc: |
Description
I get NullPointerException when adding showing imagery layer on Windows 7:
WMS addresses:
wms:http://citrin.ru/cadastre?
wms:http://textual.ru/cadastre.php?
Build-Date: 2012-01-20 19:46:10
Revision: 4826
Is-Local-Build: true
Identification: JOSM/1.5 (4826 SVN en)
Memory Usage: 112 MB / 910 MB (44 MB allocated, but free)
Java version: 1.6.0_21, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found
Plugin: ElevationProfile (27285)
Plugin: FastDraw (27355)
Plugin: ImproveWayAccuracy (27475)
Plugin: PicLayer (27403)
Plugin: buildings_tools (27355)
Plugin: reltoolbox (27355)
Plugin: reverter (27393)
Plugin: utilsplugin2 (27505)
java.lang.NullPointerException
at org.openstreetmap.josm.data.imagery.WmsCache.removeNonReferencedFiles(WmsCache.java:246)
at org.openstreetmap.josm.data.imagery.WmsCache.loadIndex(WmsCache.java:219)
at org.openstreetmap.josm.gui.layer.WMSLayer.<init>(WMSLayer.java:173)
at org.openstreetmap.josm.gui.layer.ImageryLayer.create(ImageryLayer.java:133)
at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:45)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Change History (6)
comment:1 by , 14 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:1 by , 14 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:4 by , 14 years ago
You are the only one from the team, who can reproduce the error, could you investigate the problem? [4813] is a recent change in this file, but I cannot see what is wrong with this change.



Sorry :)