isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Cameron <steve.cameron...@gmail.com>
Subject Re: problems merging code
Date Fri, 25 Sep 2015 01:28:16 GMT
Errors are like this:

11:07:19,919  [IsisWicketApplication main       ERROR]  Failed to initialize
com.google.inject.ProvisionException: Guice provision errors:

1) Error in custom provider,
org.apache.isis.core.commons.factory.InstanceCreationException: Could not
instantiate an object of class
'au.com.scds.chats.dom.module.participant.Participants';
au.com.scds.chats.dom.module.participant.Participants
  at
org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:138)
  at
org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:138)
  while locating org.apache.isis.core.runtime.system.IsisSystem
    for field at
org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.system(IsisWicketApplication.java:142)
  while locating domainapp.webapp.DomainApplication

1 error
    at
com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:451)
    at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:65)
    at
com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944)
    at
org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.init(IsisWicketApplication.java:256)
    at domainapp.webapp.DomainApplication.init(DomainApplication.java:64)
    at org.apache.wicket.Application.initApplication(Application.java:823)
    at
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:424)
    at
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:351)
    at
org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:137)
    at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:854)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:346)
    at
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1368)
    at
org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:320)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1335)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:735)
    at
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:511)
    at
org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:403)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
    at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
    at org.eclipse.jetty.server.Server.start(Server.java:405)
    at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
    at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
    at org.eclipse.jetty.server.Server.doStart(Server.java:372)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
    at
org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:457)
    at
org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
    at
org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
    at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.isis.core.commons.factory.InstanceCreationException:
Could not instantiate an object of class
'au.com.scds.chats.dom.module.participant.Participants';
au.com.scds.chats.dom.module.participant.Participants
    at
org.apache.isis.core.runtime.services.ServiceInstantiator.instantiate(ServiceInstantiator.java:361)
    at
org.apache.isis.core.runtime.services.ServiceInstantiator.instantiateSingleton(ServiceInstantiator.java:141)
    at
org.apache.isis.core.runtime.services.ServiceInstantiator.createInstance(ServiceInstantiator.java:133)
    at
org.apache.isis.core.runtime.services.ServiceInstantiator.createInstance(ServiceInstantiator.java:110)
    at
org.apache.isis.core.runtime.services.ServicesInstallerUtils.instantiateService(ServicesInstallerUtils.java:81)
    at
org.apache.isis.core.runtime.services.ServicesInstallerUtils$1.apply(ServicesInstallerUtils.java:96)
    at
org.apache.isis.core.runtime.services.ServicesInstallerUtils$1.apply(ServicesInstallerUtils.java:93)
    at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
    at
com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
    at com.google.common.collect.Iterators$7.computeNext(Iterators.java:646)
    at
com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
    at
com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
    at com.google.common.collect.Iterators.addAll(Iterators.java:356)
    at com.google.common.collect.Lists.newArrayList(Lists.java:147)
    at
com.google.common.collect.Collections2$FilteredCollection.toArray(Collections2.java:217)
    at java.util.ArrayList.<init>(ArrayList.java:177)
    at com.google.common.collect.Lists.newArrayList(Lists.java:129)
    at
org.apache.isis.core.runtime.services.ServicesInstallerUtils.instantiateServicesFrom(ServicesInstallerUtils.java:89)
    at
org.apache.isis.core.runtime.services.ServicesInstallerFromConfigurationAndAnnotation.getServices(ServicesInstallerFromConfigurationAndAnnotation.java:97)
    at
org.apache.isis.core.runtime.systemusinginstallers.IsisComponentProviderUsingInstallers.<init>(IsisComponentProviderUsingInstallers.java:142)
    at
org.apache.isis.core.runtime.systemusinginstallers.IsisSystemThatUsesInstallersFactory.createSystem(IsisSystemThatUsesInstallersFactory.java:93)
    at
org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:138)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at
com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:104)
    at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at
com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
    at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
    at
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75)
    at
com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73)
    at
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
    at
com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73)
    at
com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60)
    ... 56 more

On Fri, Sep 25, 2015 at 11:20 AM, Stephen Cameron <
steve.cameron.62@gmail.com> wrote:

> Hi,
>
> I am trying to effectivelly replace a old version of my project in Github
> with a new working Isis 1.9.0 version.
>
> I have a problem now when running webapp using mvn jetty:run that guice
> cannot load a class at startup.
>
> Its no doubt something that I have not renamed or replaced in the old
> version.
>
> Hoping that someone might be able to help sort it out.
>
> repository url is:
> https://github.com/Stephen-Cameron-Data-Services/isis-chats.git
>
> Steve
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message