Run locally error. Please help me

0
Hi experts,   When i click run locally to my first app, i get error. The message is : “An error occurred while executing action 'update_configuration'.”   And stacktrace is:    com.mendix.m2ee.api.AdminException: An unhandled exception occurred!     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:145) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Invalid value for ScheduledEventExecution: 'Specified'.     at com.mendix.basis.conf.ConfigurationImpl.processScheduledEventsConfiguration(ConfigurationImpl.scala:373)     at com.mendix.basis.conf.ConfigurationImpl.updateConfiguration(ConfigurationImpl.scala:154)     at com.mendix.basis.action.admin.UpdateConfigurationAction.updateConfiguration(UpdateConfigurationAction.scala:45)     at com.mendix.basis.action.admin.UpdateConfigurationAction.execute(UpdateConfigurationAction.scala:37)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)     at org.eclipse.jetty.server.Server.handle(Server.java:516)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)     at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)     at java.base/java.lang.Thread.run(Thread.java:829)   and then this message is view: “An exception occurred during Runtime Shutdown.”    stacktrace :   “ java.lang.reflect.InvocationTargetException: null     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.base/java.lang.reflect.Method.invoke(Method.java:566)     at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:18)     at scala.collection.immutable.List.foreach(List.scala:333)     at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16)     at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24)     at com.mendix.basis.impl.MxRuntimeImpl.sendEvent(MxRuntimeImpl.scala:239)     at com.mendix.basis.impl.MxRuntimeImpl.sendEvent(MxRuntimeImpl.scala:236)     at com.mendix.basis.impl.MxRuntimeImpl.shutdown(MxRuntimeImpl.scala:355)     at com.mendix.m2ee.appcontainer.AppContainer.$anonfun$shutDown$1(AppContainer.scala:190)     at com.mendix.m2ee.appcontainer.AppContainer.$anonfun$shutDown$1$adapted(AppContainer.scala:184)     at scala.Option.foreach(Option.scala:437)     at com.mendix.m2ee.appcontainer.AppContainer.shutDown(AppContainer.scala:184)     at com.mendix.m2ee.appcontainer.actions.ShutdownAction.execute(ShutdownAction.scala:13)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)     at org.eclipse.jetty.server.Server.handle(Server.java:516)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)     at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)     at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.IllegalStateException: Configuration is not initialized yet.     at com.mendix.configuration.Configuration$Parameter.value(Configuration.scala:172)     at com.mendix.databroker.DataBrokerConfiguration.run(DataBrokerConfiguration.scala:12)     at com.mendix.databroker.ConsumerHandler.handleEvent(ConsumerHandler.scala:55)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.base/java.lang.reflect.Method.invoke(Method.java:566)     at com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:18)     at scala.collection.immutable.List.foreach(List.scala:333)     at com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16)     at com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24)     at com.mendix.basis.impl.MxRuntimeImpl.sendEvent(MxRuntimeImpl.scala:239)     at com.mendix.basis.impl.MxRuntimeImpl.sendEvent(MxRuntimeImpl.scala:236)     at com.mendix.basis.impl.MxRuntimeImpl.shutdown(MxRuntimeImpl.scala:355)     at com.mendix.m2ee.appcontainer.AppContainer.$anonfun$shutDown$1(AppContainer.scala:190)     at com.mendix.m2ee.appcontainer.AppContainer.$anonfun$shutDown$1$adapted(AppContainer.scala:184)     at scala.Option.foreach(Option.scala:437)     at com.mendix.m2ee.appcontainer.AppContainer.shutDown(AppContainer.scala:184)     at com.mendix.m2ee.appcontainer.actions.ShutdownAction.execute(ShutdownAction.scala:13)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)     at org.eclipse.jetty.server.Server.handle(Server.java:516)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)     at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)     at java.base/java.lang.Thread.run(Thread.java:829)”
asked
1 answers
2

Do you have any scheduled event in your model? It seems that there is a setting in a scheduled event that is causing this. Strange though because imho this would already give you an error in your modeler and you would not be able to run locally. So double check your scheduled events.

Regards,

Ronald

 

answered