Opened 14 years ago

Closed 14 years ago

#3336 closed defect (fixed)

[PATCH] WMS plugin does not check if user aborts save dialog

Reported by: plaicy Owned by: team
Priority: minor Milestone:
Component: Core imagery Version:
Keywords: NullPointerException Cc:


  1. start JOSM
  2. create new data layer
  3. add empty wms data layer
  4. right click on new wms layer and choose "save in file"
  5. abort dialog

results in

        at wmsplugin.WMSLayer$SaveWmsAction.actionPerformed(
        at javax.swing.AbstractButton.fireActionPerformed(
        at javax.swing.AbstractButton$Handler.actionPerformed(
        at javax.swing.DefaultButtonModel.fireActionPerformed(
        at javax.swing.DefaultButtonModel.setPressed(
        at javax.swing.AbstractButton.doClick(
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
        at java.awt.Component.processMouseEvent(
        at javax.swing.JComponent.processMouseEvent(
        at java.awt.Component.processEvent(
        at java.awt.Container.processEvent(
        at java.awt.Component.dispatchEventImpl(
        at java.awt.Container.dispatchEventImpl(
        at java.awt.Component.dispatchEvent(
        at java.awt.LightweightDispatcher.retargetMouseEvent(
        at java.awt.LightweightDispatcher.processMouseEvent(
        at java.awt.LightweightDispatcher.dispatchEvent(
        at java.awt.Container.dispatchEventImpl(
        at java.awt.Window.dispatchEventImpl(
        at java.awt.Component.dispatchEvent(
        at java.awt.EventQueue.dispatchEvent(
        at java.awt.EventDispatchThread.pumpOneEventForFilters(
        at java.awt.EventDispatchThread.pumpEventsForFilter(
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
        at java.awt.EventDispatchThread.pumpEvents(
        at java.awt.EventDispatchThread.pumpEvents(

No "send bug dialog" is created, because wmsplugin catches all exceptions.

Tested with r1997 and wmsplugin version 17278.

Attachments (1)

wmssave.patch (472 bytes) - added by xeen 14 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 14 years ago by xeen

Summary: WMS plugin does not check if user aborts save dialog[PATCH] WMS plugin does not check if user aborts save dialog

Changed 14 years ago by xeen

Attachment: wmssave.patch added

comment:2 Changed 14 years ago by Gubaer

Resolution: fixed
Status: newclosed

patch not necessary anymore. Fixed in o17397

Modify Ticket

Change Properties
Set your email in Preferences
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.