Hi Dan,

I'll try the first option, I am sure to learn something from that. I've
spent a frustrating day and still not got it working. The fact that I have
one working (the simpleapp archetype) and one not and cannot see what the
critical difference is, makes me want to ....

I assume that all that really should be different, to what I have working
in my project with 1.9.0, is in the parent pom? That is where the isis
version is defined at least. So changing that pom to be what the simpleapp
has and adding in the dependancies that I make use of (over and above
simpleapp) should be enough (maybe). I added this 1.10.0 pom.xml to Github
just now, maybe you could you give it a run next week?

https://github.com/Stephen-Cameron-Data-Services/isis-chats

I have a free week now to finish this project off, hopefully. I've just
been adding tests for a while as I have found a few spare hours. I also
'dabble' in boat building.



On Sat, Oct 24, 2015 at 5:08 PM, Dan Haywood <d...@haywood-associates.co.uk>
wrote:

> Can't tell myself from that stacktrace what the issue is, I'm afraid.
>
> Two suggestions.
>
> First, if you pull down the Isis source code and build locally, then you'll
> find that the simpleapp (from which the archetype is generated) lives under
> examples/application/simpleapp.  So you could copy out that code and then
> paste your app into htat.
>
> Second, if you want to do a screenshare with me sometime this weekend so we
> can debug your problems directly, contact me off-list.
>
> HTH
> Dan
>
>
> On 24 October 2015 at 05:24, Stephen Cameron <steve.cameron...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I am trying to run my app with 1.10.0-SNAPSHOT and having similar
> problems
> > to what I had going from 1.8.0 to 1.90.0. Then I grabbed a working
> > simpleapp archetype and udated it with my dom classes. Now I am having
> > troubles doing event that.
> >
> > I get the following Guice errors, debugging this kind of issue is beyond
> my
> > skills.
> >
> > 15:11:56,933  [ServicesInstallerFromConfigurationAndAnnotation main
> > INFO ]  installing
> >
> >
> org.apache.isis.core.runtime.services.ServicesInstallerFromConfigurationAndAnnotation
> > 15:11:56,999  [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.attendance.AttendanceLists';
> > au.com.scds.chats.dom.module.attendance.AttendanceLists
> >   at
> >
> >
> org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:139)
> >   at
> >
> >
> org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:139)
> >   while locating org.apache.isis.core.runtime.system.IsisSystem
> >     for field at
> >
> >
> org.apache.isis.viewer.wicket.viewer.IsisWicketApplication.system(IsisWicketApplication.java:151)
> >   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:265)
> >     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:427)
> >     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.attendance.AttendanceLists';
> > au.com.scds.chats.dom.module.attendance.AttendanceLists
> >     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:141)
> >     at
> >
> >
> org.apache.isis.core.runtime.systemusinginstallers.IsisSystemThatUsesInstallersFactory.createSystem(IsisSystemThatUsesInstallersFactory.java:98)
> >     at
> >
> >
> org.apache.isis.core.runtime.runner.IsisInjectModule.provideIsisSystem(IsisInjectModule.java:139)
> >     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
> >
>

Reply via email to