Bugs item #924181, was opened at 2004-03-26 12:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=924181&group_id=44253
Category: Interactions
Group: Would be nice if fixed ...
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error when working with strings in Interactions pane
Initial Comment:
While experimenting with some of the methods in the
String class in the Interactions pane, DrJava
encountered an unexpected exception:
java.lang.IllegalArgumentException: startRow is beyond
the end of the string
at
edu.rice.cs.util.StringOps.getOffsetAndLength
(StringOps.java:139)
at
edu.rice.cs.drjava.model.repl.InteractionsModel.replRetur
nedSyntaxError(InteractionsModel.java:671)
at
edu.rice.cs.drjava.model.repl.InteractionsModel.interpret
CurrentInteraction(InteractionsModel.java:224)
at
edu.rice.cs.drjava.ui.InteractionsController$10.construct
(InteractionsController.java:403)
at edu.rice.cs.util.swing.SwingWorker$2.run
(SwingWorker.java:157)
at java.lang.Thread.run(Thread.java:536)
The About info:
DrJava Version : 20040323-0318
DrJava Configuration file: C:\Documents and
Settings\Steven\.drjava
Copyright © 2001-2003 JavaPLT group at Rice University
(ja...@ri...)
See http://www.drjava.org for more information on
DrJava or to
obtain the latest version of the program or its source
code.
DrJava is free software; you can redistribute it and/or
modify
it under the terms of the DrJava Open Source License.
A copy
of the license should have been included in the
documentation
for this software.
The line that caused the error:
s.split(new String(new Character((char)9).toString()
)
;
I'm using the latest beta of DrJava under Windows XP
SP1 with Java SDK 1.4.1_03
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=924181&group_id=44253
|