Skip to content

JarDiff utility fails with  #11

@GoogleCodeExporter

Description

@GoogleCodeExporter
I am using jardiff-0.2-uber.jar and getting the following exception with some 
of the class file. Please provide a patch of let us know if you are aware of 
any workaround.

  [java] 
     [java] The ' characters around the executable and arguments are 
     [java] not part of the command. 
     [java] java.lang.ArrayIndexOutOfBoundsException: 3306 
     [java]     at org.objectweb.asm.ClassReader.readByte(Unknown Source) 
     [java]     at org.objectweb.asm.ClassReader.a(Unknown Source) 
     [java]     at org.objectweb.asm.ClassReader.a(Unknown Source) 
     [java]     at org.objectweb.asm.ClassReader.accept(Unknown Source) 
     [java]     at org.objectweb.asm.ClassReader.accept(Unknown Source) 
     [java]     at org.osjava.jardiff.JarDiff.loadClassInfo(JarDiff.java:194) 
     [java]     at org.osjava.jardiff.JarDiff.loadClasses(JarDiff.java:257) 
     [java]     at 
org.osjava.jardiff.JarDiff.loadOldClasses(JarDiff.java:293) 
     [java]     at org.osjava.jardiff.Main.main(Main.java:238) 
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) 
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j 
ava:25) 
     [java]     at java.lang.reflect.Method.invoke(Method.java:597) 
     [java]     at 
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410) 
     [java]     at 
org.codehaus.classworlds.Launcher.launch(Launcher.java:344) 
     [java]     at org.codehaus.classworlds.Launcher.main(Launcher.java:474) 
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) 
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j 
ava:25) 
     [java]     at java.lang.reflect.Method.invoke(Method.java:597) 
     [java]     at 
org.codehaus.classworlds.boot.Bootstrapper.bootstrap(Bootstrapper.java:209) 
     [java]     at 
org.codehaus.classworlds.boot.Bootstrapper.main(Bootstrapper.java:116) 


Original issue reported on code.google.com by abhicy...@gmail.com on 3 Dec 2010 at 9:32

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions