Index: trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/RefreshAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/RefreshAction.java	(revision 14189)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/RefreshAction.java	(revision 14192)
@@ -43,5 +43,5 @@
         IRelationEditor editor = editorAccess.getEditor();
         if (editor instanceof JComponent) {
-            JRootPane rootPane = ((JComponent) editorAccess.getEditor()).getRootPane();
+            JRootPane rootPane = ((JComponent) editor).getRootPane();
             rootPane.getActionMap().put("refresh", this);
             rootPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(sc.getKeyStroke(), "refresh");
