Modify ↓
#8812 closed defect (fixed)
WMS-Endpoint-Checkbox produces error when checked before loading
| Reported by: | anonymous | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core imagery | Version: | latest |
| Keywords: | template_report, WMS, Layer, Endpoint only, before loading | Cc: |
Description
What steps will reproduce the problem?
- Add a new WMS-Layer
- Check "Save WMS-Endpoint only" (german: "Nur WMS-Endpunkt speichern, Ebenen bei der Benutzung auswählen") *before* querying WMS-Layers (german: "Ebenen abrufen")
What is the expected result?
There shouldn't be an error ;-)
What happens instead?
An Messagebox "Unexpected Error" opened and pointed me here.
Please provide any additional information below. Attach a screenshot if
possible.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2013-06-05 01:34:49 Last Changed Author: Don-vip Revision: 5990 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2013-06-05 00:52:58 +0200 (Wed, 05 Jun 2013) Last Changed Rev: 5990 Identification: JOSM/1.5 (5990 de) Windows XP 32-Bit Memory Usage: 61 MB / 247 MB (16 MB allocated, but free) Java version: 1.7.0_21, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.policy=file:C:\Programme\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=C:\Programme\Java\jre7\bin, -Djnlpx.origFilenameArg=C:\DOKUME~1\Kai\LOKALE~1\Temp\josm-4.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Programme\Java\jre7\lib\javaws.jar;C:\Programme\Java\jre7\lib\deploy.jar;C:\Programme\Java\jre7\lib\plugin.jar, -Djnlpx.splashport=2352, -Djnlpx.jvm=C:\Programme\Java\jre7\bin\javaw.exe] Plugin: Create_grid_of_ways (29435) Plugin: FixAddresses (29519) Plugin: InfoMode (29435) Plugin: OpeningHoursEditor (29435) Plugin: PicLayer (29601) Plugin: alignways (29435) Plugin: buildings_tools (29596) Plugin: conflation (0.1.6) Plugin: continuosDownload (28565) Plugin: contourmerge (1005) Plugin: dataimport (29435) Plugin: editgpx (29596) Plugin: geochat (29592) Plugin: graphview (29525) Plugin: imageryadjust (29609) Plugin: importvec (29435) Plugin: jts (29613) Plugin: measurement (29625) Plugin: multipoly-convert (29435) Plugin: osmarender (29639) Plugin: pbf (29435) Plugin: reltoolbox (29535) Plugin: reverter (29627) Plugin: todo (29155) Plugin: turnlanes (29435) Plugin: turnrestrictions (29435) Plugin: undelete (29555) Plugin: utilsplugin2 (29615) java.lang.NullPointerException at org.openstreetmap.josm.gui.preferences.imagery.AddWMSLayerPanel$2.itemStateChanged(AddWMSLayerPanel.java:91) at javax.swing.AbstractButton.fireItemStateChanged(Unknown Source) at javax.swing.AbstractButton$Handler.itemStateChanged(Unknown Source) at javax.swing.DefaultButtonModel.fireItemStateChanged(Unknown Source) at javax.swing.JToggleButton$ToggleButtonModel.setSelected(Unknown Source) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(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.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.openstreetmap.josm.gui.ExtendedDialog.setVisible(ExtendedDialog.java:476) at org.openstreetmap.josm.gui.ExtendedDialog.showDialog(ExtendedDialog.java:269) at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference$ImageryProvidersPanel$NewEntryAction.actionPerformed(ImageryPreference.java:440) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(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) ...<snip>...
Attachments (0)
Change History (2)
comment:1 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 8 years ago
| Component: | Core → Core imagery |
|---|
Note:
See TracTickets
for help on using tickets.



In 6016/josm: