From: SourceForge.net <no...@so...> - 2012-11-25 04:40:34
|
Bugs item #3589747, was opened at 2012-11-24 20:40 Message generated for change (Tracker Item Submitted) made by theone1889 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=3589747&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: Debugger Group: 2: Annoying Status: Open Resolution: None Priority: 5 Private: No Submitted By: Marc (theone1889) Assigned to: Nobody/Anonymous (nobody) Summary: Cannot use debugger for an out of bounds exception Initial Comment: I am writing a project for my intro to java class, It appears that I have an out of bounds exception for an array, from what showed up in the interactions pane, however when I try to create a breakpoint to see whats happening around that point, I get a dialogue box stating that dr java has errors, and I am not able to debug or toggle the breakpoint. The box that appeared and told me to come here contained this information: java.lang.StringIndexOutOfBoundsException: String index out of range: 2682 at java.lang.String.charAt(Unknown Source) at edu.rice.cs.drjava.model.definitions.DefinitionsDocument._getAnonymousInnerClassIndex(DefinitionsDocument.java:885) at edu.rice.cs.drjava.model.definitions.DefinitionsDocument._getEnclosingClassName(DefinitionsDocument.java:716) at edu.rice.cs.drjava.model.definitions.DefinitionsDocument.getEnclosingClassName(DefinitionsDocument.java:614) at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.getEnclosingClassName(AbstractGlobalModel.java:3832) at edu.rice.cs.drjava.model.debug.jpda.DocumentDebugAction.<init>(DocumentDebugAction.java:81) at edu.rice.cs.drjava.model.debug.jpda.JPDABreakpoint.<init>(JPDABreakpoint.java:71) at edu.rice.cs.drjava.model.debug.jpda.JPDADebugger.toggleBreakpoint(JPDADebugger.java:584) at edu.rice.cs.drjava.ui.MainFrame.debuggerToggleBreakpoint(MainFrame.java:5888) at edu.rice.cs.drjava.ui.DefinitionsPane$12.actionPerformed(DefinitionsPane.java:870) 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.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(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-20120818-r5686 DrJava Build Time 20120818-0422 drjava.debug.port = 62372 java.runtime.name = Java(TM) SE Runtime Environment sun.boot.library.path = C:\Program Files\Java\jre7\bin java.vm.version = 23.5-b02 java.vm.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ path.separator = ; java.vm.name = Java HotSpot(TM) 64-Bit Server VM file.encoding.pkg = sun.io user.country = US user.script = sun.java.launcher = SUN_STANDARD 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.7.0_09-b05 java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.endorsed.dirs = C:\Program Files\Java\jre7\lib\endorsed os.arch = amd64 java.io.tmpdir = <anonymized user.home>\AppData\Local\Temp\ line.separator = "\u000d\u000a" java.vm.specification.vendor = Oracle Corporation user.variant = os.name = Windows 7 sun.jnu.encoding = Cp1252 java.library.path = C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\programsetc\ati\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jre7\bin;. sun.awt.enableExtraMouseButtons = true java.specification.name = Java Platform API Specification java.class.version = 51.0 sun.management.compiler = HotSpot 64-Bit Tiered Compilers os.version = 6.1 user.home = <anonymized user.home> user.timezone = America/New_York java.awt.printerjob = sun.awt.windows.WPrinterJob file.encoding = Cp1252 java.specification.version = 1.7 java.class.path = <anonymized user.home>\Desktop\drjava-stable-20120818-r5686.exe user.name = <anonymized user.name> java.vm.specification.version = 1.7 sun.java.command = <anonymized user.home>\Desktop\drjava-stable-20120818-r5686.exe java.home = C:\Program Files\Java\jre7 sun.arch.data.model = 64 user.language = en java.specification.vendor = Oracle Corporation awt.toolkit = sun.awt.windows.WToolkit java.vm.info = mixed mode java.version = 1.7.0_09 java.ext.dirs = C:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext sun.boot.class.path = C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes java.vendor = Oracle Corporation file.separator = \ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ sun.io.unicode.encoding = UnicodeLittle sun.cpu.endian = little java.rmi.server.hostname = 127.0.0.1 sun.desktop = windows sun.cpu.isalist = amd64 DrJava configuration file In resource bundle edu.rice.cs.drjava.config.options: nothing In shadowed configuration: browser.file = D:\\programsetc\\firefox\\firefox.exe lineenum.enabled = true key.delete.next = [shift DELETE] key.delete.previous = [shift BACK_SPACE] save.before.compile = true recent.files = [D:\\Stuff\\school\\java\\project 4\\SameGame.java,D:\\Stuff\\school\\java\\New Folder\\PrintButton.java,D:\\Stuff\\school\\java\\project3\\Line2D.java,D:\\Stuff\\school\\java\\project3\\Plane.java,D:\\Stuff\\school\\java\\project3\\toots.java] window.height = 1056 window.width = 1936 window.x = -8 window.y = -8 window.state = 6 doc.list.width = 189 last.dir = D:\\Stuff\\school\\java\\project 4\\SameGame.java last.interactions.dir = D:\\Stuff\\school\\java\\project 4 tabbedpanes.state = 960 540 700 400 new.version.notification.last = 1353387726996 file.ext.registration = always Used memory: about 50.37 megabytes Free memory: about 133.63 megabytes Total memory: about 184 megabytes Total memory can expand to: about 2.67 gigabytes Number of processors/cores: 4 Compiler Discovery Log: ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=3589747&group_id=44253 |