#779 unknown constant tag 97

6: Crashes
closed-out-of-date
Other (88)
5
2009-08-20
2009-08-20
Anonymous
No

I'm using Mepis Linux 8.x. I downloaded drjava-beta-20090803-r4975.jar.
First run from command line was OK, but the program did not find any compilers. Therefore I installed JDK availble to my OS:
java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK Client VM (build 1.6.0_0-b11, mixed mode, sharing)

Next startup crashes with errors.... Debug file attached.

Petri

Discussion

  • DrJava debug output

     
    Attachments
  • Mathias Ricken
    Mathias Ricken
    2009-08-20

    Could you please try the jar file from our latest weekly build? Please download the jar file from:
    http://www.cs.rice.edu/~javaplt/drjavarice/weekly/

    Although I'm confused about why no one else has reported this, this may have been a corrupt class file.

     
  • Mathias Ricken
    Mathias Ricken
    2009-08-20

    I'm also pasting the attached drjava_debug.txt file here to make it easier to read and search:

    java.lang.ClassFormatError: Unknown constant tag 97 in class file koala/dynamicjava/tree/ArrayTypeName
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
    at edu.rice.cs.drjava.model.definitions.DefinitionsDocument.getPackageName(DefinitionsDocument.java:819)
    at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc$1.make(AbstractGlobalModel.java:2896)
    at edu.rice.cs.drjava.model.cache.DocumentCache$DocManager.makeDocument(DocumentCache.java:173)
    at edu.rice.cs.drjava.model.cache.DocumentCache$DocManager.getDocument(DocumentCache.java:197)
    at edu.rice.cs.drjava.model.AbstractGlobalModel$ConcreteOpenDefDoc.getDocument(AbstractGlobalModel.java:2642)
    at edu.rice.cs.drjava.ui.MainFrame.<init>(MainFrame.java:3197)
    at edu.rice.cs.drjava.DrJavaRoot.main(DrJavaRoot.java:163)
    at edu.rice.cs.drjava.DrJava.configureAndLoadDrJavaRoot(DrJava.java:250)
    at edu.rice.cs.drjava.DrJava.main(DrJava.java:145)

    System Properties:
    DrJava Version drjava-20090803-r4975
    DrJava Build Time 20090803-2355

    drjava.debug.port = 3593
    java.runtime.name = OpenJDK Runtime Environment
    sun.boot.library.path = /usr/lib/jvm/java-6-openjdk/jre/lib/i386
    java.vm.version = 1.6.0_0-b11
    java.vm.vendor = Sun Microsystems Inc.
    java.vendor.url = http://java.sun.com/
    path.separator = :
    java.vm.name = OpenJDK Client VM
    file.encoding.pkg = sun.io
    sun.java.launcher = SUN_STANDARD
    user.country = US
    sun.os.patch.level = unknown
    java.vm.specification.name = Java Virtual Machine Specification
    user.dir = <anonymized user.home>
    java.runtime.version = 1.6.0_0-b11
    java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
    java.endorsed.dirs = /usr/lib/jvm/java-6-openjdk/jre/lib/endorsed
    os.arch = i386
    javax.accessibility.assistive_technologies = org.GNOME.Accessibility.JavaBridge
    java.io.tmpdir = /tmp
    line.separator = "\u000a"
    java.vm.specification.vendor = Sun Microsystems Inc.
    os.name = Linux
    sun.jnu.encoding = ISO-8859-1
    java.library.path = /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib:/usr/lib/jni
    java.specification.name = Java Platform API Specification
    java.class.version = 50.0
    sun.management.compiler = HotSpot Client Compiler
    os.version = 2.6.27-1-mepis-smp
    user.home = <anonymized user.home>
    user.zoneinfo.dir = /usr/share/javazi
    user.timezone = America/Chicago
    java.awt.printerjob = sun.print.PSPrinterJob
    file.encoding = ISO-8859-1
    java.specification.version = 1.6
    java.class.path = /data/downloads/school/drjava-beta-20090803-r4975.jar
    user.name = <anonymized user.name>
    java.vm.specification.version = 1.0
    java.home = /usr/lib/jvm/java-6-openjdk/jre
    sun.arch.data.model = 32
    user.language = en
    java.specification.vendor = Sun Microsystems Inc.
    java.vm.info = mixed mode, sharing
    java.version = 1.6.0_0
    java.ext.dirs = /usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext
    sun.boot.class.path = /usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk/jre/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.cpu.isalist =

    #DrJava configuration file
    #Thu Aug 20 09:43:07 CDT 2009
    key.delete.next = [shift DELETE]
    key.delete.previous = [shift BACK_SPACE]
    language.level = 1
    window.width = 943
    window.x = 160
    window.y = 20
    last.dir = <anonymized user.home>
    last.interactions.dir = <anonymized user.home>
    tabbedpanes.state = 640 384 700 400
    new.version.notification.last = 1250778456773

    Used memory: about 4.03 megabytes
    Free memory: about 920.98 kilobytes
    Total memory: about 4.94 megabytes
    Total memory can expand to: about 508.06 megabytes

    Number of processors/cores: 1

     
  • Latest weekly build seems to be working.
    Thank you for the quick response.

    Petri

     
  • Mathias Ricken
    Mathias Ricken
    2009-08-20

    • assigned_to: nobody --> mgricken
    • status: open --> closed-out-of-date