gpicron / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
1 stars 1 forks source link

Jetty failed startup com.google.inject.internal.ComputationException: java.lang.IncompatibleClassChangeError #165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I'm using Guice with GWT and I've never got this problem until I updated 
FireFox to 3.6.20 and Firebug to 1.7.3. I run the code on Window XP.

My colleagues run the same code on Linux without problem.

What is the expected output? What do you see instead?

00:00:00,000 [WARN] Failed startup of context 
com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload@1080876{/,D
:\geasysecu\client\target\client-1.0-SNAPSHOT}
com.google.inject.internal.ComputationException: 
java.lang.IncompatibleClassChangeError: Implementing class  at 
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553)     at 
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)     at 
com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcu
rrentHashMap.java:2041)     at 
com.google.inject.internal.FailableCache.get(FailableCache.java:46)     at 
com.google.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:52)
    at 
com.google.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:
57)     at com.google.inject.InjectorImpl.initializeBinding(InjectorImpl.java:377) 
    at 
com.google.inject.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:645) 
    at 
com.google.inject.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.jav
a:581)  at 
com.google.inject.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:172)  at 
com.google.inject.InjectorImpl.getBindingOrThrow(InjectorImpl.java:132)     at 
com.google.inject.InjectorImpl.getInternalFactory(InjectorImpl.java:651)    at 
com.google.inject.FactoryProxy.notify(FactoryProxy.java:48)     at 
com.google.inject.BindingProcessor.runCreationListeners(BindingProcessor.java:23
0)  at 
com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:131)
    at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)    at 
com.google.inject.Guice.createInjector(Guice.java:92)   at 
com.google.inject.Guice.createInjector(Guice.java:69)   at 
com.google.inject.Guice.createInjector(Guice.java:59)   at 
com.ebmwebsourcing.geasysecu.server.config.GeasySecuServerConfig.getInjector(Gea
sySecuServerConfig.java:42)     at 
com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceSe
rvletContextListener.java:43)   at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) 
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)     at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) 
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) 
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)   at 
com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(Jet
tyLauncher.java:461)    at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)    at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)   at 
org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) 
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) 
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) 
    at org.mortbay.jetty.Server.doStart(Server.java:222)    at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)    at 
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:565)  at 
com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494)    at 
com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058)   at 
com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800)    at 
com.google.gwt.dev.DevMode.main(DevMode.java:304) Caused by: 
java.lang.IncompatibleClassChangeError: Implementing class  at 
java.lang.ClassLoader.defineClass1(Native Method)   at 
java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)     at 
java.lang.ClassLoader.defineClass(ClassLoader.java:616)     at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)     at 
java.net.URLClassLoader.defineClass(URLClassLoader.java:283)    at 
java.net.URLClassLoader.access$000(URLClassLoader.java:58)  at 
java.net.URLClassLoader$1.run(URLClassLoader.java:197)  at 
java.security.AccessController.doPrivileged(Native Method)  at 
java.net.URLClassLoader.findClass(URLClassLoader.java:190)  at 
com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClass
LoaderExtension.findClass(JettyLauncher.java:365)   at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
    at 
org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
    at java.lang.Class.getDeclaredConstructors0(Native Method)  at 
java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)     at 
java.lang.Class.getDeclaredConstructors(Class.java:1836)    at 
com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:185) 
    at 
com.google.inject.ConstructorInjectorStore.createConstructor(ConstructorInjector
Store.java:61)  at 
com.google.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.j
ava:31)     at 
com.google.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.jav
a:39)   at 
com.google.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.jav
a:35)   at 
com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35)     at 
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549)     at 
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)     at 
com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcu
rrentHashMap.java:2041)     at 
com.google.inject.internal.FailableCache.get(FailableCache.java:46)     at 
com.google.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:52)
    at 
com.google.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:
57)     at com.google.inject.InjectorImpl.initializeBinding(InjectorImpl.java:377) 
    at 
com.google.inject.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:645) 
    at 
com.google.inject.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.jav
a:581)  at 
com.google.inject.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:172)  at 
com.google.inject.InjectorImpl.getBindingOrThrow(InjectorImpl.java:132)     at 
com.google.inject.InjectorImpl.getInternalFactory(InjectorImpl.java:651)    at 
com.google.inject.FactoryProxy.notify(FactoryProxy.java:48)     at 
com.google.inject.BindingProcessor.runCreationListeners(BindingProcessor.java:23
0)  at 
com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:131)
    at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)    at 
com.google.inject.Guice.createInjector(Guice.java:92)   at 
com.google.inject.Guice.createInjector(Guice.java:69)   at 
com.google.inject.Guice.createInjector(Guice.java:59)   at 
com.ebmwebsourcing.geasysecu.server.config.GeasySecuServerConfig.getInjector(Gea
sySecuServerConfig.java:42)     at 
com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceSe
rvletContextListener.java:43)   at 
org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) 
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)     at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) 
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) 
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)   at 
com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(Jet
tyLauncher.java:461)    at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)    at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)   at 
org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) 
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) 
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) 
    at org.mortbay.jetty.Server.doStart(Server.java:222)    at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)    at 
com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:565)  at 
com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494)    at 
com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058)   at 
com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800)    at 
com.google.gwt.dev.DevMode.main(DevMode.java:304)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by netty...@gmail.com on 23 Aug 2011 at 1:57

Attachments: