#479 Can't run without tools.jar

6: Crashes
closed-fixed
Debugger (51)
9
2006-04-17
2006-04-17
Dan Smith
No

I get the following exception when I attempt to run
DrJava without a tools.jar file (by clicking on "No"
when prompted to find the file). Prior to the
addition of the Breakpoints panel, this was an
acceptable configuration.

java.lang.IllegalStateException: No debugger is
available
at
edu.rice.cs.drjava.model.debug.NoDebuggerAvailable.addL
istener(NoDebuggerAvailable.java:221)
at
edu.rice.cs.drjava.ui.BreakpointsPanel.<init>
(BreakpointsPanel.java:110)
at edu.rice.cs.drjava.ui.MainFrame._setUpTabs
(MainFrame.java:4905)
at edu.rice.cs.drjava.ui.MainFrame.<init>
(MainFrame.java:2080)
at edu.rice.cs.drjava.DrJavaRoot.main
(DrJavaRoot.java:121)

Discussion

  • Mathias Ricken
    Mathias Ricken
    2006-04-17

    Logged In: YES
    user_id=1075744

    I'll put conditionals into MainFrame to make sure debugger
    UI elements are not available without debugger. To avoid
    putting these conditionals in the model, I'll convert the
    NoDebuggerAvailable class to a null pattern where all
    methods just silently succeed without doing anything.

     
  • Mathias Ricken
    Mathias Ricken
    2006-04-17

    • assigned_to: nobody --> mgricken
     
  • Mathias Ricken
    Mathias Ricken
    2006-04-17

    • status: open --> closed-fixed
     
  • Mathias Ricken
    Mathias Ricken
    2006-04-17

    Logged In: YES
    user_id=1075744

    Fixed as of revision 3796.