java.lang.RuntimeException: Error instantiating class org.hibernate.validator.internal.cdi.ValidationExtension

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Validation.xml doesn't allow me to run the server

    Stack Overflow | 6 months ago | Luis Paulo Ramos
    java.lang.RuntimeException: Error instantiating class org.hibernate.validator.internal.cdi.ValidationExtension
  2. 0

    Re: spring context troubles

    tapestry-users | 8 years ago | Otho
    java.lang.RuntimeException: Service id > > > >>>>> 'common-conf-properties' > > > >>>>> is not defined by any module. Defined services: > > > >>>>> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, > > > >>>>> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, > > > Alias, > > > >>>>> AliasOverrides, AppSubscriptionHandler, ApplicationContext, > > > >>>>> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, > > > >>>>> ApplicationStateManager, > > ApplicationStatePersistenceStrategySource, > > > >>>>> AspectDecorator, AssetBindingFactory, AssetObjectProvider, > > > AssetSource, > > > >>>>> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, > > > >>>>> BeanModelSource, > > > >>>>> BindingSource, ChainBuilder, ClassNameLocator, > > > >>>>> ClasspathAssetAliasManager, > > > >>>>> ClasspathAssetFactory, ClasspathURLConverter, > > > >>>>> ClientPersistentFieldStorage, > > > >>>>> ClientPersistentFieldStrategy, ComponentClassCache, > > > >>>>> ComponentClassFactory, > > > >>>>> ComponentClassResolver, ComponentClassTransformWorker, > > > >>>>> ComponentClassTransformer, ComponentClassesInvalidationEventHub, > > > >>>>> ComponentDefaultProvider, ComponentEventRequestHandler, > > > >>>>> ComponentEventResultProcessor, ComponentInstanceResultProcessor, > > > >>>>> ComponentInstantiatorSource, ComponentInvocationMap, > > > >>>>> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, > > > >>>>> ComponentPageElementResourcesSource, ComponentSource, > > > >>>>> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, > > > >>>>> Context, > > > >>>>> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, > > > >>>>> CookieSink, > > > >>>>> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, > > > >>>>> DefaultDataTypeAnalyzer, DefaultFileItemFactory, > > > >>>>> DefaultImplementationBuilder, EndOfRequestListenerHub, > > Environment, > > > >>>>> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, > > > >>>>> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, > > > >>>>> FieldTranslatorSource, FieldValidationSupport, > > > >>>>> FieldValidatorDefaultSource, > > > >>>>> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, > > > >>>>> HttpServletRequest, HttpServletRequestHandler, > IgnoredPathsFilter, > > > >>>>> InjectionProvider, InternalRequestGlobals, LinkCreationHub, > > > >>>>> LinkFactory, > > > >>>>> LocalizationSetter, LocationRenderer, LoggingDecorator, > > > MarkupRenderer, > > > >>>>> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, > > > >>>>> MessageBindingFactory, MetaDataLocator, MultipartDecoder, > > > >>>>> NullFieldStrategyBindingFactory, NullFieldStrategySource, > > > >>>>> ObjectRenderer, > > > >>>>> OsForceTypeFilter, PageActivationContextCollector, > > > >>>>> PageContentTypeAnalyzer, > > > >>>>> PageDocumentGenerator, PageElementFactory, PageLoader, > > > >>>>> PageMarkupRenderer, > > > >>>>> PagePool, PageRenderQueue, PageRenderRequestHandler, > > > >>>>> PageResponseRenderer, > > > >>>>> PageTemplateLocator, PartialMarkupRenderer, > > PersistentFieldManager, > > > >>>>> PersistentLocale, PipelineBuilder, PropBindingFactory, > > > PropertyAccess, > > > >>>>> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, > > > >>>>> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, > > > >>>>> RequestHandler, RequestLogFilter, RequestPageCache, > > > >>>>> RequestPathOptimizer, > > > >>>>> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, > > > >>>>> ResourceStreamer, Response, ResponseRenderer, > > ServiceLifecycleSource, > > > >>>>> ServletApplicationInitializer, > > > >>>>> SessionApplicationStatePersistenceStrategy, > > > >>>>> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, > > > >>>>> TranslateBindingFactory, TranslatorSource, TypeCoercer, > > URLEncoder, > > > >>>>> UpdateListenerHub, ValidateBindingFactory, > > > >>>>> ValidationConstraintGenerator, > > > >>>>> ValidationMessagesSource, ValueEncoderSource. > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(Regi > > stryImpl.java:321) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav > > a:288) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocat > > orImpl.java:39) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.pro > > vide(ServiceAnnotationObjectProvider.java:35) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invo > > ke(MasterObjectProviderImpl.java:50) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunna > > ble.java:36) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTracke > > rImpl.java:52) > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> Howard Lewis Ship wrote: > > > >>>>>> > > > >>>>>> We need to figure out the order that the filters are > initialized, > > so > > > >>>>>> that the Tapestry filter can be initialized first. I think just > > > >>>>>> listing it first in the web.xml may do the trick. > > > >>>>>> > > > >>>>>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla < > > > fern@alum.mit.edu> > > > >>>>>> wrote: > > > >>>>>>> > > > >>>>>>> I just tried it, and it won't work like that :( > > > >>>>>>> > > > >>>>>>> Like I said, I use spring outside of tapestry. So I need a > > valid > > > >>>>>>> working > > > >>>>>>> spring context before the first request ever gets to tapestry > > > >>>>>>> filter.. > > > >>>>>>> > > > >>>>>>> Here is my exception when I comment out the normal > > > >>>>>>> ContextLoaderListener.. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> [Console output redirected to > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > file:/local/fern/work/social-app- > > repository/trunk/fanwars/site/../../log.txt] > > > >>>>>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed > > > OpenDS > > > >>>>>>> java.lang.NullPointerException > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) > > > >>>>>>> at > > > >>>>>>> > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:58 > > 9) > > > >>>>>>> at > > > >>>>>>> > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121 > > 6) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > > >>>>>>> at org.mortbay.jetty.Server.doStart(Server.java:222)
  3. 0

    Re: spring context troubles

    tapestry-users | 8 years ago | Otho
    java.lang.RuntimeException: Service id > > > >>>>> 'common-conf-properties' > > > >>>>> is not defined by any module. Defined services: > > > >>>>> ActionRenderResponseGenerator, AjaxComponentEventRequestHandler, > > > >>>>> AjaxComponentEventResultProcessor, AjaxPartialResponseRenderer, > > > Alias, > > > >>>>> AliasOverrides, AppSubscriptionHandler, ApplicationContext, > > > >>>>> ApplicationDefaults, ApplicationGlobals, ApplicationInitializer, > > > >>>>> ApplicationStateManager, > > ApplicationStatePersistenceStrategySource, > > > >>>>> AspectDecorator, AssetBindingFactory, AssetObjectProvider, > > > AssetSource, > > > >>>>> BaseURLSource, BeanBlockOverrideSource, BeanBlockSource, > > > >>>>> BeanModelSource, > > > >>>>> BindingSource, ChainBuilder, ClassNameLocator, > > > >>>>> ClasspathAssetAliasManager, > > > >>>>> ClasspathAssetFactory, ClasspathURLConverter, > > > >>>>> ClientPersistentFieldStorage, > > > >>>>> ClientPersistentFieldStrategy, ComponentClassCache, > > > >>>>> ComponentClassFactory, > > > >>>>> ComponentClassResolver, ComponentClassTransformWorker, > > > >>>>> ComponentClassTransformer, ComponentClassesInvalidationEventHub, > > > >>>>> ComponentDefaultProvider, ComponentEventRequestHandler, > > > >>>>> ComponentEventResultProcessor, ComponentInstanceResultProcessor, > > > >>>>> ComponentInstantiatorSource, ComponentInvocationMap, > > > >>>>> ComponentMessagesInvalidationEventHub, ComponentMessagesSource, > > > >>>>> ComponentPageElementResourcesSource, ComponentSource, > > > >>>>> ComponentTemplateSource, ComponentTemplatesInvalidationEventHub, > > > >>>>> Context, > > > >>>>> ContextAssetFactory, ContextPathEncoder, ContextValueEncoder, > > > >>>>> CookieSink, > > > >>>>> CookieSource, Cookies, CtClassSource, DataTypeAnalyzer, > > > >>>>> DefaultDataTypeAnalyzer, DefaultFileItemFactory, > > > >>>>> DefaultImplementationBuilder, EndOfRequestListenerHub, > > Environment, > > > >>>>> EnvironmentalShadowBuilder, ExceptionAnalyzer, ExceptionTracker, > > > >>>>> FacebookAuthFilterImpl, FactoryDefaults, FbForceModeFilter, > > > >>>>> FieldTranslatorSource, FieldValidationSupport, > > > >>>>> FieldValidatorDefaultSource, > > > >>>>> FieldValidatorSource, FormSupport, HiddenFieldLocationRules, > > > >>>>> HttpServletRequest, HttpServletRequestHandler, > IgnoredPathsFilter, > > > >>>>> InjectionProvider, InternalRequestGlobals, LinkCreationHub, > > > >>>>> LinkFactory, > > > >>>>> LocalizationSetter, LocationRenderer, LoggingDecorator, > > > MarkupRenderer, > > > >>>>> MarkupWriterFactory, MasterDispatcher, MasterObjectProvider, > > > >>>>> MessageBindingFactory, MetaDataLocator, MultipartDecoder, > > > >>>>> NullFieldStrategyBindingFactory, NullFieldStrategySource, > > > >>>>> ObjectRenderer, > > > >>>>> OsForceTypeFilter, PageActivationContextCollector, > > > >>>>> PageContentTypeAnalyzer, > > > >>>>> PageDocumentGenerator, PageElementFactory, PageLoader, > > > >>>>> PageMarkupRenderer, > > > >>>>> PagePool, PageRenderQueue, PageRenderRequestHandler, > > > >>>>> PageResponseRenderer, > > > >>>>> PageTemplateLocator, PartialMarkupRenderer, > > PersistentFieldManager, > > > >>>>> PersistentLocale, PipelineBuilder, PropBindingFactory, > > > PropertyAccess, > > > >>>>> PropertyConduitSource, PropertyShadowBuilder, RegistryStartup, > > > >>>>> RenderSupport, Request, RequestExceptionHandler, RequestGlobals, > > > >>>>> RequestHandler, RequestLogFilter, RequestPageCache, > > > >>>>> RequestPathOptimizer, > > > >>>>> RequestSecurityManager, ResourceCache, ResourceDigestGenerator, > > > >>>>> ResourceStreamer, Response, ResponseRenderer, > > ServiceLifecycleSource, > > > >>>>> ServletApplicationInitializer, > > > >>>>> SessionApplicationStatePersistenceStrategy, > > > >>>>> StrategyBuilder, SymbolSource, TemplateParser, ThreadLocale, > > > >>>>> TranslateBindingFactory, TranslatorSource, TypeCoercer, > > URLEncoder, > > > >>>>> UpdateListenerHub, ValidateBindingFactory, > > > >>>>> ValidationConstraintGenerator, > > > >>>>> ValidationMessagesSource, ValueEncoderSource. > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.locateModuleForService(Regi > > stryImpl.java:321) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.RegistryImpl.getService(RegistryImpl.jav > > a:288) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.ObjectLocatorImpl.getService(ObjectLocat > > orImpl.java:39) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.internal.services.ServiceAnnotationObjectProvider.pro > > vide(ServiceAnnotationObjectProvider.java:35) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.services.MasterObjectProviderImpl$1.invo > > ke(MasterObjectProviderImpl.java:50) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.InvokableToRunnable.run(InvokableToRunna > > ble.java:36) > > > >>>>> at > > > >>>>> > > > >>>>> > > > >>>>> > > > > > > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTracke > > rImpl.java:52) > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> > > > >>>>> Howard Lewis Ship wrote: > > > >>>>>> > > > >>>>>> We need to figure out the order that the filters are > initialized, > > so > > > >>>>>> that the Tapestry filter can be initialized first. I think just > > > >>>>>> listing it first in the web.xml may do the trick. > > > >>>>>> > > > >>>>>> On Mon, Dec 29, 2008 at 4:00 PM, Fernando Padilla < > > > fern@alum.mit.edu> > > > >>>>>> wrote: > > > >>>>>>> > > > >>>>>>> I just tried it, and it won't work like that :( > > > >>>>>>> > > > >>>>>>> Like I said, I use spring outside of tapestry. So I need a > > valid > > > >>>>>>> working > > > >>>>>>> spring context before the first request ever gets to tapestry > > > >>>>>>> filter.. > > > >>>>>>> > > > >>>>>>> Here is my exception when I comment out the normal > > > >>>>>>> ContextLoaderListener.. > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> [Console output redirected to > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > file:/local/fern/work/social-app- > > repository/trunk/fanwars/site/../../log.txt] > > > >>>>>>> 2008-12-29 15:58:26,140 [main] ERROR org.mortbay.log - failed > > > OpenDS > > > >>>>>>> java.lang.NullPointerException > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.spring.OpenDSFilter.init(OpenDSFilter.java:28) > > > >>>>>>> at > > > >>>>>>> > > com.protrade.common.web.ProtradeFilter.init(ProtradeFilter.java:37) > > > >>>>>>> at > > > >>>>>>> > > > org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:58 > > 9) > > > >>>>>>> at > > > >>>>>>> > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:121 > > 6) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509) > > > >>>>>>> at > > > >>>>>>> > > > >>>>>>> > > > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447) at > > > >>>>>>> > > > >>>>>>> > > > >>>>>>> > > > > > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > > >>>>>>> at org.mortbay.jetty.Server.doStart(Server.java:222)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Error instantiating class org.hibernate.validator.internal.cdi.ValidationExtension

      at org.jboss.weld.util.ServiceLoader.prepareInstance()
    2. Weld Implementation
      WeldBootstrap.startInitialization
      1. org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:245)
      2. org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:214)
      3. org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:182)
      4. org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:153)
      5. org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:297)
      6. org.jboss.weld.bootstrap.ExtensionBeanDeployer.addExtensions(ExtensionBeanDeployer.java:109)
      7. org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:312)
      8. org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:73)
      8 frames
    3. org.jboss.weld
      Listener.contextInitialized
      1. org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:140)
      1 frame
    4. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:771)
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
      5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
      7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      9. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      10. org.eclipse.jetty.server.Server.doStart(Server.java:277)
      11. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      11 frames
    5. runjettyrun
      Bootstrap.main
      1. runjettyrun.Bootstrap.main(Bootstrap.java:80)
      1 frame