Index: src/org/openide/explorer/ExplorerActions.java =================================================================== RCS file: /cvs/openide/src/org/openide/explorer/ExplorerActions.java,v retrieving revision 1.60 diff -u -r1.60 ExplorerActions.java --- src/org/openide/explorer/ExplorerActions.java 21 Aug 2003 07:59:56 -0000 1.60 +++ src/org/openide/explorer/ExplorerActions.java 29 Sep 2003 08:33:57 -0000 @@ -514,7 +514,11 @@ } public void actionPerformed(ActionEvent e) { - throw new IllegalStateException ("Should not be invoked at all. Paste types: " + java.util.Arrays.asList (pasteTypes)); // NOI18N + if (pasteTypes == null) { + throw new IllegalStateException ("Should not be invoked at all. Paste types: null"); // NOI18N + } else { + throw new IllegalStateException ("Should not be invoked at all. Paste types: " + java.util.Arrays.asList (pasteTypes)); // NOI18N + } } public Object getValue (String s) {