Issue 196 in google-gin: java.lang.NoClassDefFoundError: sun/security/timestamp/Timestamper

31 views
Skip to first unread message

googl...@googlecode.com

unread,
Nov 13, 2013, 4:48:38 AM11/13/13
to googl...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 196 by sweet...@gmail.com: java.lang.NoClassDefFoundError:
sun/security/timestamp/Timestamper
http://code.google.com/p/google-gin/issues/detail?id=196

15:02:50,809 INFO [stdout] (http--127.0.0.1-8080-6) Entering
in 'selectCertificate' method.....

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6)
com.google.inject.internal.ComputationException:
java.lang.NoClassDefFoundError: sun/security/timestamp/Timestamper

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.internal.FailableCache.get(FailableCache.java:46)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:52)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:57)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorImpl.initializeBinding(InjectorImpl.java:377)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:645)

15:02:51,418 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:581)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:172)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorImpl.getBindingOrThrow(InjectorImpl.java:132)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorImpl.getInternalFactory(InjectorImpl.java:651)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.FactoryProxy.notify(FactoryProxy.java:48)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.BindingProcessor.runCreationListeners(BindingProcessor.java:230)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:131)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.InjectorBuilder.build(InjectorBuilder.java:105)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.Guice.createInjector(Guice.java:92)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.Guice.createInjector(Guice.java:69)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.Guice.createInjector(Guice.java:59)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
xades4j.utils.XadesProfileCore.getInstance(XadesProfileCore.java:149)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
xades4j.production.XadesSigningProfile.newSigner(XadesSigningProfile.java:95)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.techi.eledger.signing.SignEledgerFileUsingXades4j.getSignedEledgerFile(SignEledgerFileUsingXades4j.java:111)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.techi.eledger.managedbean.ELedgerManagedbean.signEledgerFile(ELedgerManagedbean.java:1892)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
java.lang.reflect.Method.invoke(Method.java:606)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.el.parser.AstValue.invoke(AstValue.java:196)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.richfaces.event.MethodExpressionEventListener.processEvent(MethodExpressionEventListener.java:125)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.richfaces.view.facelets.FileUploadHandler$FileUploadListenerImpl.processFileUpload(FileUploadHandler.java:55)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.richfaces.event.FileUploadEvent.processListener(FileUploadEvent.java:48)

15:02:51,433 ERROR [stderr] (http--127.0.0.1-8080-6) at
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:759)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:935)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)

15:02:51,449 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
java.lang.Thread.run(Thread.java:744)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) Caused by:
java.lang.NoClassDefFoundError: sun/security/timestamp/Timestamper

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
java.lang.Class.getDeclaredConstructors0(Native Method)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2493)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
java.lang.Class.getDeclaredConstructors(Class.java:1901)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:185)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:61)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:31)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:39)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:35)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549)

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) ... 78 more

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) Caused by:
java.lang.ClassNotFoundException: sun.security.timestamp.Timestamper from
[Module "deployment.eLedgerApp.war:main" from Service Module Loader]

15:02:51,465 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

15:02:51,480 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

15:02:51,480 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

15:02:51,480 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

15:02:51,480 ERROR [stderr] (http--127.0.0.1-8080-6) at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)

15:02:51,480 ERROR [stderr] (http--127.0.0.1-8080-6) ... 88 more

15:03:13,133 INFO [stdout] (http--127.0.0.1-8080-6) [e-Ledger][11-13
15:03:13] DEBUG [http--127.0.0.1-8080-6]
ELedgerManagedbean.refreshEnterVariableOnClose(3942) | Entering
in'refreshEnterVariableOnClose' method..




--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

googl...@googlecode.com

unread,
Nov 13, 2013, 12:40:39 PM11/13/13
to googl...@googlegroups.com
Updates:
Status: Invalid

Comment #1 on issue 196 by aragos: java.lang.NoClassDefFoundError:
sun/security/timestamp/Timestamper
http://code.google.com/p/google-gin/issues/detail?id=196

This looks like a bug in either your program or Guice, I don't see any
references to Gin (com.google.gwt.inject) in there. Please look for help at
https://groups.google.com/forum/#!forum/google-guice.
Reply all
Reply to author
Forward
0 new messages