diff --git a/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java b/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/gui/FindBugsFrame.java
@@ -2534,7 +2534,7 @@ public class FindBugsFrame extends javax.swing.JFrame {
 
         private void ableEditMenu() {
             String view = getView();
-            if (view.equals("EditProjectPanel")) {
+            if ((view != null) && view.equals("EditProjectPanel")) {
                 if (selectedComponent != null) {
                     boolean hasSelection = false;
                     if (selectedComponent instanceof JList) {
remove exception in gui when -debug is used, because view isn't set yet and attempting to set menu enabling


git-svn-id: <URL>