Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#3050 closed defect (fixed)

Validator exception when wrong layer is selected

Reported by: anonymous Owned by: team
Priority: major Component: Core validator
Version: latest Keywords:
Cc:

Description

When I press validate and WMS layer is selected (instead of the data layer) at the time I press the button, following Exception is raised:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 14.0-b16 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 1822 SVN
Main-Date: 2009-07-21T18:42:50.660580Z
Memory Usage: 360 MB / 989 MB (116 MB allocated, but free)
Java version: 1.6.0_14

Plugins: measurement
multipoly
openstreetbugs
remotecontrol
routing
terracer2
utilsplugin
validator
wmsplugin
Plugin measurement Version: 16317
Plugin multipoly Version: 16609
Plugin openstreetbugs Version: 16622
Plugin remotecontrol Version: 16624
Plugin routing Version: 16409
Plugin terracer2 Version: ${version.entry.commit.revision}
Plugin utilsplugin Version: 16628
Plugin validator Version: 16629
Plugin wmsplugin Version: 16599

java.lang.NullPointerException

at org.openstreetmap.josm.plugins.validator.ValidateAction.doValidate(ValidateAction.java:70)
at org.openstreetmap.josm.plugins.validator.ValidateAction.actionPerformed(ValidateAction.java:45)
at org.openstreetmap.josm.plugins.validator.ValidatorDialog.actionPerformed(ValidatorDialog.java:305)
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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
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:4574)
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:2475)
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 (2)

comment:1 Changed 4 years ago by jttt

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1825

comment:2 Changed 4 years ago by jttt

Also update validator plugin to 16682 version, otherwise the exception may happen when there is no edit layer at all.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.