Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#791 an index out of bound error in program

closed-duplicate
nobody
None
5
2009-09-26
2009-09-26
Chao Wang
No

java.lang.ArrayIndexOutOfBoundsException: 127; Looks like something was trying to access an element in some array for drJava and failed.

Discussion

  • Chao Wang
    Chao Wang
    2009-09-26

    a copy of the error

     
    Attachments
  • Mathias Ricken
    Mathias Ricken
    2009-09-26

    • status: open --> closed-duplicate
     
  • Mathias Ricken
    Mathias Ricken
    2010-02-18

    java.lang.ArrayIndexOutOfBoundsException: 127
    at sun.font.FontDesignMetrics.charsWidth(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.PlainView.viewToModel(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.viewToModel(Unknown Source)
    at javax.swing.text.DefaultCaret.moveCaret(Unknown Source)
    at javax.swing.text.DefaultCaret.mouseDragged(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.Component.processMouseMotionEvent(Unknown Source)
    at javax.swing.JComponent.processMouseMotionEvent(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.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 = 49989
    java.runtime.name = Java(TM) SE Runtime Environment
    sun.boot.library.path = C:\Program Files\Java\jre6\bin
    java.vm.version = 14.2-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
    sun.java.launcher = SUN_STANDARD
    user.country = US
    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.6.0_16-b01
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.endorsed.dirs = C:\Program Files\Java\jre6\lib\endorsed
    os.arch = x86
    java.io.tmpdir = C:\Users\CHAOWA~1\AppData\Local\Temp\ line.separator = "\u000d\u000a"
    java.vm.specification.vendor = Sun Microsystems Inc.
    user.variant =
    os.name = Windows Vista
    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\Intel\WiFi\bin\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;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.0
    user.home = <anonymized user.home>
    user.timezone = America/New_York
    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
    java.version = 1.6.0_16
    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 = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

    #DrJava configuration file
    #Sat Sep 26 13:09:09 EDT 2009
    lineenum.enabled = true
    key.delete.next = [shift DELETE]
    key.delete.previous = [shift BACK_SPACE]
    save.before.compile = true
    indent.level = 4
    recent.files = [C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126\\Checkerboard.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126\\RandomWalkers.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126\\RandomWalker.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126\\Distinct.java,C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126\\RGBtoCMYK.java]
    window.height = 786
    window.width = 1296
    window.x = -8
    window.y = -8
    window.state = 6
    last.dir = C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126\\RGBtoCMYK.java
    last.interactions.dir = C:\\Users\\&lt;anonymized user.name>\\Documents\\COS126
    tabbedpanes.state = 640 400 700 400
    new.version.notification.last = 1253374784560
    drjava.survey.notification.last = 1253200968064
    drjava.survey.result.last = http://www.drjava.org/submit-usage.php?rev=5004&os.name=Windows%20Vista&os.version=6.0&java.version=1.6.0_16&java.vendor=Sun%20Microsystems%20Inc.
    file.ext.registration = always

    Used memory: about 23.40 megabytes
    Free memory: about 14.50 megabytes
    Total memory: about 37.91 megabytes
    Total memory can expand to: about 63.56 megabytes

    Number of processors/cores: 2