java.lang.ClassFormatError: Truncated class file

Mojang JIRA | Aaron McCormack | 3 years ago
  1. 0

    Mod edit: An installed _HP QuickTest Professional (QTP)_ injects itself into the JVM when executing Minecraft. Result: java.lang.ClassFormatError: Truncated class file ---- Can not launch Minecraft *What I expected to happen was...:* Minecraft launcher finishes and game opens. *What actually happened was...:* Error message in launcher. {code} ---- Minecraft Crash Report ---- // Oh - I know what I did wrong! Time: 10/6/13 11:09 AM Description: Initializing game java.lang.ClassFormatError: Truncated class file at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at atv.O(SourceFile:391) at atv.d(SourceFile:599) at net.minecraft.client.main.Main.main(SourceFile:101) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.lang.ClassLoader.findBootstrapClass(Native Method) at java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at atv.O(SourceFile:391) -- Initialization -- Details: Stacktrace: at atv.d(SourceFile:599) at net.minecraft.client.main.Main.main(SourceFile:101) -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 34155640 bytes (32 MB) / 90046464 bytes (85 MB) up to 954466304 bytes (910 MB) JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~2\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~2\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: No suspicious classes found. IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 Launched Version: 1.6.4 LWJGL: 2.9.0 OpenGL: AMD Radeon HD 6800 Series GL version 4.1.10750 Compatibility Profile Context, ATI Technologies Inc. Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Pack: Default Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null {code} *Steps to Reproduce:* 1. Double click minecraft.exe 2. click play after user profile is selected 3. error occurs

    Mojang JIRA | 3 years ago | Aaron McCormack
    java.lang.ClassFormatError: Truncated class file
  2. 0

    Editing a .class file directly, playing around with opcodes

    Stack Overflow | 7 years ago | echox
    java.lang.ClassFormatError: Truncated class file
  3. 0

    [groovy-user] gmaven

    Google Groups | 8 years ago | hal arnold
    java.lang.ClassFormatError: Truncated class file
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issues/1.3.1 – Official Minecraft Wiki

    gamepedia.com | 4 months ago
    java.lang.ClassFormatError: Truncated class file
  6. 0

    Java lang thread run unknown source - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ClassFormatError: Truncated class file

    16 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassFormatError

      Truncated class file

      at java.lang.ClassLoader.findBootstrapClass()
    2. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.findBootstrapClass(Native Method)
      2. java.lang.ClassLoader.findBootstrapClassOrNull(Unknown Source)
      3. java.lang.ClassLoader.loadClass(Unknown Source)
      4. java.lang.ClassLoader.loadClass(Unknown Source)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      6. java.lang.ClassLoader.loadClass(Unknown Source)
      6 frames
    3. Unknown
      atv.d
      1. atv.O(SourceFile:391)
      2. atv.d(SourceFile:599)
      2 frames
    4. MC Client
      Main.main
      1. net.minecraft.client.main.Main.main(SourceFile:101)
      1 frame