Opened 16 years ago
Closed 16 years ago
#3958 closed defect (fixed)
Unable to create relation
| Reported by: | Nakor | Owned by: | Nakor |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
When trying to add a new relation:
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-11-16 02:31:48
Last Changed Author: stoecker
Revision: 2462
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-11-15 18:24:28 +0100 (Sun, 15 Nov 2009)
Last Changed Rev: 2462
Memory Usage: 121 MB / 1333 MB (73 MB allocated, but free)
Java version: 1.6.0_16
Plugins: DirectUpload
PicLayer
editgpx
graphview
measurement
michigan_left
openstreetbugs
remotecontrol
routing
tageditor
utilsplugin
validator
waydownloader
wmsplugin
Plugin DirectUpload Version: 17532
Plugin PicLayer Version: 18597
Plugin editgpx Version: 18595
Plugin graphview Version: 18593
Plugin measurement Version: 18595
Plugin michigan_left Version: 18084
Plugin openstreetbugs Version: 18595
Plugin remotecontrol Version: 18503
Plugin routing Version: 18597
Plugin tageditor Version: 18522
Plugin utilsplugin Version: 18621
Plugin validator Version: 18623
Plugin waydownloader Version: 18617
Plugin wmsplugin Version: 18625
java.lang.NullPointerException
at org.openstreetmap.josm.gui.DefaultNameFormatter.format(DefaultNameFormatter.java:191)
at org.openstreetmap.josm.data.osm.Relation.getDisplayName(Relation.java:310)
at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeCellRenderer.renderValue(RelationTreeCellRenderer.java:48)
at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeCellRenderer.getTreeCellRendererComponent(RelationTreeCellRenderer.java:67)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(Unknown Source)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.rebuild(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(Unknown Source)
at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeModel.fireRootReplacedEvent(RelationTreeModel.java:164)
at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeModel.populate(RelationTreeModel.java:141)
at org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.populate(ChildRelationBrowser.java:145)
at org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.<init>(ChildRelationBrowser.java:136)
at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.<init>(GenericRelationEditor.java:164)
at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.getEditor(RelationEditor.java:84)
at org.openstreetmap.josm.gui.dialogs.RelationListDialog$NewAction.run(RelationListDialog.java:434)
at org.openstreetmap.josm.gui.dialogs.RelationListDialog$NewAction.actionPerformed(RelationListDialog.java:438)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
| Owner: | changed from to |
|---|---|
| Priority: | blocker → normal |
| Status: | new → needinfo |
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | needinfo → closed |
Yes. 2462 was broken, 2466 is fine. I guess someone fixed it, intentionally or not.



Could not reproduce it with 2466.