Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13068 closed defect (wontfix)

Exception on trying to add any background layer

Reported by: malenki Owned by: team
Priority: normal Milestone:
Component: Core imagery Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. try to add any kind of background layer (Bing, OSM tiles, whatever)

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

This happens when I run JOSM on my 32bit Debian Sid machine with OPenJDK.
On the same distro with 64bit and Oracle Java thee is no problem.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-25 16:12:48 +0200 (Sat, 25 Jun 2016)
Build-Date:2016-06-26 01:32:22
Revision:10494
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10494 de) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 337 MB / 1344 MB (95 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-2-b14, Oracle Corporation, OpenJDK Server VM
VM arguments: [-Dsun.java2d.opengl=false]
Dataset consistency test: No problems found

Plugins:
- FastDraw (32158)
- FixAddresses (32158)
- OpeningHoursEditor (32158)
- PicLayer (32158)
- apache-commons (32158)
- buildings_tools (32158)
- conflation (0.2.0)
- contourmerge (1014)
- download_along (32158)
- editgpx (32263)
- ext_tools (32158)
- jts (31906)
- measurement (32324)
- openvisible (31772)
- photo_geotagging (32158)
- photoadjust (32158)
- reltoolbox (32158)
- reverter (32158)
- tag2link (31923)
- tageditor (32158)
- terracer (32158)
- todo (29154)
- turnrestrictions (32386)
- undelete (32158)
- utilsplugin2 (32158)
- waydownloader (32158)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&style&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Osmc&style&zip=1

Last errors/warnings:
- W: Datei <josm.pref>/cache/tiles/WMS_INDEX.key kann nicht gelöscht werden
- W: Datei <josm.pref>/cache/tiles/WMS_INDEX.data kann nicht gelöscht werden
- W: Datei <josm.pref>/cache/tiles/WMS_INDEX_v2.key kann nicht gelöscht werden
- W: Datei <josm.pref>/cache/tiles/WMS_INDEX_v2.data kann nicht gelöscht werden
- E: org.openstreetmap.josm.tools.bugreport.ReportedException: java.lang.IllegalArgumentException: {proj(EPSG:4326)} ist kein gültiges WMS-Argument. Bitte überprüfen Sie diese Server-Adresse:

=== REPORTED CRASH DATA ===
MapView#layerAdded:
 - layer: org.openstreetmap.josm.gui.layer.WMSLayer@17942d9

LayerManager#fireLayerAdded:
 - listener: org.openstreetmap.josm.gui.MapView[,0,0,825x722,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=java.awt.Dimension[width=10,height=0],preferredSize=]
 - event: LayerAddEvent [addedLayer=org.openstreetmap.josm.gui.layer.WMSLayer@17942d9]

=== STACK TRACE ===
Thread: AWT-EventQueue-1 (17) of main
java.lang.IllegalArgumentException: {proj(EPSG:4326)} ist kein gültiges WMS-Argument. Bitte überprüfen Sie diese Server-Adresse:
http://geoinformatik.htw-dresden.de/cgi-bin/mbl?WMS&VERSION=1.1.1&REQUEST=GetMap&SRS={proj(EPSG:4326)}&WIDTH=1654&HEIGHT=1005&LAYERS=Meilenblatt_V&STYLES=&FORMAT=image/png&DPI=96&TRANSPARENT=TRUE&WIDTH={width}&height={height}&BBOX={bbox}
	at org.openstreetmap.josm.data.imagery.TemplatedWMSTileSource.checkUrl(TemplatedWMSTileSource.java:348)
	at org.openstreetmap.josm.gui.layer.WMSLayer.getTileSource(WMSLayer.java:74)
	at org.openstreetmap.josm.gui.layer.WMSLayer.getTileSource(WMSLayer.java:37)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.initializeIfRequired(AbstractTileSourceLayer.java:643)
	at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.attachToMapView(AbstractTileSourceLayer.java:624)
	at org.openstreetmap.josm.gui.MapView.layerAdded(MapView.java:634)
	at org.openstreetmap.josm.gui.layer.LayerManager.fireLayerAdded(LayerManager.java:360)
	at org.openstreetmap.josm.gui.layer.LayerManager.realAddLayer(LayerManager.java:177)
	at org.openstreetmap.josm.gui.layer.MainLayerManager.realAddLayer(MainLayerManager.java:200)
	at org.openstreetmap.josm.gui.layer.LayerManager$1.run(LayerManager.java:164)
	at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitWithException(GuiHelper.java:146)
	at org.openstreetmap.josm.gui.layer.LayerManager.addLayer(LayerManager.java:161)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:82)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:943)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:586)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:483)
	at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:429)
	at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:329)
	at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:870)
	at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2425)
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2317)
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2316)
	at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2275)
	at java.awt.Component.dispatchEventImpl(Component.java:4787)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	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:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:697)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	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)

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by stoecker

Resolution: wontfix
Status: newclosed

The value "proj(EPSG:4326)}" is no longer supported for some time now. Use {proj} instead and specify the projections in a proper XML, which could be loaded additionally to the default maps file.

comment:2 Changed 6 years ago by Don-vip

Component: CoreCore imagery

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.