From: SourceForge.net <no...@so...> - 2006-11-04 23:46:12
|
Bugs item #1590643, was opened at 2006-11-04 15:46 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=1590643&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: Performance Group: 6: Crashes Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Weird Error...Still Initial Comment: The error stands...even with the new version. Help? 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.insertUpda te(Unknown Source) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.inser tUpdate(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:123) at edu.rice.cs.util.text.ConsoleDocument.insertBeforeLast Prompt(ConsoleDocument.java:219) at edu.rice.cs.drjava.model.repl.InteractionsModel.interp reterResetting(InteractionsModel.java:540) at edu.rice.cs.drjava.model.repl.newjvm.MainJVM.killInter preter(MainJVM.java:600) at edu.rice.cs.drjava.model.repl.RMIInteractionsModel._re setInterpreter(RMIInteractionsModel.java:104) at edu.rice.cs.drjava.model.repl.InteractionsModel.resetI nterpreter(InteractionsModel.java:204) at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInter actions(DefaultGlobalModel.java:322) at edu.rice.cs.drjava.model.DefaultGlobalModel.resetInter actions(DefaultGlobalModel.java:300) at edu.rice.cs.drjava.model.DefaultGlobalModel$2.compileE nded(DefaultGlobalModel.java:161) at edu.rice.cs.drjava.model.compiler.CompilerEventNotifie r.compileEnded(CompilerEventNotifier.java:85) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel ._rawCompile(DefaultCompilerModel.java:263) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel .compile(DefaultCompilerModel.java:189) at edu.rice.cs.drjava.model.compiler.DefaultCompilerModel .compileAll(DefaultCompilerModel.java:136) at edu.rice.cs.drjava.ui.MainFrame._compileAll (MainFrame.java:4192) at edu.rice.cs.drjava.ui.MainFrame.access$4000 (MainFrame.java:102) at edu.rice.cs.drjava.ui.MainFrame$43.actionPerformed (MainFrame.java:661) at javax.swing.AbstractButton.fireActionPerformed (Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source) at javax.swing.DefaultButtonModel.setPressed (Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleas ed(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased (Unknown Source) at java.awt.Component.processMouseEvent (Unknown Source) at javax.swing.JComponent.processMouseEvent (Unknown Source) 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.LightweightDispatcher.retargetMouseEvent (Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent (Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(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.pumpOneEventForHierarchy (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 20061025-1556 java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition sun.boot.library.path = C:\Program Files\Java\jre1.5.0_09\bin java.vm.version = 1.5.0_09-b01 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 user.country = CA sun.os.patch.level = Service Pack 2 java.vm.specification.name = Java Virtual Machine Specification user.dir = C:\Documents and Settings\Albee java.runtime.version = 1.5.0_09-b01 java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.endorsed.dirs = C:\Program Files\Java\jre1.5.0_09 \lib\endorsed os.arch = x86 java.io.tmpdir = C:\DOCUME~1\Albee\LOCALS~1\Temp\ line.separator = "\u000d\u000a" java.vm.specification.vendor = Sun Microsystems Inc. user.variant = os.name = Windows XP sun.jnu.encoding = Cp1252 java.library.path = C:\Program Files\Java\jre1.5.0_09 \bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\syste m32;C:\WINDOWS;C:\WINDOWS\system32 \WBEM;C:\WINDOWS\COMMAND;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS;C:\WINDOWS\COMMAN D java.specification.name = Java Platform API Specification java.class.version = 49.0 sun.management.compiler = HotSpot Client Compiler os.version = 5.1 user.home = C:\Documents and Settings\Albee user.timezone = America/New_York java.awt.printerjob = sun.awt.windows.WPrinterJob file.encoding = Cp1252 java.specification.version = 1.5 java.class.path = C:\Documents and Settings\Albee\My Documents\Documents\My Videos\drjava-stable-20060918- 1737.exe;C:\Program Files\Java\jdk1.5.0_09 \lib\tools.jar user.name = Albee java.vm.specification.version = 1.0 java.home = C:\Program Files\Java\jre1.5.0_09 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 java.version = 1.5.0_09 java.ext.dirs = C:\Program Files\Java\jre1.5.0_09 \lib\ext sun.boot.class.path = C:\Program Files\Java\jre1.5.0_09\lib\rt.jar;C:\Program Files\Java\jre1.5.0_09\lib\i18n.jar;C:\Program Files\Java\jre1.5.0_09\lib\sunrsasign.jar;C:\Program Files\Java\jre1.5.0_09\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_09\lib\jce.jar;C:\Program Files\Java\jre1.5.0_09\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_09\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.awt.exception.handler = edu.rice.cs.drjava.ui.DrJavaErrorHandler sun.cpu.isalist = #DrJava configuration file #Sat Nov 04 18:28:17 EST 2006 key.delete.next = shift DELETE key.delete.previous = shift BACK_SPACE interactions.exit.prompt = false quit.prompt = false interactions.reset.prompt = false recent.files = [C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\Albster Wack A Hamster! \\wackAHamster.java,C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\I Try So Hard! (Trials)\\Random Numbers\\random.java,C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\Die Number Signs! (UNFINISHED) \\destroyer.java,C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\NumSum! Number Adder!\\numSum.java,C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\The Guessing Game!\\guessGame.java] window.height = 742 window.width = 1024 window.x = 0 window.y = 0 last.dir = C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\Albster Wack A Hamster! \\wackAHamster.java last.interactions.dir = C:\\Documents and Settings\\Albee\\My Documents\\My Java Stuff\\Albster Wack A Hamster! Used memory: about 10.61 megabytes Free memory: about 6.87 megabytes Total memory: about 17.48 megabytes Total memory can expand to: about 127.06 megabytes ------ I tried it on another program as well. Still the same. Hopefully you guys can fix it. If you want, here's the program. Also, you'll need the Console. the code for the console is here. Just to let you know, I am still a beginner and so, my program really sucks and don't judge me...this is after all my like third month into Java. Thanks! --------- import java.io.*; public class Console { //variables InputStreamReader stdin = null; BufferedReader console = null; String inputString = null; Console() { //constructor stdin = new InputStreamReader(System.in); console = new BufferedReader(stdin); } public int readInt() throws IOException { inputString = console.readLine(); return Integer.parseInt(inputString); } public boolean readBoolean() throws IOException { inputString = console.readLine(); return Boolean.parseBoolean(inputString); } public double readDouble() throws IOException { inputString = console.readLine(); return Double.parseDouble(inputString); } public float readFloat() throws IOException { inputString = console.readLine(); return Float.parseFloat(inputString); } public long readLong() throws IOException { inputString = console.readLine(); return Long.parseLong(inputString); } public short readShort() throws IOException { inputString = console.readLine(); return Short.parseShort(inputString); } public byte readByte() throws IOException { inputString = console.readLine(); return Byte.parseByte(inputString); } public String readString() throws IOException { inputString = console.readLine(); return inputString; } } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1590643&group_id=44253 |