An error occurred while executing action Execute DDL commands.

0
com.mendix.m2ee.api.AdminException: Executing DDL commands failed.    at com.mendix.basis.component.internal.LocalComponentImpl.executeDDLCommands(LocalComponentImpl.scala:113) Caused by: com.mendix.basis.connectionbus.ConnectionBusException: Error (SQL State: 42501, Error Code: -5501) on executing: ALTER TABLE "myfirstmodule$hub_section" RENAME TO "62638781693b42dba6049cc3bd9e34b6" Successful changes were not rolled back.We advise you to restore the database from a backup before trying to synchronize again.    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.handleCommandExecutionException(DdlCommandExecutor.scala:167) Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: PUBLIC.myfirstmodule$hub_section    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)    at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)    at org.hsqldb.jdbc.JDBCStatement.execute(Unknown Source)    at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:182)    at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:182)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$executeCommandWithConnection$1(DdlCommandExecutor.scala:117)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$executeCommandWithConnection$1$adapted(DdlCommandExecutor.scala:116)    at scala.util.Using$.resource(Using.scala:262)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.executeCommandWithConnection(DdlCommandExecutor.scala:116)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.executeCommandAtomically(DdlCommandExecutor.scala:105)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$execute$3(DdlCommandExecutor.scala:47)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.getBlockingFunctionRunTimeMs(DdlCommandExecutor.scala:232)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$execute$2(DdlCommandExecutor.scala:37)    at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:576)    at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:574)    at scala.collection.AbstractIterable.foreach(Iterable.scala:933)    at scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:903)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.execute(DdlCommandExecutor.scala:30)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.synchronizeModel(SynchronizationManager.scala:205)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.execute(SynchronizationManager.scala:135)    at com.mendix.connectionbus.ConnectionBusImpl.execute$1(ConnectionBusImpl.scala:296)    at com.mendix.connectionbus.ConnectionBusImpl.executeDDLCommands(ConnectionBusImpl.scala:317)    at com.mendix.basis.component.internal.LocalComponentImpl.executeDDLCommands(LocalComponentImpl.scala:105)    at com.mendix.basis.impl.MxRuntimeImplBase.executeDDLCommands(MxRuntimeImplBase.java:346)    at com.mendix.basis.action.admin.ExecuteDDLCommandsAction.execute(ExecuteDDLCommandsAction.scala:20)    at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529)    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)    at org.eclipse.jetty.server.Server.handle(Server.java:563)    at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)    at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)    at java.base/java.lang.Thread.run(Thread.java:829) Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found: PUBLIC.myfirstmodule$hub_section    at org.hsqldb.error.Error.error(Unknown Source)    at org.hsqldb.error.Error.error(Unknown Source)    at org.hsqldb.SchemaManager.getUserTable(Unknown Source)    at org.hsqldb.SchemaManager.getUserTable(Unknown Source)    at org.hsqldb.ParserDDL.compileAlterTable(Unknown Source)    at org.hsqldb.ParserDDL.compileAlter(Unknown Source)    at org.hsqldb.ParserCommand.compilePart(Unknown Source)    at org.hsqldb.ParserCommand.compileStatements(Unknown Source)    at org.hsqldb.Session.executeDirectStatement(Unknown Source)    at org.hsqldb.Session.execute(Unknown Source)    at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)    at org.hsqldb.jdbc.JDBCStatement.execute(Unknown Source)    at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:182)    at org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:182)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$executeCommandWithConnection$1(DdlCommandExecutor.scala:117)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$executeCommandWithConnection$1$adapted(DdlCommandExecutor.scala:116)    at scala.util.Using$.resource(Using.scala:262)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.executeCommandWithConnection(DdlCommandExecutor.scala:116)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.executeCommandAtomically(DdlCommandExecutor.scala:105)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$execute$3(DdlCommandExecutor.scala:47)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.getBlockingFunctionRunTimeMs(DdlCommandExecutor.scala:232)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.$anonfun$execute$2(DdlCommandExecutor.scala:37)    at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:576)    at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:574)    at scala.collection.AbstractIterable.foreach(Iterable.scala:933)    at scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:903)    at com.mendix.connectionbus.modelsynchronization.DdlCommandExecutor.execute(DdlCommandExecutor.scala:30)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.synchronizeModel(SynchronizationManager.scala:205)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.execute(SynchronizationManager.scala:135)    at com.mendix.connectionbus.ConnectionBusImpl.execute$1(ConnectionBusImpl.scala:296)    at com.mendix.connectionbus.ConnectionBusImpl.executeDDLCommands(ConnectionBusImpl.scala:317)    at com.mendix.basis.component.internal.LocalComponentImpl.executeDDLCommands(LocalComponentImpl.scala:105)    at com.mendix.basis.impl.MxRuntimeImplBase.executeDDLCommands(MxRuntimeImplBase.java:346)    at com.mendix.basis.action.admin.ExecuteDDLCommandsAction.execute(ExecuteDDLCommandsAction.scala:20)    at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)    at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:529)    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384)    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306)    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)    at org.eclipse.jetty.server.Server.handle(Server.java:563)    at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598)    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753)    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501)    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287)    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)    at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)    at java.base/java.lang.Thread.run(Thread.java:829)
asked
0 answers