Modify ↓
#5096 closed defect (duplicate)
NullPointerException trying to add a new relation
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | relation exception | Cc: |
Description
I wanted to add a new relation by clicking on the gear wheel in the under the relation-list.
status:
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-06-02 01:31:37 Last Changed Author: bastiK Revision: 3293 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-06-01 21:51:48 +0200 (Tue, 01 Jun 2010) Last Changed Rev: 3293 Memory Usage: 122 MB / 1820 MB (11 MB allocated, but free) Java version: 1.6.0_18, Sun Microsystems Inc., OpenJDK 64-Bit Server VM Operating system: Linux Dataset consistency test: No problems found Plugins: ColumbusCSV,colorscheme,remotecontrol,tageditor,undelete,validator Plugin undelete (Version: 21186) Plugin colorscheme (Version: 19426) Plugin ColumbusCSV (Version: 299) Plugin tageditor (Version: 21026) Plugin remotecontrol (Version: 21433) Plugin validator (Version: 21440) java.lang.NullPointerException at org.openstreetmap.josm.tools.I18n.gettext(I18n.java:73) at org.openstreetmap.josm.tools.I18n.tr(I18n.java:38) at org.openstreetmap.josm.gui.DefaultNameFormatter.format(DefaultNameFormatter.java:171) at org.openstreetmap.josm.data.osm.Relation.getDisplayName(Relation.java:290) 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(BasicTreeUI.java:2751) at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:737) at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:643) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3863) at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeModel.fireRootReplacedEvent(RelationTreeModel.java:163) at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeModel.populate(RelationTreeModel.java:140) at org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.populate(ChildRelationBrowser.java:144) at org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.<init>(ChildRelationBrowser.java:135) at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.<init>(GenericRelationEditor.java:152) at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.getEditor(RelationEditor.java:100) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$NewAction.run(RelationListDialog.java:365) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$NewAction.actionPerformed(RelationListDialog.java:369) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
console:
Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm. Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2010-06-02 01:31:37 Last Changed Author: bastiK Revision: 3293 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2010-06-01 21:51:48 +0200 (Tue, 01 Jun 2010) Last Changed Rev: 3293 Error parsing gtk-icon-sizes string: '' loading plugin 'undelete' (version 21186) loading plugin 'colorscheme' (version 19426) loading plugin 'ColumbusCSV' (version 299) loading plugin 'tageditor' (version 21026) loading plugin 'remotecontrol' (version 21433) RemoteControl::Accepting connections on port 8111 loading plugin 'validator' (version 21440) GET http://api.openstreetmap.org/api/capabilities... OK Communications with http://api.openstreetmap.org/api established using protocol version 0.6. GET http://api.openstreetmap.org/api/0.6/map?bbox=8.8483286,47.8022595,8.8667822,47.811915299999995 Silent shortcut conflict: 'relationeditor:sort' moved by 'menu:Tools' to 'Alt+D'. GET http://api.openstreetmap.org/api/0.6/map?bbox=8.842063,47.8139903,8.853864699999999,47.8190046 GET http://api.openstreetmap.org/api/0.6/ways?ways=4578401 GET http://api.openstreetmap.org/api/0.6/nodes?nodes=50780783,28919494,28919496 GET http://api.openstreetmap.org/api/0.6/map?bbox=8.822794,47.7899205,8.834981899999999,47.7960904 RemoteControl received: GET /load_and_zoom?left=8.9138&right=8.9148&bottom=47.76985&top=47.77085 HTTP/1.1 GET http://api.openstreetmap.org/api/0.6/map?bbox=8.9138,47.76985,8.9148,47.770849999999996 RemoteControl received: GET /favicon.ico HTTP/1.1 GET http://api.openstreetmap.org/api/0.6/map?bbox=8.910598799999999,47.7685223,8.917722699999999,47.7722142 RemoteControl received: GET /load_and_zoom?left=8.8753&right=8.8763&bottom=47.7607&top=47.7617 HTTP/1.1 GET http://api.openstreetmap.org/api/0.6/map?bbox=8.8753,47.7607,8.876299999999999,47.7617 Keystroke is already assigned to org.openstreetmap.josm.actions.mapmode.DeleteAction@6e6dcfde, will be overridden by org.openstreetmap.josm.actions.mapmode.DeleteAction@69879842 Keystroke is already assigned to org.openstreetmap.josm.actions.mapmode.DeleteAction@69879842, will be overridden by org.openstreetmap.josm.actions.mapmode.DeleteAction@40b86894 Keystroke is already assigned to org.openstreetmap.josm.actions.mapmode.DeleteAction@40b86894, will be overridden by org.openstreetmap.josm.actions.mapmode.DeleteAction@2c2dc991 java.lang.NullPointerException at org.openstreetmap.josm.tools.I18n.gettext(I18n.java:73) at org.openstreetmap.josm.tools.I18n.tr(I18n.java:38) at org.openstreetmap.josm.gui.DefaultNameFormatter.format(DefaultNameFormatter.java:171) at org.openstreetmap.josm.data.osm.Relation.getDisplayName(Relation.java:290) 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(BasicTreeUI.java:2751) at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1359) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:737) at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:643) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3863) at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeModel.fireRootReplacedEvent(RelationTreeModel.java:163) at org.openstreetmap.josm.gui.dialogs.relation.RelationTreeModel.populate(RelationTreeModel.java:140) at org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.populate(ChildRelationBrowser.java:144) at org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.<init>(ChildRelationBrowser.java:135) at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.<init>(GenericRelationEditor.java:152) at org.openstreetmap.josm.gui.dialogs.relation.RelationEditor.getEditor(RelationEditor.java:100) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$NewAction.run(RelationListDialog.java:365) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$NewAction.actionPerformed(RelationListDialog.java:369) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Ubuntu 10.4, openjdk
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #5094.