Modify ↓
#5094 closed defect (fixed)
crash on loading an area or editing a relation
Reported by: | vsandre | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: | framm |
Description
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: 216 MB / 910 MB (64 MB allocated, but free) Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) Client VM Operating system: Windows 7 Dataset consistency test: No problems found Plugins: DirectUpload,PicLayer,colorscheme,dataimport,editgpx,measurement,remotecontrol,reverter,slippymap,turnrestrictions,undelete,validator,wmsplugin Plugin undelete (Version: 21186) Plugin PicLayer (Version: 20217) Plugin dataimport (Version: 20431) Plugin reverter (Version: 21237) Plugin validator (Version: 21440) Plugin slippymap (Version: 21136) Plugin measurement (Version: 21307) Plugin turnrestrictions (Version: 21186) Plugin colorscheme (Version: 19426) Plugin editgpx (Version: 21474) Plugin wmsplugin (Version: 21235) Plugin remotecontrol (Version: 21433) Plugin DirectUpload (Version: 20881) 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.RelationListDialog$RelationListModel$1.compare(RelationListDialog.java:583) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel$1.compare(RelationListDialog.java:579) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.sort(RelationListDialog.java:577) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.setRelations(RelationListDialog.java:607) at org.openstreetmap.josm.gui.dialogs.RelationListDialog.initFromLayer(RelationListDialog.java:180) at org.openstreetmap.josm.gui.dialogs.RelationListDialog.dataChanged(RelationListDialog.java:840) at org.openstreetmap.josm.data.osm.event.DataChangedEvent.fire(DataChangedEvent.java:26) at org.openstreetmap.josm.data.osm.event.DatasetEventManager.fireEvents(DatasetEventManager.java:109) at org.openstreetmap.josm.data.osm.event.DatasetEventManager.access$200(DatasetEventManager.java:27) at org.openstreetmap.josm.data.osm.event.DatasetEventManager$1.run(DatasetEventManager.java:139) at java.awt.event.InvocationEvent.dispatch(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)
the same after editing an relation (add a member)
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.RelationListDialog$RelationListModel$1.compare(RelationListDialog.java:583) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel$1.compare(RelationListDialog.java:579) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.mergeSort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at org.openstreetmap.josm.gui.dialogs.RelationListDialog$RelationListModel.sort(RelationListDialog.java:577) at org.openstreetmap.josm.gui.dialogs.RelationListDialog.relationMembersChanged(RelationListDialog.java:821) at org.openstreetmap.josm.data.osm.event.RelationMembersChangedEvent.fire(RelationMembersChangedEvent.java:22) at org.openstreetmap.josm.data.osm.event.DatasetEventManager.fireEvents(DatasetEventManager.java:109) at org.openstreetmap.josm.data.osm.event.DatasetEventManager.access$200(DatasetEventManager.java:27) at org.openstreetmap.josm.data.osm.event.DatasetEventManager$1.run(DatasetEventManager.java:139) at java.awt.event.InvocationEvent.dispatch(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.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at javax.swing.JOptionPane.showOptionDialog(Unknown Source) at org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:67) at org.openstreetmap.josm.tools.BugReportExceptionHandler.handle(BugReportExceptionHandler.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.awt.EventDispatchThread.handleException(Unknown Source) at java.awt.EventDispatchThread.processException(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 (1)
Change History (13)
comment:1 by , 15 years ago
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 15 years ago
It occurs if you downloads an area with a public_transport route.
BTW [3296] works.
comment:7 by , 15 years ago
Cc: | added |
---|
@Frederik:
Can you issue a new build (I can't ATM). This seems a serious problem.
comment:11 by , 15 years ago
I just uploaded a sample .osm file which I can reproduce this bug with.
Just load it and select one of the ways that make up the relation.
Note:
See TracTickets
for help on using tickets.
The relation list dialogue is empty, too.