On Mon, Nov 9, 2015 at 12:02 AM, Jeroen van der Wal <jer...@stromboli.it> wrote:
> Have you tried raising the DN logging levels? > > log4j.logger.DataNucleus.Datastore.Native=DEBUG, Console > log4j.logger.DataNucleus.Datastore.Schema=DEBUG, Console > > Are all the entities the view uses being registered? Eg: are they in the > same package as your AppManifest? > > > Yes same package, I will try this later today and see what I can get from logs. > > On 8 November 2015 at 06:30, Stephen Cameron <steve.cameron...@gmail.com> > wrote: > > > seems to be the case, slightly annoying > > > > On Sun, Nov 8, 2015 at 3:10 PM, Stephen Cameron < > > steve.cameron...@gmail.com> > > wrote: > > > > > Hi, > > > > > > I am creating some database views via DataNucleus, but am getting some > > > errors on startup of my webapp (with an clean database so all tables > and > > > views get greated). When I look at the new database schema via MySQL > > > workbench I see the views have been created but not the tables, maybe > > this > > > is the origin of my errors. > > > > > > I cannot imagine why DN would do this, create views before creating > > tables. > > > > > > org.datanucleus.exceptions.NucleusDataStoreException: An exception was > > > thrown while adding/validating class(es) : Query was > > > empty|com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Query > > was > > > empty<|?at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method)<|?at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)<|?at > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<|?at > > > java.lang.reflect.Constructor.newInstance(Constructor.java:422)<|?at > > > com.mysql.jdbc.Util.handleNewInstance(Util.java:411)<|?at > > > com.mysql.jdbc.Util.getInstance(Util.java:386)<|?at > > > com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)<|?at > > > com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597)<|?at > > > com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)<|?at > > > com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)<|?at > > > com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)<|?at > > > com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)<|?at > > > com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2569)<|?at > > > com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:824)<|?at > > > com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:667)<|?at > > > > > > org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.execute(DelegatingStatement.java:246)<|?at > > > > > > org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.execute(DelegatingStatement.java:246)<|?at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:879)<|?at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.executeDdlStatementList(AbstractTable.java:830)<|?at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.create(AbstractTable.java:546)<|?at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.exists(AbstractTable.java:609)<|?at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performViewsValidation(RDBMSStoreManager.java:3508)<|?at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2889)<|?at > > > > > > org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:119)<|?at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager.createSchemaForClasses(RDBMSStoreManager.java:3842)<|?at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.createSchema(DataNucleusApplicationComponents.java:196)<|?at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.createPmfAndSchemaIfRequired(DataNucleusApplicationComponents.java:155)<|?at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.initialize(DataNucleusApplicationComponents.java:110)<|?at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.<init>(DataNucleusApplicationComponents.java:103)<|?at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller.createDataNucleusApplicationComponentsIfRequired(DataNucleusPersistenceMechanismInstaller.java:134)<|?at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller.createObjectStore(DataNucleusPersistenceMechanismInstaller.java:110)<|?at > > > > > > org.apache.isis.core.runtime.system.persistence.PersistenceSessionFactory.createPersistenceSession(PersistenceSessionFactory.java:95)<|?at > > > > > > org.apache.isis.core.runtime.system.session.IsisSessionFactory.openSession(IsisSessionFactory.java:141)<|?at > > > > > > org.apache.isis.core.runtime.system.context.IsisContextThreadLocal.openSessionInstance(IsisContextThreadLocal.java:147)<|?at > > > > > > org.apache.isis.core.runtime.system.context.IsisContext.openSession(IsisContext.java:279)<|?at > > > > > > org.apache.isis.core.runtime.system.IsisSystem.initializeServices(IsisSystem.java:207)<|?at > > > > > > org.apache.isis.core.runtime.system.IsisSystem.init(IsisSystem.java:140)<|?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)<|?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)<| > > > at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2923) > > > at > > > > > > org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:119) > > > at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager.createSchemaForClasses(RDBMSStoreManager.java:3842) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.createSchema(DataNucleusApplicationComponents.java:196) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.createPmfAndSchemaIfRequired(DataNucleusApplicationComponents.java:155) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.initialize(DataNucleusApplicationComponents.java:110) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.<init>(DataNucleusApplicationComponents.java:103) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller.createDataNucleusApplicationComponentsIfRequired(DataNucleusPersistenceMechanismInstaller.java:134) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller.createObjectStore(DataNucleusPersistenceMechanismInstaller.java:110) > > > at > > > > > > org.apache.isis.core.runtime.system.persistence.PersistenceSessionFactory.createPersistenceSession(PersistenceSessionFactory.java:95) > > > at > > > > > > org.apache.isis.core.runtime.system.session.IsisSessionFactory.openSession(IsisSessionFactory.java:141) > > > at > > > > > > org.apache.isis.core.runtime.system.context.IsisContextThreadLocal.openSessionInstance(IsisContextThreadLocal.java:147) > > > at > > > > > > org.apache.isis.core.runtime.system.context.IsisContext.openSession(IsisContext.java:279) > > > at > > > > > > org.apache.isis.core.runtime.system.IsisSystem.initializeServices(IsisSystem.java:207) > > > at > > > > org.apache.isis.core.runtime.system.IsisSystem.init(IsisSystem.java:140) > > > 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) > > > 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: > > > com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Query was > > empty > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > > > at > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > > > at java.lang.reflect.Constructor.newInstance(Constructor.java:422) > > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) > > > at com.mysql.jdbc.Util.getInstance(Util.java:386) > > > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) > > > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) > > > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) > > > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) > > > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) > > > at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619) > > > at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2569) > > > at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:824) > > > at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:667) > > > at > > > > > > org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.execute(DelegatingStatement.java:246) > > > at > > > > > > org.datanucleus.store.rdbms.datasource.dbcp.DelegatingStatement.execute(DelegatingStatement.java:246) > > > at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.executeDdlStatement(AbstractTable.java:879) > > > at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.executeDdlStatementList(AbstractTable.java:830) > > > at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.create(AbstractTable.java:546) > > > at > > > > > > org.datanucleus.store.rdbms.table.AbstractTable.exists(AbstractTable.java:609) > > > at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.performViewsValidation(RDBMSStoreManager.java:3508) > > > at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager$ClassAdder.run(RDBMSStoreManager.java:2889) > > > at > > > > > > org.datanucleus.store.rdbms.AbstractSchemaTransaction.execute(AbstractSchemaTransaction.java:119) > > > at > > > > > > org.datanucleus.store.rdbms.RDBMSStoreManager.createSchemaForClasses(RDBMSStoreManager.java:3842) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.createSchema(DataNucleusApplicationComponents.java:196) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.createPmfAndSchemaIfRequired(DataNucleusApplicationComponents.java:155) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.initialize(DataNucleusApplicationComponents.java:110) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusApplicationComponents.<init>(DataNucleusApplicationComponents.java:103) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller.createDataNucleusApplicationComponentsIfRequired(DataNucleusPersistenceMechanismInstaller.java:134) > > > at > > > > > > org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller.createObjectStore(DataNucleusPersistenceMechanismInstaller.java:110) > > > at > > > > > > org.apache.isis.core.runtime.system.persistence.PersistenceSessionFactory.createPersistenceSession(PersistenceSessionFactory.java:95) > > > at > > > > > > org.apache.isis.core.runtime.system.session.IsisSessionFactory.openSession(IsisSessionFactory.java:141) > > > at > > > > > > org.apache.isis.core.runtime.system.context.IsisContextThreadLocal.openSessionInstance(IsisContextThreadLocal.java:147) > > > at > > > > > > org.apache.isis.core.runtime.system.context.IsisContext.openSession(IsisContext.java:279) > > > at > > > > > > org.apache.isis.core.runtime.system.IsisSystem.initializeServices(IsisSystem.java:207) > > > at > > > > org.apache.isis.core.runtime.system.IsisSystem.init(IsisSystem.java:140) > > > 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) > > > 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) > > > 2015-11-08 14:51:39.098:INFO:oejs.ServerConnector:main: Started > > > ServerConnector@22e95960{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} > > > 2015-11-08 14:51:39.100:INFO:oejs.Server:main: Started @60032ms > > > > > >