Menu

#846 error 1 of 2

3: Ugly
closed-duplicate
nobody
None
5
2010-03-23
2010-03-23
Java Surfer
No

These errors occurred while typing in a simple program that I was writing to learn the language. It didn't seem to do any lasting damage.

edu.rice.cs.util.UnexpectedException: java.lang.RuntimeException: No matching '{' or '(' preceding '}' at offset 1140 in ddoc for Easter.java
at edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevStmtPlus.indentLine(ActionStartPrevStmtPlus.java:114)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:92)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.Indenter.indent(Indenter.java:157)
at edu.rice.cs.drjava.model.AbstractDJDocument._indentLine(AbstractDJDocument.java:1048)
at edu.rice.cs.drjava.model.AbstractDJDocument.indentLines(AbstractDJDocument.java:986)
at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.indentLines(AbstractGlobalModel.java:3578)
at edu.rice.cs.drjava.ui.DefinitionsPane.indentLines(DefinitionsPane.java:1144)
at edu.rice.cs.drjava.ui.AbstractDJPane.indent(AbstractDJPane.java:238)
at edu.rice.cs.drjava.ui.DefinitionsPane$IndentKeyAction.actionPerformed(DefinitionsPane.java:409)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at edu.rice.cs.drjava.ui.DefinitionsPane.processKeyEvent(DefinitionsPane.java:622)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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: No matching '{' or '(' preceding '}' at offset 1140 in ddoc for Easter.java
at edu.rice.cs.util.UnexpectedException.<init>(UnexpectedException.java:71)
... 42 more

Caused by:
java.lang.RuntimeException: No matching '{' or '(' preceding '}' at offset 1140 in ddoc for Easter.java
at edu.rice.cs.util.UnexpectedException.<init>(UnexpectedException.java:71)
at edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevStmtPlus.indentLine(ActionStartPrevStmtPlus.java:114)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:92)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.IndentRuleQuestion.indentLine(IndentRuleQuestion.java:96)
at edu.rice.cs.drjava.model.definitions.indent.Indenter.indent(Indenter.java:157)
at edu.rice.cs.drjava.model.AbstractDJDocument._indentLine(AbstractDJDocument.java:1048)
at edu.rice.cs.drjava.model.AbstractDJDocument.indentLines(AbstractDJDocument.java:986)
at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.indentLines(AbstractGlobalModel.java:3578)
at edu.rice.cs.drjava.ui.DefinitionsPane.indentLines(DefinitionsPane.java:1144)
at edu.rice.cs.drjava.ui.AbstractDJPane.indent(AbstractDJPane.java:238)
at edu.rice.cs.drjava.ui.DefinitionsPane$IndentKeyAction.actionPerformed(DefinitionsPane.java:409)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at edu.rice.cs.drjava.ui.DefinitionsPane.processKeyEvent(DefinitionsPane.java:622)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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-20090821-r5004
DrJava Build Time 20090821-1520

drjava.debug.port = 49874
java.runtime.name = Java(TM) SE Runtime Environment
sun.boot.library.path = C:\Program Files\Java\jre6\bin
java.vm.version = 16.0-b13
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 =
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.home>\Desktop
java.runtime.version = 1.6.0_18-b07
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\Program Files\Java\jre6\lib\endorsed
os.arch = x86
java.io.tmpdir = <anonymized user.home>\AppData\Local\Temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
user.variant =
os.name = Windows 7
sun.jnu.encoding = Cp1252
java.library.path = C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Acer\Empowering Technology\eDataSecurity\;C:\Program Files\Acer\Empowering Technology\eDataSecurity\x86;C:\Program Files\Acer\Empowering Technology\eDataSecurity\x64;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\DivX Shared\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;7;C:\Program Files\Java\jre6\bin
java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 6.1
user.home = <anonymized user.home>
user.timezone = America/Los_Angeles
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.6
java.class.path = <anonymized user.home>\Desktop\drjava-stable-20090821-r5004.exe
user.name = <anonymized user.name>
java.vm.specification.version = 1.0
java.home = C:\Program Files\Java\jre6
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_18
java.ext.dirs = C:\Program Files\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = C:\Program Files\Java\jre6\lib\resources.jar;C:\Program Files\Java\jre6\lib\rt.jar;C:\Program Files\Java\jre6\lib\sunrsasign.jar;C:\Program Files\Java\jre6\lib\jsse.jar;C:\Program Files\Java\jre6\lib\jce.jar;C:\Program Files\Java\jre6\lib\charsets.jar;C:\Program Files\Java\jre6\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 =

#DrJava configuration file
#Mon Mar 22 21:30:42 PDT 2010
all.compiler.versions = true
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
javadoc.api.ref.version = 1.6
indent.level = 3
recent.files = [C:\\Users\\&lt;anonymized user.name>\\Documents\\java\\Easter.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\java\\Functions.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\java\\Evaluations.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\java\\Student.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\java\\Midterm.java]
window.height = 697
window.width = 1246
window.x = 89
window.y = 49
last.dir = C:\\Users\\&lt;anonymized user.name>\\Documents\\java\\Grade.java
last.interactions.dir = C:\\Users\\&lt;anonymized user.name>\\Documents\\java
tabbedpanes.state = 683 384 700 400
new.version.notification.last = 1268788195080
drjava.survey.notification.last = 1267411502643
drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5004&os.name=Windows%207&os.version=6.1&java.version=1.6.0_18&java.vendor=Sun%20Microsystems%20Inc.
file.ext.registration = always

Used memory: about 23.49 megabytes
Free memory: about 11.04 megabytes
Total memory: about 34.53 megabytes
Total memory can expand to: about 247.50 megabytes

Number of processors/cores: 2

Discussion

  • Mathias Ricken

    Mathias Ricken - 2010-03-23

    Fixed in the latest development release at http://www.drjava.org/

     
  • Mathias Ricken

    Mathias Ricken - 2010-03-23
    • status: open --> closed-duplicate
     

Log in to post a comment.