#752 Undo After Find/Replace

3: Ugly
closed-duplicate
nobody
5
2009-10-18
2009-04-08
Mathias Ricken
No

I am using the latest version of DrJava.

I was doing some find/replace and then try to undo my changes and obtained an error message.

See attached.

Zung

edu.rice.cs.util.UnexpectedException: java.lang.RuntimeException: Illegal location 8814

at edu.rice.cs.drjava.model.AbstractDJDocument.setCurrentLocation(AbstractDJDocument.java:474)

at edu.rice.cs.drjava.model.AbstractDJDocument$UnremoveCommand$1.run(AbstractDJDocument.java:1861)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: java.lang.RuntimeException: Illegal location 8814

at edu.rice.cs.util.UnexpectedException.<init>(UnexpectedException.java:71)

... 10 more

Caused by:

java.lang.RuntimeException: Illegal location 8814

at edu.rice.cs.util.UnexpectedException.<init>(UnexpectedException.java:71)

at edu.rice.cs.drjava.model.AbstractDJDocument.setCurrentLocation(AbstractDJDocument.java:474)

at edu.rice.cs.drjava.model.AbstractDJDocument$UnremoveCommand$1.run(AbstractDJDocument.java:1861)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

System Properties:

DrJava Version drjava-20090406-r4872

DrJava Build Time 20090406-2137

drjava.debug.port = 50128

java.runtime.name = Java(TM) SE Runtime Environment

sun.boot.library.path = C:\Program Files\Java\jre1.6.0_07\bin

java.vm.version = 10.0-b23

java.vm.vendor = Sun Microsystems Inc.

java.vendor.url = http://java.sun.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 = Service Pack 1

java.vm.specification.name = Java Virtual Machine Specification

user.dir = <anonymized user.home>\Desktop

java.runtime.version = 1.6.0_07-b06

java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment

java.endorsed.dirs = C:\Program Files\Java\jre1.6.0_07\lib\endorsed

os.arch = x86

java.io.tmpdir = C:\Users\DXNGUY~1.ADR\AppData\Local\Temp\

line.separator = "\u000d\u000a"

java.vm.specification.vendor = Sun Microsystems Inc.

user.variant =

os.name = Windows Vista

sun.jnu.encoding = Cp1252

java.library.path = C:\Program Files\Java\jre1.6.0_07\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\MATLAB\R2008a\bin;C:\Program Files\MATLAB\R2008a\bin\win32;C:\Program Files\Common Files\Aladdin Shared\eToken\PKIClient\x32;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\jZip

java.specification.name = Java Platform API Specification

java.class.version = 50.0

sun.management.compiler = HotSpot Client Compiler

os.version = 6.0

user.home = <anonymized user.home>

user.timezone = America/Chicago

java.awt.printerjob = sun.awt.windows.WPrinterJob

file.encoding = Cp1252

java.specification.version = 1.6

java.class.path = <anonymized user.home>\Desktop\dj090406.jar

user.name = <anonymized user.name>

java.vm.specification.version = 1.0

java.home = C:\Program Files\Java\jre1.6.0_07

sun.arch.data.model = 32

user.language = en

java.specification.vendor = Sun Microsystems Inc.

awt.toolkit = sun.awt.windows.WToolkit

java.vm.info = mixed mode, sharing

java.version = 1.6.0_07

java.ext.dirs = C:\Program Files\Java\jre1.6.0_07\lib\ext;C:\Windows\Sun\Java\lib\ext

sun.boot.class.path = C:\Program Files\Java\jre1.6.0_07\lib\resources.jar;C:\Program Files\Java\jre1.6.0_07\lib\rt.jar;C:\Program Files\Java\jre1.6.0_07\lib\sunrsasign.jar;C:\Program Files\Java\jre1.6.0_07\lib\jsse.jar;C:\Program Files\Java\jre1.6.0_07\lib\jce.jar;C:\Program Files\Java\jre1.6.0_07\lib\charsets.jar;C:\Program Files\Java\jre1.6.0_07\classes

java.vendor = Sun Microsystems Inc.

file.separator = \

java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi

sun.io.unicode.encoding = UnicodeLittle

sun.cpu.endian = little

java.rmi.server.hostname = 127.0.0.1

sun.desktop = windows

sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

#DrJava configuration file

#Wed Apr 08 18:46:22 CDT 2009

key.delete.next = shift DELETE

key.delete.previous = shift BACK_SPACE

find.replace.whole.word = true

javadoc.access.level = private

quit.prompt = false

save.before.compile = true

open.folder.recursive = true

indent.level = 4

recent.files = [C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp212\\dxn\\08-spring\\proj\\games4two\\src\\model\\nextMove\\MinMaxFac.java,C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp212\\dxn\\08-spring\\proj\\games4two\\src\\GameIO\\ICommand.java,C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp212\\dxn\\08-spring\\proj\\games4two\\src\\GameIO\\IRejectCommand.java,C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp212\\dxn\\08-spring\\proj\\games4two\\src\\GameIO\\IViewRequestor.java,C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp212\\dxn\\08-spring\\proj\\games4two\\src\\controller\\GameApp.java]

recent.projects = [C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp212\\dxn\\08-spring\\proj\\games4two\\s08GamesSol.xml]

window.height = 1077

window.width = 1095

window.x = 787

window.y = 64

doc.list.width = 358

last.dir = C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp211\\09spring\\lectures\\lec33\\src\\OOTreeMapTest.java

last.interactions.dir = C:\\Users\\&lt;anonymized user.name>.ADRICE\\Documents\\My Web Sites\\Rice\\comp211\\09spring\\lectures\\lec33

tabbedpanes.state = 960 600 700 400

new.version.notification.last = 1238621591016

drjava.survey.notification.last = 1239060295360

drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=4872&os.name=Windows%20Vista&os.version=6.0&java.version=1.6.0_07&java.vendor=Sun%20Microsystems%20Inc.

Used memory: about 25.55 megabytes

Free memory: about 8.70 megabytes

Total memory: about 34.25 megabytes

Total memory can expand to: about 63.56 megabytes

Discussion

  • Mathias Ricken
    Mathias Ricken
    2009-10-18

    • status: open --> closed-duplicate