Opened 15 years ago
Closed 15 years ago
#5195 closed defect (fixed)
Exception when touching relations
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin addrinterpolation | Version: | latest |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- select a streets
- click to create a relation
- add the street
- try to add an attribute to the relation
What is the expected result?
Well, that I'd be able to add an attribute.
What happens instead?
I get this exception :
Please provide any additional information below. Attach a screenshot if
possible.
It also does that when I try to change something from an existing relationship.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-06-28 01:31:42 Last Changed Author: stoecker Revision: 3350 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-06-27 23:15:32 +0200 (Sun, 27 Jun 2010) Last Changed Rev: 3350 Identification: JOSM/1.5 (3350 fr) Memory Usage: 217 MB / 507 MB (66 MB allocated, but free) Java version: 1.6.0_20, Apple Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Mac OS X Dataset consistency test: No problems found Plugin: AddrInterpolation (21710) Plugin: cadastre-fr (21877) Plugin: multipoly (21988) Plugin: remotecontrol (21706) Plugin: validator (22044) java.lang.NullPointerException at org.openstreetmap.josm.gui.tagging.TagCellRenderer.renderTagValue(TagCellRenderer.java:53) at org.openstreetmap.josm.gui.tagging.TagCellRenderer.getTableCellRendererComponent(TagCellRenderer.java:104) at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7023) at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7410) at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6923) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:137) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:668) at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(BasicTableUI.java:923) at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1136) at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mouseReleased(BasicTableUI.java:772) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Attachments (0)
Change History (6)
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Ok, no, it's not fixed in 3354, so, I'm reopenning it.
comment:3 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | reopened → needinfo |
Please submit an example file (as small as possible) where this happens and what you need to do to get it happen.
comment:4 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Ok, you'll need the AddrInterpolation plugin.
so, download something somewhere, doesn't matter.
- create a street, say, unclassified, give it a name.
- create a way with at least three nodes along that street.
- select both ways.
- Tool/Address interpolation.
- tell it to create a relation
- give the start and end numbers, say, 1 and 5.
- check the box at the bottom so that it converts the way into nodes.
After those steps there's a good chance that if start clicking around (yes, very scientific, but well, that's what I do) and then, try to edit the relation, you'll get an exception.
You'll also definitively get exceptions if you try to undo the last step.
comment:5 by , 15 years ago
Component: | Core → Plugin addrinterpolation |
---|
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in plugin 23420 - reorder addr interpolation way to avoid loss of referential integrity
Hum, I just updated to 3354 and it seems to be fixed, so, I'll close…
Sorry for the noise.