#732 Error at intermediate level on saving to a new file name

open
nobody
5
2009-02-28
2009-02-28
Mathias Ricken
No

Error running Drjava at intermediate level on saving to a new file name; don't think it is LL related

edu.rice.cs.util.UnexpectedException: java.lang.RuntimeException: Region node for region WordList.dj1[1869 .. 1869] is null
at edu.rice.cs.drjava.ui.RegionsTreePanel.removeRegion(RegionsTreePanel.java:638)
at edu.rice.cs.drjava.ui.FindResultsPanel$1.regionRemoved(FindResultsPanel.java:122)
at edu.rice.cs.drjava.ui.FindResultsPanel$1.regionRemoved(FindResultsPanel.java:122)
at edu.rice.cs.drjava.model.ConcreteRegionManager._notifyRegionRemoved(ConcreteRegionManager.java:339)
at edu.rice.cs.drjava.model.ConcreteRegionManager.removeRegions(ConcreteRegionManager.java:357)
at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.saveFileAs(AbstractGlobalModel.java:2951)
at edu.rice.cs.drjava.ui.MainFrame._saveAs(MainFrame.java:4782)
at edu.rice.cs.drjava.ui.MainFrame.access$3100(MainFrame.java:116)
at edu.rice.cs.drjava.ui.MainFrame$34.actionPerformed(MainFrame.java:652)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
at java.awt.MenuItem.processEvent(MenuItem.java:556)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.RuntimeException: Region node for region WordList.dj1[1869 .. 1869] is null
at edu.rice.cs.util.UnexpectedException.<init>(UnexpectedException.java:71)
... 25 more

Caused by:
java.lang.RuntimeException: Region node for region WordList.dj1[1869 .. 1869] is null
at edu.rice.cs.util.UnexpectedException.<init>(UnexpectedException.java:71)
at edu.rice.cs.drjava.ui.RegionsTreePanel.removeRegion(RegionsTreePanel.java:638)
at edu.rice.cs.drjava.ui.FindResultsPanel$1.regionRemoved(FindResultsPanel.java:122)
at edu.rice.cs.drjava.ui.FindResultsPanel$1.regionRemoved(FindResultsPanel.java:122)
at edu.rice.cs.drjava.model.ConcreteRegionManager._notifyRegionRemoved(ConcreteRegionManager.java:339)
at edu.rice.cs.drjava.model.ConcreteRegionManager.removeRegions(ConcreteRegionManager.java:357)
at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.saveFileAs(AbstractGlobalModel.java:2951)
at edu.rice.cs.drjava.ui.MainFrame._saveAs(MainFrame.java:4782)
at edu.rice.cs.drjava.ui.MainFrame.access$3100(MainFrame.java:116)
at edu.rice.cs.drjava.ui.MainFrame$34.actionPerformed(MainFrame.java:652)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
at java.awt.MenuItem.processEvent(MenuItem.java:556)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

System Properties:
DrJava Version drjava-20090216-r4756
DrJava Build Time 20090216-1615

drjava.debug.port = 49476
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries
java.vm.version = 1.5.0_16-132
awt.nativeDoubleBuffering = true
gopherProxySet = false
java.vm.vendor = "Apple Computer, Inc."
java.vendor.url = http://apple.com/
path.separator = :
java.vm.name = Java HotSpot(TM) Client VM
file.encoding.pkg = sun.io
sun.java.launcher = SUN_STANDARD
user.country = US
sun.os.patch.level = unknown
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.dir>
java.runtime.version = 1.5.0_16-b06-275
java.awt.graphicsenv = apple.awt.CGraphicsEnvironment
java.endorsed.dirs = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed
os.arch = i386
java.io.tmpdir = /tmp
line.separator = "\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
os.name = Mac OS X
apple.laf.useScreenMenuBar = true
sun.jnu.encoding = MacRoman
java.library.path = <anonymized user.dir>/DrJava.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.specification.name = Java Platform API Specification
java.class.version = 49.0
sun.management.compiler = HotSpot Client Compiler
os.version = 10.4.11
user.home = <anonymized user.home>
user.timezone = America/Chicago
java.awt.printerjob = apple.awt.CPrinterJob
file.encoding = MacRoman
java.specification.version = 1.5
java.class.path = <anonymized user.dir>/DrJava.app/Contents/Resources/Java/drjava.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar
user.name = <anonymized user.name>
apple.awt.graphics.UseQuartz = true
java.vm.specification.version = 1.0
java.home = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
sun.arch.data.model = 32
user.language = en
java.specification.vendor = Sun Microsystems Inc.
awt.toolkit = apple.awt.CToolkit
java.vm.info = mixed mode, sharing
java.version = 1.5.0_16
java.ext.dirs = /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext
sun.boot.class.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar
java.vendor = Apple Computer, Inc.
file.separator = /
java.vendor.url.bug = http://developer.apple.com/java/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname = 127.0.0.1
mrj.version = 1040.1.5.0_16-275
sun.awt.exception.handler = apple.awt.CToolkit$EventQueueExceptionHandler
sun.cpu.isalist =

#DrJava configuration file
#Fri Feb 27 21:04:20 CST 2009
font.main = Monaco-14
font.line.numbers = Dialog-10
lineenum.enabled = true
plastic.theme = ExperienceBlue
key.delete.next = shift DELETE
key.delete.previous = shift BACK_SPACE
find.replace.no.test.cases = true
save.before.compile = true
compile.before.junit = true
language.level = 2
recent.files = [<anonymized user.home>/Documents/Rice/Comp 211/Code/Java/Finger Exercises/Intermediate/IntList/merge.dj1,<anonymized user.home>/Documents/Rice/Comp 211/Code/Java/Finger Exercises/Intermediate/IntList/IntListTest.dj1,<anonymized user.home>/Documents/Rice/Comp 211/Code/Java/Finger Exercises/Intermediate/IntList/merge.java,<anonymized user.home>/Documents/Rice/Comp 211/Code/Java/Language Bugs/MissingReturnNotCaughtInLL.java,<anonymized user.home>/Documents/Rice/Comp 211/Code/Java/Finger Exercises/Intermediate/IntList/IntList.java]
recent.projects = [<anonymized user.home>/DrJ/Examples/c311/3/3.pjt,<anonymized user.home>/drjava/drjava/drjava.xml,<anonymized user.home>/drjava-x/drjava/drjava.xml]
window.height = 776
window.width = 1221
window.x = 50
window.y = 22
doc.list.width = 188
last.dir = <anonymized user.home>/Documents/Rice/Comp 211/Homework/8/WordList.dj1
last.interactions.dir = <anonymized user.home>/Documents/Rice/Comp 211/Homework/8
master.jvm.xmx = 512
slave.jvm.xmx = 128
dialog.completeword.scan.class.files = true
dialog.completeword.javaapi = true
tabbedpanes.state = 640 400 700 400
dialog.drjava.survey.enabled = false
new.version.notification.last = 1235675309590
drjava.survey.notification.last = 1225250757266
drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=4673&os.name=Mac%20OS%20X&os.version=10.4.11&java.version=1.6.0-dp&java.vendor=Apple%20Computer,%20Inc.

Used memory: about 11.94 megabytes
Free memory: about 11.73 megabytes
Total memory: about 23.68 megabytes
Total memory can expand to: about 508.06 megabytes

Discussion