Opened 14 years ago

Closed 14 years ago

#3972 closed defect (fixed)

null pointer exception validator

Reported by: dieterdreist Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by Gubaer)

Repository Root:
Build-Date: 2009-11-17 02:31:54
Last Changed Author: jttt
Revision: 2466
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2009-11-16 20:49:05 +0100 (Mon, 16 Nov 2009)
Last Changed Rev: 2466

Memory Usage: 155 MB / 1016 MB (64 MB allocated, but free)
Java version: 1.6.0_0

Plugins: AddrInterpolationAgPifoJCreate_grid_of_waysDirectUploadbuildings_toolscolorschemedataimporteditgpxgraphviewmeasurementmultipolyopenvisibleosmarenderremotecontrolroutingterracerutilspluginwalkingpaperswaydownloaderwmsplugin
Plugin AddrInterpolation Version: 18503
Plugin AgPifoJ Version: 18593
Plugin Create_grid_of_ways Version: 17367
Plugin DirectUpload Version: 17532
Plugin buildings_tools Version: 24
Plugin colorscheme Version: 18413
Plugin dataimport Version: 18071
Plugin editgpx Version: 18595
Plugin graphview Version: 18593
Plugin measurement Version: 18595
Plugin multipoly Version: 18415
Plugin openvisible Version: 17536
Plugin osmarender Version: 18480
Plugin remotecontrol Version: 18503
Plugin routing Version: 18597
Plugin terracer Version: 17874
Plugin utilsplugin Version: 18621
Plugin validator Version: 18623
Plugin walkingpapers Version: 18597
Plugin waydownloader Version: 18617
Plugin wmsplugin Version: 18625


at org.openstreetmap.josm.plugins.validator.tests.TagChecker.checkPrimitive(
at org.openstreetmap.josm.plugins.validator.tests.TagChecker.visit(
at org.openstreetmap.josm.plugins.validator.Test.visit(
at org.openstreetmap.josm.plugins.validator.tests.TagChecker.visit(
at org.openstreetmap.josm.plugins.validator.ValidateUploadHook.checkUpload(
at org.openstreetmap.josm.actions.UploadAction.checkPreUploadConditions(
at org.openstreetmap.josm.actions.UploadAction.uploadData(
at org.openstreetmap.josm.actions.UploadAction.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.plaf.basic.BasicButtonListener.mouseReleased(
at java.awt.AWTEventMulticaster.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(

Attachments (3)

error.osm (65.4 KB) - added by dieterdreist 14 years ago.
error2.osm (69.9 KB) - added by dieterdreist 14 years ago.
the file after text modification (deleted object with ID -10 from relation) and editing afterwards in JOSM
error2.png (55.6 KB) - added by dieterdreist 14 years ago.
screeenshot of conflicts

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by dieterdreist

Attachment: error.osm added

Changed 14 years ago by dieterdreist

Attachment: error2.osm added

the file after text modification (deleted object with ID -10 from relation) and editing afterwards in JOSM

Changed 14 years ago by dieterdreist

Attachment: error2.png added

screeenshot of conflicts

comment:1 Changed 14 years ago by dieterdreist

I then tried to solve the problem by deleting the object with ID -10 from the relation. The file (error.osm) opened in JOSM without errors. I edited it then but on upload-trial there was another problem (node changed on server or something like this -> synchronize everything -> lots of conflicts). The file error2.osm and Screenshot was saved after synchronizing (should contain the new conflicts, I never touched most of the items with the conflicts).
I guess the problem is arising from deleting elements from relations outside the relation editor (in the properties-window).

comment:2 Changed 14 years ago by Gubaer

(In [2472]) Make sure getErrors() never returns null, see #3972

comment:3 Changed 14 years ago by Gubaer

Description: modified (diff)
Resolution: fixed
Status: newclosed

should be fixed in r2472. Please upgrade.

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.