Thursday, September 30, 2010

plugin failed to connect to hosted mode server at...

I created a simple project that uses gwt and gwt-maps.jar, which
worked few days ago, and now all of a sudden not working. I recreated
it multiple times but no luck. Every time i put address into my
browser I get 'plugin failed to connect blah blah'

After running it Chrome the dev mode window gives me these errors:

22:31:23.739 [ERROR] [simplemaps] Exception initializing module
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$JarLoader.findResource(Unknown Source)
at sun.misc.URLClassPath.findResource(Unknown Source)
at java.net.URLClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:240)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:226)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:
122)
at
org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:
181)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:
2460)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:
2181)
at
org.eclipse.jdt.internal.compiler.ast.SingleTypeReference.getTypeBinding(SingleTypeReference.java:
44)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:
130)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:
201)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:
179)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:
1167)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:
867)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1010)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectMemberTypes(ClassScope.java:
835)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1018)
at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:
290)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:
185)
at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:
719)
at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:
376)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
467)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:142)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
281)
at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
182)
at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
280)
at com.google.gwt.dev.DevModeBase
$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
180)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)

22:31:23.842 [ERROR] [simplemaps] Failed to load module 'simplemaps'
from user agent 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3'
at 192.168.1.100:65206
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$JarLoader.findResource(Unknown Source)
at sun.misc.URLClassPath.findResource(Unknown Source)
at java.net.URLClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(Unknown Source)
at java.lang.ClassLoader.getResource(Unknown Source)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:240)
at com.google.gwt.dev.javac.JdtCompiler
$INameEnvironmentImpl.findType(JdtCompiler.java:226)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:
122)
at
org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:
181)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getTypeOrPackage(Scope.java:
2460)
at
org.eclipse.jdt.internal.compiler.lookup.Scope.getType(Scope.java:
2181)
at
org.eclipse.jdt.internal.compiler.ast.SingleTypeReference.getTypeBinding(SingleTypeReference.java:
44)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.internalResolveType(TypeReference.java:
130)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:
201)
at
org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:
179)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:
1167)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:
867)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1010)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectMemberTypes(ClassScope.java:
835)
at
org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:
1018)
at
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:
290)
at
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:
185)
at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:
719)
at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:
376)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:420)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
467)
at com.google.gwt.dev.javac.CompilationStateBuilder
$CompileMoreLater.compile(CompilationStateBuilder.java:142)
at
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
281)
at
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
182)
at
com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
280)
at com.google.gwt.dev.DevModeBase
$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
180)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)


PLEASE I REALLY NEED TO GET THIS DONE

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment