You have a corrupted jar file in your classpath, possibly due to an interrupted download.
On Thu, Sep 11, 2008 at 3:42 AM, timmys <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to upgrade my GWT 1.4 project to 1.52. But I get this > strange exception when invoking the compiler. I can compile the exact > same code with 1.4 perfectly. > Has anyone seen this before? > > Exception in thread "main" sun.misc.InvalidJarIndexException: Invalid > index > at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source) > at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source) > at sun.misc.URLClassPath.getResource(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 java.lang.ClassLoader.loadClassInternal(Unknown Source) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Unknown Source) > at com.google.gwt.dev.javac.JdtCompiler > $INameEnvironmentImpl.findType(JdtCompiler.java:140) > at com.google.gwt.dev.javac.JdtCompiler > $INameEnvironmentImpl.findType(JdtCompiler.java:125) > at > org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.j > ava:122) > at > org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.j > ava:178) > at > org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java: > 2391) > at > org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java: > 2129) > at > org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.internalResolveTyp > e(ParameterizedSingleTypeReference.java:98) > at > org.eclipse.jdt.internal.compiler.ast.ParameterizedSingleTypeReference.resolveType(Parame > terizedSingleTypeReference.java:222) > at > org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java: > 1 > 14) > at > org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java: > 1121) > at > org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperInterfaces(ClassScope.jav > a:915) > at > org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java: > 961) > at > org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(Compil > ationUnitScope.java:290) > at > org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnv > ironment.java:218) > at > org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java: > 603) > at > org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java: > 357) > at > org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:371) > at > com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:277) > at > com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193) > at > com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java: > 115) > at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java: > 327) > at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:564) > at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:554) > at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:214) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
