From: SourceForge.net <no...@so...> - 2010-02-27 05:27:51
|
Bugs item #2959994, was opened at 2010-02-27 00:27 Message generated for change (Tracker Item Submitted) made by baonn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2959994&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Bao N. Nguyen (baonn) Assigned to: Nobody/Anonymous (nobody) Summary: DrJava (20090821-r5004) crashes Initial Comment: The following steps cause a crash 1. Start DrJava 2. Click on Tool/Uncomment lines Exception trace edu.rice.cs.util.UnexpectedException: javax.swing.text.BadLocationException: Invalid remove at edu.rice.cs.drjava.model.definitions.DefinitionsDocument.uncommentLines(DefinitionsDocument.java:438) at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.uncommentLines(AbstractGlobalModel.java:3567) at edu.rice.cs.drjava.ui.MainFrame.uncommentLines(MainFrame.java:8256) at edu.rice.cs.drjava.ui.MainFrame$98.actionPerformed(MainFrame.java:2141) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.AbstractButton.doClick(AbstractButton.java:337) at javax.swing.AbstractButton$AccessibleAbstractButton.doAccessibleAction(AbstractButton.java:2522) at edu.umd.cs.guitar.event.JFCActionHandler.performImpl(Unknown Source) at edu.umd.cs.guitar.event.GThreadEvent$DispatchThread.run(Unknown Source) at java.lang.Thread.run(Thread.java:619) Caused by: javax.swing.text.BadLocationException: Invalid remove at javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:590) at javax.swing.text.AbstractDocument.remove(AbstractDocument.java:576) at edu.rice.cs.util.text.SwingDocument.remove(SwingDocument.java:170) at edu.rice.cs.drjava.model.definitions.DefinitionsDocument.remove(DefinitionsDocument.java:281) at edu.rice.cs.drjava.model.definitions.DefinitionsDocument._uncommentLine(DefinitionsDocument.java:485) at edu.rice.cs.drjava.model.definitions.DefinitionsDocument.uncommentLines(DefinitionsDocument.java:435) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2959994&group_id=44253 |