Hello, I deployed my app on the mendix cloud free apps. But the website is not opening and the website says "Resuming App" for a long time. Can anyone please help with this?
↧
Resuming App Issue
↧
Appronto Validator question
Hi, I have a question on ApprontoValidator, if i have a User entity, that associates with a Type (which is a lookup) entity that is a dropdown in the page, the attribute path will be User/Type/Name (name on type entity), validation is to make sure type is selected, in addValidation logic, i dont know what to pass as the attribute, it does not match on the page, so the type input is not hightlighted, but with a popup. Thanks Shannon
↧
↧
Error in the Log : M2EE: An error occurred while initializing the Runtime: null
Hi everyone, I'm trying to deploy my application on mendix cloud free apps. And my website doesn't load. When i checked my log, i could see the below error: M2EE: An error occurred while initializing the Runtime: null M2EE: com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: null Kindly help me out. Thank You, Kavya Aroor Log: APP INFO Started Mendix Cloud Foundry Buildpack v1.8.7 2:34:14 PM APP WARNING SERVER_ID is deprecated, please use LICENSE_ID instead 2:34:20 PM APP WARNING Runtime is being started in Development Mode. Set DEVELOPMENT_MODE to "false" (currently "true") to set it to production. 2:34:20 PM APP INFO S3 config detected, activating external file store 2:34:20 PM APP WARNING specified heap size 256M is larger than max memory of the container (2048M), falling back to a heap size of 256M 2:34:20 PM APP INFO Successfully updated backup service 2:34:20 PM APP INFO Trying to start the MxRuntime... 2:34:23 PM APP INFO Logging: Logging to file: /home/vcap/app/log/out.log, max size: 1024000KiB, max rotation: 10 2:34:23 PM APP INFO Core: Mendix Runtime 7.11.0 (build 31019). Copyright © 2003-2018 Mendix bv. All rights reserved. 2:34:23 PM APP INFO StorageS3: Endpoint set to: Some(s3-eu-west-1.amazonaws.com/cf-shared-prod-1-eu-west-1) 2:34:23 PM APP INFO Services: Adding 0 authority certificate(s) 2:34:24 PM APP INFO ConnectionBus: Starting uniqueness constraint violation diagnostics... 2:34:24 PM APP INFO at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:350) 2:34:24 PM APP ERROR M2EE: An error occurred while initializing the Runtime: null 2:34:24 PM APP ERROR M2EE: com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: null 2:34:24 PM APP INFO Caused by: java.lang.NullPointerException: null 2:34:24 PM APP INFO at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.validateConstraint(ModelSynchronizationUpdater.java:194) 2:34:24 PM APP INFO at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.shouldCreateColumn(ModelSynchronizationUpdater.java:228)
↧
Nested listviews highlight row
Hi, I have two nested list views, in inner view i have a table to display, how can i force to only highlight one row of the inner view, that is if i select one row only that row is hightlighted, right now looks like each outer view (toplevel) has its row highlighted. Thanks Shannon
↧
How to create non editable Application title with ignore the default page title 'Mendix - XXX'?
When I did not edit Navigation:Application title, the page title show the default page title 'Mendix - XXX' like attached below. I would not like to show the default page title 'Mendix - XXX'. Just would like to show it like 'XXX'. Does anyone know how to countermeasure about above?
↧
↧
Need some more secure HTTP header
I want to add three meta's in the http header.
Header always set X-XSS-Protection "1; mode=block"
Header always set X-Content-Type-Options nosniff
Header always append X-Frame-Options SAMEORIGIN There is no such a Mendix API to customize HTTP header or no hint to modify Mendix setting files.
↧
How to output digital signature
I would like to output signed digital signature and some attributes to PDF. I'm trying to use CommunityCommon 's JavaAction "Base64DecodeToFile". However the output of the degital signature does not work very well. I tried it with the following steps. Does anyone know where the mistake is? 1. I downloaded "Signature widget" and put this in my Dataview page. 2. I created the button to output PDF by Document template. 3. I defined SignatureURLAttribute on the Document template. Thanks in advance.
↧
calendar widget and non persisitable entities
I'm using the calendar widget with non-persistable entities (because the data is read from a remote api service). This is the model De prestations are placed on the calendar with a microflow with data context. But when I the new event microflow doesn't receives the employee object which is the dataview context in which the calendar is placed. The new event reference can't be used for non-persistable entities. How can I link a newly created Prestations object to the employee object in this NewPrestations microflow?
↧
Scroll down to the bottom of page
Hi, My requirement is to scroll down to bottom when we click on a link. How to achieve this in mendix modeller? Appreciate a prompt response. Thanks Salma
↧
↧
How to use SubQuery in OQL From Clause
Hi, I have a Master record Tool and multiple process records for each tool. In a report, for each master record, the latest, ie maximum process date record details should be shown in the report. I tried the below query in OQL, but it throws runtime exception. Select TL.ToolNo as RToolNo,Description,ProcessDate,Balance_Shots,Balance_LifeTime From LookUp.Tool as TL, ToolProcess.ToolUsageMaintenance as TUS, (Select T1.ToolNo as Tool, Max(TS1.ProcessDate) as MxProcDate From LookUp.Tool as T1 JOIN T1/ToolProcess.ToolUsage_Tool/ToolProcess.ToolUsageMaintenance as TS1 Group by T1.ToolNo) as TMX where TL.ID = TUS/ToolProcess.ToolUsage_Tool/LookUp.Tool.ID and TL.ToolNo = TMX.Tool and TUS.ProcessDate = TMX.MxProcDate Exception: Error on finding meta object of location TMX.Tool It does not recognize subquery alias TMX
↧
error while calling a rest service
An error has occurred while handling the request. [User 'Anonymous_1597c177-d184-4e7d-a04c-8a67827bbdf0' with session id '4ca5295d-5a79-474d-94df-08a0cdf5b61a' and roles 'Administrator'] -------- com.mendix.modules.microflowengine.MicroflowException: Error calling REST service at MyFirstModule.Microflow (CallRest : 'Call REST (GET)') Advanced stacktrace: at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:50) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: org.apache.http.conn.HttpHostConnectException: Connect to en.wikipedia.org:443 [en.wikipedia.org/91.198.174.192] failed: Connection refused: connect at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:15) Caused by: java.security.PrivilegedActionException: null at java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:19) at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$executeRequest$2(RestCallAction.scala:61) at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:8) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:56) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:45) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) at com.mendix.basis.component.InternalCore.execute(InternalCore.java:583) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:329) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:432) at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:314) at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:252) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:221) at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:105) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:97) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:877) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.http.conn.HttpHostConnectException: Connect to en.wikipedia.org:443 [en.wikipedia.org/91.198.174.192] failed: Connection refused: connect at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:142) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at com.mendix.http.LoggableHttpClient.$anonfun$execute$1(LoggableHttpClient.scala:19) at com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:12) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:19) at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$executeRequest$2(RestCallAction.scala:61) at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:8) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:56) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:45) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) at com.mendix.basis.component.InternalCore.execute(InternalCore.java:583) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:329) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:432) at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:314) at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:252) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:221) at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:105) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:97) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:877) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.ConnectException: Connection refused: connect at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:244) at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) at com.mendix.http.LoggableHttpClient.$anonfun$execute$1(LoggableHttpClient.scala:19) at com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:12) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:19) at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$executeRequest$2(RestCallAction.scala:61) at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:8) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:56) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:45) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) at com.mendix.basis.component.InternalCore.execute(InternalCore.java:583) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:329) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:432) at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:314) at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:252) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:221) at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:105) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:97) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:877) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748)
↧
Getting an error when trying to run an app in eclipse.
Hi All, I'm trying to debug the code in a workflow java action, so I've installed the latest release of eclipse, deployed the project for eclipse from within the business modeler (6.10.12). Each time I try to run or debug the project in eclipse I get an error and my app fails to start. Could use some help in progressing this. Thanks.
↧
What do you guys think about the new design of the modeler (7.12.0) ?
Is it better and more clearly? Can I switch back to the old lay-out and icons?
↧
↧
Reference selector on edit account page
Hi all, The problem I am running into is this: In my app I have the entity Account that has a 1-1 association with the entity Employee. The entity Employee has a 1-* association with the entity Plant (one Plant can have multiple Employees associated). On the page for editing the Account entity there is a reference selector that allows for editing the Employee_Plant association. The drop-down version of the reference selector works, but the select-via-page version of the reference selector does not work on this edit Account page. It does work on one of the pages used for creating a new Account. When running my app locally and editing an Account, the reference selector does not show the Plant that is already associated with the Account via Employee. It does open the select page and allows for selecting a Plant (the select data grid is single selection). After clicking the Select button the select page closes as expected but there is still no Plant shown in the reference selector. Trying to save the Account (either with or without changing the Plant) triggers the Employee_Plant = empty validation message. When closing the page by cancelling briefly the 'old' Plant (already associated before the edit Account page was opened) flashes on the screen before the screen closes. I can't seem to find anything in the logging in the Mendix Modeler when running the app. When looking in the browser console it logs 'mendix.sys.Data.getBacktrack: zero paths for backtracking, aborting mxui.js?636566328620722221:5' There is also the ShowByCondition widget on the edit Account page and relevant new Account page, both at least two times, if that is relevant. Thanks in advance for any help! EDIT: I spoke not clearly enough. Changing the problematic reference selector from a select page to a drop-down does not result in a working drop-down, it still doesn't work. What does work is that on the same page I also have a drop-down that edits the same Employee_Plant association (it is visible to different user roles and has a different Selectable Objects). Changing the working drop-down to the select page also results in a working select page.
↧
Grid Sort Order Caching Problem
We have set the sort order for our grid and it works correctly when the page first loads. If the user changes the sort order, leaves the page and later returns to it, the previously chosen sort order is used instead of the default sort order that was specified in the Modeller. I have verified this is being cached by the browser in Firefox and Chrome by deleting the site data for FF and Cookies on Chrome. After doing this, the sort order returns to default, until the user changes it again. Is there anyway to turn this behavior off? To get it to use the specified sort order every time the user visits the page? Thanks in advance!
↧
Sorting Using Reference Selector
I'm working on an application where my hierarchy looks something like Company Name Company Division Company Locations Company Sales Per Month @ Each Location On the page where I want this data entered I want someone to first select the company name, which would then have the next reference selector only show the divisions for that specific company, and then the next reference selector only shows the location for that specific devision... and so on. My domain model is currently setup in a way where I am able to create a reference selector, and I am able to select each of these attributes. I am however not entire sure on how to create the tiered sorting. From what I have read it looks like I should be doing this using a constraining path, however when I open the constraining paths under the reference selector there are no checkboxes for me to be able to select. (Screenshot below) Any advice would be greatly appreciated. Thanks!
↧
LDAP Synchronization Issues - Login does not work
Hi, I have added the LDAP Synchronization module to my application and changed security level to Prototype/demo. I am running the application locally. I have ran "Test Connection" and received the "Connection established" message. I have also tried the "Test Authentication" and received the "Successful!" message. However when I try to login to the application as the same user I did the "Test Authentication" with I get "The username or password you entered is incorrect". Logs : Connector - New login request from [Source-IP: 127.0.0.1, User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0] Ldap - Importing users by groups. I did notice that there were some incomplete module statuses - but don't think it is related. Thanks!
↧
↧
setting request handler in on-premise deployment
Hi, I am working on a onsite deployment (on Red Hat Linux) with NGINX as the Http server. we have added the deeplink module but we need to set the request handler to allow /link/ requests. where would we need to set the request handler? Is this a YAML setting or should this happen in NGINX configuration? thanks
↧
Input from custom login check
I was wondering if it was possible to check user input from custom login screen (the login data are already created and saved in an entity) and authenticate while clicking on the login button. If the inputted values are true go to page1 or if not stay on same page with an error. My plan was to check the user input with the entity where the data is saved. I hope that I have expressed my question well
↧
iCal module not sending Calendar requests
Hi, I've installed the iCal Module with the default configured smtp settings: localhost on port 25 utilizing Mendix SMPT servers to send meeting requests. When I try to send a test appointment from the Appointment Overview, it just hangs and doesnt time out, prompting me to refresh the page. I don't know if this module has been updated to work in Mendix 7.11.0 or if there are conflicts with the java libraries not executing the request. My log files don't log any errors relating to the request. I am running this widget on mendix cloud. I find that this will be very useful for sending meeting requests to sales users who have to attend credit meetings and have reminders on which session to attend to.
↧