Modify

Opened 7 years ago

Closed 6 years ago

#11888 closed defect (duplicate)

NPE in relation editor after revert

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: npe reverter Cc:

Description

I was adding some members and sorting them in the relation editor and got this:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-09-22 01:32:18
Last Changed Author: Don-vip
Revision: 8777
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-09-21 23:48:29 +0200 (Mon, 21 Sep 2015)
Last Changed Rev: 8777

Identification: JOSM/1.5 (8777 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 4442 MB / 9102 MB (2474 MB allocated, but free)
Java version: 1.7.0_85, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u85-2.6.1-3
VM arguments: [-Dawt.useSystemAAFontSettings=on, -Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
- Create_grid_of_ways (31241)
- OpeningHoursEditor (31241)
- PicLayer (31241)
- RoadSigns (31241)
- SimplifyArea (31241)
- buildings_tools (31558)
- conflation (0.1.7)
- contourmerge (1013)
- download_along (31241)
- editgpx (31241)
- geotools (31126)
- imagery_offset_db (31241)
- importvec (31241)
- jts (31126)
- log4j (31231)
- measurement (31289)
- merge-overlap (31241)
- opendata (31241)
- pbf (31241)
- pdfimport (31241)
- poly (31241)
- reverter (31241)
- scripting (30710)
- todo (29154)
- turnrestrictions (31578)
- undelete (31241)
- utilsplugin2 (31463)

Last errors/warnings:
- W: New conflict: Conflict [my={Node id=3469604323 version=2 D }, their={Node id=3469604323 version=0 IV lat=-17.7407876,lon=-49.5272877}]
- W: New conflict: Conflict [my={Node id=3469604364 version=2 D }, their={Node id=3469604364 version=0 IV lat=-17.7462523,lon=-49.5212476}]
- W: New conflict: Conflict [my={Node id=568742215 version=2 D }, their={Node id=568742215 version=0 IV lat=-17.749,lon=-49.466}]
- E: java.lang.NullPointerException

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.makeLoopIfNeeded(WayConnectionTypeCalculator.java:114)
	at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.updateLinks(WayConnectionTypeCalculator.java:98)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getWayConnection(MemberTableModel.java:737)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.getConnectionType(MemberTable.java:281)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.hasGap(MemberTable.java:288)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.updateEnabledState(MemberTable.java:309)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.valueChanged(MemberTable.java:317)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
	at javax.swing.DefaultListSelectionModel.addSelectionInterval(DefaultListSelectionModel.java:518)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.addMembersAtIndex(MemberTableModel.java:433)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.addMembersAtEnd(MemberTableModel.java:442)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$AddSelectedAtEndAction.actionPerformed(GenericRelationEditor.java:874)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6516)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6281)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.awt.EventQueue$3.run(EventQueue.java:704)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.awt.EventQueue$4.run(EventQueue.java:718)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
	at org.GNOME.Accessibility.AtkWrapper$4.dispatchEvent(AtkWrapper.java:638)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Attachments (1)

11888.osm.bz2 (176.7 KB) - added by naoliv 7 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 Changed 7 years ago by Don-vip

Could you please attach your .OSM file?

comment:2 Changed 7 years ago by Don-vip

Milestone: 15.09

comment:3 Changed 7 years ago by Don-vip

Owner: changed from team to naoliv
Status: newneedinfo

comment:4 Changed 7 years ago by simon04

Component: Core
Milestone: 15.0915.10

Postpone to 15.10

comment:5 Changed 7 years ago by naoliv

Component: Applet
Owner: changed from naoliv to team
Status: needinfonew

With JOSM 8800 and the attached osm file I can reproduce it, after sorting and closing the relation dialog.

In console I see some messages:

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.makeLoopIfNeeded(WayConnectionTypeCalculator.java:114)
	at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.updateLinks(WayConnectionTypeCalculator.java:98)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getWayConnection(MemberTableModel.java:737)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getValueAt(MemberTableModel.java:203)
	at javax.swing.JTable.getValueAt(JTable.java:2717)
	at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.getCurrentAccessibleContext(JTable.java:7962)
	at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.addPropertyChangeListener(JTable.java:8202)
	at org.GNOME.Accessibility.AtkWrapper.registerPropertyChangeListener(AtkWrapper.java:566)
ERRO: java.lang.NullPointerException
java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.makeLoopIfNeeded(WayConnectionTypeCalculator.java:114)
	at org.openstreetmap.josm.gui.dialogs.relation.sort.WayConnectionTypeCalculator.updateLinks(WayConnectionTypeCalculator.java:98)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.getWayConnection(MemberTableModel.java:737)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.getConnectionType(MemberTable.java:281)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.hasGap(MemberTable.java:288)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.updateEnabledState(MemberTable.java:309)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTable$ZoomToGapAction.valueChanged(MemberTable.java:317)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
	at javax.swing.DefaultListSelectionModel.addSelectionInterval(DefaultListSelectionModel.java:518)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.setSelectedMembersIdx(MemberTableModel.java:575)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.setSelectedMembers(MemberTableModel.java:557)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.selectionChanged(MemberTableModel.java:97)
	at org.openstreetmap.josm.data.osm.DataSet.fireSelectionChanged(DataSet.java:547)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$SavingAction.applyExistingNonConflictingRelation(GenericRelationEditor.java:1313)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.run(GenericRelationEditor.java:1425)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.actionPerformed(GenericRelationEditor.java:1433)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6516)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6281)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.awt.EventQueue$3.run(EventQueue.java:704)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.awt.EventQueue$4.run(EventQueue.java:718)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
	at org.GNOME.Accessibility.AtkWrapper$4.dispatchEvent(AtkWrapper.java:638)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
	at java.util.Vector.elementAt(Vector.java:470)
	at javax.swing.table.DefaultTableModel.getValueAt(DefaultTableModel.java:649)
	at javax.swing.JTable.getValueAt(JTable.java:2717)
	at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.getCurrentAccessibleContext(JTable.java:7962)
	at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.addPropertyChangeListener(JTable.java:8202)
	at org.GNOME.Accessibility.AtkWrapper.registerPropertyChangeListener(AtkWrapper.java:566)

I don't know if they are all related (specially this last error).

Changed 7 years ago by naoliv

Attachment: 11888.osm.bz2 added

comment:6 Changed 7 years ago by naoliv

Forgot: use the relation with id 3896781 in this example file.

comment:7 Changed 7 years ago by Don-vip

Component: AppletCore

comment:8 Changed 7 years ago by Don-vip

I can't reproduce, can you please describe your test case better? Thanks.

Last edited 7 years ago by Don-vip (previous) (diff)

comment:9 Changed 7 years ago by naoliv

  • File → Download object...
  • Download relation 3896781 with referrers and members
  • Using the reverter plugin, revert 34192853 34193085 (with "Revert selection only")
  • With the relation still selected, open the relation editor and click to download the incomplete members
  • Click to sort the relation members and then OK

You should see the crash after clicking OK.
Still reproducible with JOSM 8904.

In status I am seeing:

Dataset consistency test:
[DELETED REFERENCED] {Relation id=3896781 version=39 MVT [way 327696233, way 327696246, way 327696248, way 327696262, way 327696254, way 327696235, way 327696247, way 327696261, way 327696260, way 224457329, way 224606592, way 12291259, way 256289635, way 256289681, way 256289672, way 256289667, way 256289640, way 256289642, way 256289668, way 256289658, way 256289632, way 256289669, way 256289670, way 369508292, way 369508290, way 256289684, way 256289656, way 369508291, way 256289676, way 256289647, way 256289661, way 256289645, way 256289683, way 256289675, way 256289665, way 256289677, way 293246561, way 256289663, way 256289652, way 256289650, way 256289674, way 256289682, way 256289654, way 256296949, way 256296941, way 256296938, way 256296926, way 256296952, way 256296927, way 256296939, way 256296931, way 256296934, way 256296942, way 256296932, way 256296944, way 256296950, way 256296936, way 256296933, way 256296929, way 256296928, way 256296935, way 256296925, way 256296953, way 256296940, way 256296930, way 256296943, way 256296937, way 256296951, way 256296948, way 256296946, way 293249433, way 224637843, way 224637844, way 224637842, way 369508205, way 12291272, way 293254082, way 293254083, way 293254085, way 286353590, way 293254092, way 293254094, way 286353587, way 286353588, way 293254110, way 286353586, way 293254724, way 293254725, way 293254726, way 293254727, way 293254728, way 293254729, way 293254730, way 293254731, way 293254732, way 286353589, way 293257597, way 12291277, way 224637845, way 293371089, way 256289680, way 256289637, way 186450510, way 186450508, way 186450539, way 293371090, way 293371091, way 293371092, way 293371094, way 293371096, way 293371097, way 293371099, way 293371100, way 293371101, way 293371102, way 293371104, way 293467101, way 293467102, way 293490408, way 333373358, way 327696227, way 293371088, way 293371098, way 293249424, way 327696224, way 327696252]} refers to deleted primitive {Way id=327696252 version=2 D nodes=[]}

and

E: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=3896781 version=39 MVT [way 327696233, way 327696246, way 327696248, way 327696262, way 327696254, way 327696235, way 327696247, way 327696261, way 327696260, way 224457329, way 224606592, way 12291259, way 256289635, way 256289681, way 256289672, way 256289667, way 256289640, way 256289642, way 256289668, way 256289658, way 256289632, way 256289669, way 256289670, way 369508292, way 369508290, way 256289684, way 256289656, way 369508291, way 256289676, way 256289647, way 256289661, way 256289645, way 256289683, way 256289675, way 256289665, way 256289677, way 293246561, way 256289663, way 256289652, way 256289650, way 256289674, way 256289682, way 256289654, way 256296949, way 256296941, way 256296938, way 256296926, way 256296952, way 256296927, way 256296939, way 256296931, way 256296934, way 256296942, way 256296932, way 256296944, way 256296950, way 256296936, way 256296933, way 256296929, way 256296928, way 256296935, way 256296925, way 256296953, way 256296940, way 256296930, way 256296943, way 256296937, way 256296951, way 256296948, way 256296946, way 293249433, way 224637843, way 224637844, way 224637842, way 369508205, way 12291272, way 293254082, way 293254083, way 293254085, way 286353590, way 293254092, way 293254094, way 286353587, way 286353588, way 293254110, way 286353586, way 293254724, way 293254725, way 293254726, way 293254727, way 293254728, way 293254729, way 293254730, way 293254731, way 293254732, way 286353589, way 293257597, way 12291277, way 224637845, way 293371089, way 256289680, way 256289637, way 186450510, way 186450508, way 186450539, way 293371090, way 293371091, way 293371092, way 293371094, way 293371096, way 293371097, way 293371099, way 293371100, way 293371101, way 293371102, way 293371104, way 293467101, way 293467102, way 293490408, way 333373358, way 327696227, way 293371088, way 293371098, way 293249424, way 327696224, way 327696252]}

org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Deleted member referenced: {Relation id=3896781 version=39 MVT [way 327696233, way 327696246, way 327696248, way 327696262, way 327696254, way 327696235, way 327696247, way 327696261, way 327696260, way 224457329, way 224606592, way 12291259, way 256289635, way 256289681, way 256289672, way 256289667, way 256289640, way 256289642, way 256289668, way 256289658, way 256289632, way 256289669, way 256289670, way 369508292, way 369508290, way 256289684, way 256289656, way 369508291, way 256289676, way 256289647, way 256289661, way 256289645, way 256289683, way 256289675, way 256289665, way 256289677, way 293246561, way 256289663, way 256289652, way 256289650, way 256289674, way 256289682, way 256289654, way 256296949, way 256296941, way 256296938, way 256296926, way 256296952, way 256296927, way 256296939, way 256296931, way 256296934, way 256296942, way 256296932, way 256296944, way 256296950, way 256296936, way 256296933, way 256296929, way 256296928, way 256296935, way 256296925, way 256296953, way 256296940, way 256296930, way 256296943, way 256296937, way 256296951, way 256296948, way 256296946, way 293249433, way 224637843, way 224637844, way 224637842, way 369508205, way 12291272, way 293254082, way 293254083, way 293254085, way 286353590, way 293254092, way 293254094, way 286353587, way 286353588, way 293254110, way 286353586, way 293254724, way 293254725, way 293254726, way 293254727, way 293254728, way 293254729, way 293254730, way 293254731, way 293254732, way 286353589, way 293257597, way 12291277, way 224637845, way 293371089, way 256289680, way 256289637, way 186450510, way 186450508, way 186450539, way 293371090, way 293371091, way 293371092, way 293371094, way 293371096, way 293371097, way 293371099, way 293371100, way 293371101, way 293371102, way 293371104, way 293467101, way 293467102, way 293490408, way 333373358, way 327696227, way 293371088, way 293371098, way 293249424, way 327696224, way 327696252]}
	at org.openstreetmap.josm.data.osm.Relation.checkMembers(Relation.java:500)
	at org.openstreetmap.josm.data.osm.Relation.fireMembersChanged(Relation.java:507)
	at org.openstreetmap.josm.data.osm.Relation.setMembers(Relation.java:63)
	at org.openstreetmap.josm.data.osm.Relation.cloneFrom(Relation.java:234)
	at org.openstreetmap.josm.command.ChangeCommand.executeCommand(ChangeCommand.java:65)
	at org.openstreetmap.josm.data.UndoRedoHandler.addNoRedraw(UndoRedoHandler.java:43)
	at org.openstreetmap.josm.data.UndoRedoHandler.add(UndoRedoHandler.java:69)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$SavingAction.applyExistingNonConflictingRelation(GenericRelationEditor.java:1311)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.run(GenericRelationEditor.java:1424)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$OKAction.actionPerformed(GenericRelationEditor.java:1432)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6516)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
	at java.awt.Component.processEvent(Component.java:6281)
	at java.awt.Container.processEvent(Container.java:2229)
	at java.awt.Component.dispatchEventImpl(Component.java:4872)
	at java.awt.Container.dispatchEventImpl(Container.java:2287)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
	at java.awt.Container.dispatchEventImpl(Container.java:2273)
	at java.awt.Window.dispatchEventImpl(Window.java:2719)
	at java.awt.Component.dispatchEvent(Component.java:4698)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
	at java.awt.EventQueue.access$300(EventQueue.java:103)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.awt.EventQueue$3.run(EventQueue.java:704)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.awt.EventQueue$4.run(EventQueue.java:718)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

comment:10 in reply to:  9 Changed 7 years ago by Don-vip

Keywords: npe reverter added
Milestone: 15.1015.11
Summary: NPE in relation editorNPE in relation editor after revert

Replying to naoliv:

  • Using the reverter plugin

You didn't mention it was caused after a revert operation. In this case it can wait another release. Reverter is such a mess...

comment:11 Changed 7 years ago by Don-vip

Owner: changed from team to naoliv
Status: newneedinfo

Still cannot reproduce, do you see the problem with latest JOSM?

comment:12 Changed 7 years ago by naoliv

Yep, still crashes with the steps from comment:9
I can see that after reverting and editing the relation, there is one way with 0 nodes. Could it (or something handling it) be causing this problem?

Is there something else that I can do to help?

comment:13 Changed 7 years ago by Don-vip

Owner: changed from naoliv to team
Status: needinfonew

OK thanks I get it now.

I think the "Download incomplete members" should result in a conflict for member 327696252 being deleted.

comment:14 Changed 7 years ago by Don-vip

Milestone: 15.1115.12

comment:15 Changed 7 years ago by Don-vip

Milestone: 15.1216.01

comment:16 Changed 7 years ago by Don-vip

Milestone: 16.0116.02

comment:17 Changed 6 years ago by Don-vip

Milestone: 16.0216.03

comment:18 Changed 6 years ago by Don-vip

Milestone: 16.0316.04

Milestone renamed

comment:19 Changed 6 years ago by Don-vip

Milestone: 16.04

comment:20 Changed 6 years ago by Don-vip

Resolution: duplicate
Status: newclosed

Closed as duplicate of #12022.

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.