Bugs item #1450321, was opened at 2006-03-15 06:17
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=1450321&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: Interactions
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mathias Ricken (mgricken)
Assigned to: Nobody/Anonymous (nobody)
Summary: Input Hangs
Initial Comment:
A program that repeatedly uses System.in to get input
through the interactions pane will hang and/or crash
with the following exception:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at javax.swing.text.CompositeView.replace(Unknown Source)
at javax.swing.text.BoxView.replace(Unknown Source)
at javax.swing.text.View.updateChildren(Unknown Source)
at javax.swing.text.View.insertUpdate(Unknown Source)
at
javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(Unknown
Source)
at
javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown
Source)
at
javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown
Source)
at
javax.swing.text.AbstractDocument.handleInsertString(Unknown
Source)
at
javax.swing.text.AbstractDocument.insertString(Unknown
Source)
at
edu.rice.cs.util.text.SwingDocument.forceInsertText(SwingDocument.java:119)
at
edu.rice.cs.util.text.ConsoleDocument.insertBeforeLastPrompt(ConsoleDocument.java:219)
at
edu.rice.cs.drjava.model.repl.InteractionsModel.interpreterResetting(InteractionsModel.java:543)
at
edu.rice.cs.drjava.model.repl.newjvm.MainJVM.killInterpreter(MainJVM.java:603)
at
edu.rice.cs.drjava.model.repl.RMIInteractionsModel._resetInterpreter(RMIInteractionsModel.java:101)
at
edu.rice.cs.drjava.model.repl.InteractionsModel.resetInterpreter(InteractionsModel.java:205)
at
edu.rice.cs.drjava.model.DefaultGlobalModel.resetInteractions(DefaultGlobalModel.java:455)
at
edu.rice.cs.drjava.ui.MainFrame$72.construct(MainFrame.java:1124)
at
edu.rice.cs.util.swing.SwingWorker$2.run(SwingWorker.java:122)
at java.lang.Thread.run(Unknown Source)
Build from 03/14/06. Code is attached
(controller.TempCalcConsoleApp)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1450321&group_id=44253
|