Quantcast
Channel: Mendix Forum Questions
Viewing all 83469 articles
Browse latest View live

Catching errors

$
0
0
Hello, I was wondering if its possible to catch errors and generate a custom error message to replace the one that appears below.

How to catch errors in mendix?

$
0
0
When I run the program, and click on a specific page, I occasionally get the error message  Error An error occurred, please contact your system administrator. However, the results of the page is still the same. So how do I remove this error? From my experience of java code, you can catch the error and do some other actions instead of showing an error. I don’t really understand the documentation.   Here is the microflow if anyone wants it.         And the error code: Did not expect an argument to be undefined Error: Did not expect an argument to be undefined  

Getting unexpected error: Initializing environment is failed while deploying my application first time into production

$
0
0
Hello Team, I am getting unexpected error while deploying my application first time into production. 1. Logged into Mendix portal and came on environment page. 2. Selected application and click on transport to production and then followed . 3. we are getting error 'unexpected error occurred: initializing Environment Failed.'  4. We are doing application deployment on the production first time. 5. we have tried 3 times and getting same error. Please assist how to resolve this error. Today we are going live with the new application so there will be impact as Go Live delay if this error will not resolved timely.   

SSO throwing error on production for first time deployed application

$
0
0
Hi Team, We are getting below error while using SSO on production mendix cloud. SAML configuration which we have done on production is same as acceptance where SSO is working fine. From SAML logs we found that requests are going properly from application to IDP but no response are coming back. Can anyone suggest what could e the reason or what can be checked to resolve this issue? 

Authentication channel support by mendix

$
0
0
Hi, I want to know what are the different authentication channel mendix do support? whether it supports Azure AD , Okta ?

Business workflow in mendix

$
0
0
Hi, I just want to know how difficult it is to build a business workflow in Mendix? is there any prebuilt module available over the app store which speedup the process or how it goes? is it in its initial stage or its mature enough for any complex kind of workflow building?

How to parse an object type

$
0
0
Hi, Can anyone know how to cast object to string or type cast between variables in mendixx  microflow? Best,

Expression editor in mendix

$
0
0
Hi, I just want to know is there availability of expression editor in Mendix?  if it is then please give me related docs to understand it better.

How to convert my object into base64 string

$
0
0
Hi, I am using base64 encode java activity which converts string to base64 encode. can you please help me to convert object into base64? Best,

Microflow Debugger broken

$
0
0
When following these steps: 1. Run the project 2. Set a breakpoint on a microflow action 3. Run the microflow The microflow is not run, instead I get the following error in my console: Log level: Error Log Node: MicroflowDebugger The stack trace is: java.lang.NullPointerException: null at com.mendix.modules.debugger.internal.DebuggerJSONGenerator$.addMxObjectProperties(DebuggerJSONGenerator.scala:127) at com.mendix.modules.debugger.internal.DebuggerJSONGenerator$.$anonfun$createMicroflowVariables$1(DebuggerJSONGenerator.scala:89) at scala.collection.immutable.HashMap.foreach(HashMap.scala:1058) at com.mendix.modules.debugger.internal.DebuggerJSONGenerator$.createMicroflowVariables(DebuggerJSONGenerator.scala:81) at com.mendix.modules.debugger.internal.DebuggerJSONGenerator$.createPausedMicroflowObject(DebuggerJSONGenerator.scala:64) at com.mendix.modules.debugger.internal.DebuggerJSONGenerator$.createEventObject(DebuggerJSONGenerator.scala:38) at com.mendix.modules.debugger.internal.DebuggerHandler.$anonfun$processJsonRequest$8(DebuggerHandler.scala:129) at scala.collection.Iterator$$anon$9.next(Iterator.scala:575) at scala.collection.mutable.Growable.addAll(Growable.scala:62) at scala.collection.mutable.Growable.addAll$(Growable.scala:59) at scala.collection.mutable.ArrayBuffer.addAll(ArrayBuffer.scala:147) at scala.collection.mutable.ArrayBuffer.addAll(ArrayBuffer.scala:40) at scala.collection.mutable.ArrayBuffer$.from(ArrayBuffer.scala:265) at scala.collection.mutable.ArrayBuffer$.from(ArrayBuffer.scala:253) at scala.collection.IterableOps.map(Iterable.scala:671) at scala.collection.IterableOps.map$(Iterable.scala:671) at scala.collection.AbstractIterable.map(Iterable.scala:920) at com.mendix.modules.debugger.internal.DebuggerHandler.processJsonRequest(DebuggerHandler.scala:129) at com.mendix.modules.debugger.internal.DebuggerHandler.processRequest(DebuggerHandler.scala:50) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79) at com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:953) at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284) 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:501) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:834) I've uninstalled Mendix (8.14), deleted the project folder from my disk and restarted my computer. After that I installed Mendix (8.14) again, opened the project and used the local database of a colleague of mine. This did not solve the problem. I'm not sure what to do next, but as for now I cannot debug anything. Does anyone have any suggestions?

Import a file by a certain name

$
0
0
Hi all, Is it possible to import a file specified by a name? (during batch microflow)   I would like to import a specific name file during batch execution. would you please tell me how to implement it?   Flat File Importer might be the answer, but seems the module specify a file by the directory and file extension(.csv). https://appstore.home.mendix.com/link/app/429/   I really appreciate with any information. Thank you in advance Regards, Yuki

Speech to Text

$
0
0
I want to develop an app with the option for users to give information by speech. This must then be converted to text and send to the app for input. Does anybody know of a widget that does this?

Paste screenshot from clipboard to file in Mendix

$
0
0
I'd like to paste a screenshot in the clipboard of the current user to Mendix as a file. Is that possible? User makes a screenshot in a not-Mendix application. User opens Mendix application and does CTRL-V or paste  Screenshot form clipboard is saved as file in Mendix application

Custom login.html logic for SSO

$
0
0
Howdy peeps   I have a scenario where I need to have custom logic in my login.html which forwards me to a request handler for SSO. At the moment that URL is hardcoded, which is obviously not the best. Is there a way I can set the value in a constant and pull it through to make deployments much easier?   Thanks

Data Grid Column Edit

$
0
0
Hi All, I am editing data grid column by enabling on column level. But i want to disable auto save. Any suggestions?

Detect the change of an attribute of an NPE.

$
0
0
I would like to know if there is a way to detect the change of an attribute of an NPE.  For example: if I have an NPE with an attribute named ‘Status’.  There may be many places in the app where this attribute might be changed.  Is there some way, during the session, when I can discover if the attribute has been changed?  Perhaps looking at the Object Cache or something?      

excel importer error

$
0
0
SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreException: Document could not be imported, because: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported. can anyone help me out to complete this .I tried in 8.12 and 8.14 version.

RandomStrongPassword Java action breaks after upgrading to Mendix 8

$
0
0
Hi Forum,   When saving user accounts, I use the RandomStrongPassword Java action from the CommunityCommons. However, since I upgraded my project from Mendix 7 to Mendix 8, it throws the following error:   Error in execution of monitored action 'RegularClientAction' (execution id: 1602654812701-39, execution type: CLIENT) -------- java.lang.NoSuchMethodError: org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric(II)Ljava/lang/String;     at communitycommons.StringUtils.generateCommonLangPassword(StringUtils.java:313)     at communitycommons.StringUtils.randomStrongPassword(StringUtils.java:303)     at communitycommons.actions.RandomStrongPassword.executeAction(RandomStrongPassword.java:43)     at communitycommons.actions.RandomStrongPassword.executeAction(RandomStrongPassword.java:21)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152)     at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:30)     at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:56)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:215)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:165)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152)     at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42)     at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29)     at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32)     at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45)     at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53)     at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109)     at scala.util.Try$.apply(Try.scala:213)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107)     at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)     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.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27)     at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19)     at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)     at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86)     at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:104)     at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:81)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79)     at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:988)     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:755)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:547)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)     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:500)     at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)     at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)     at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)     at java.base/java.lang.Thread.run(Thread.java:834)     I thought this would be solved by excluding the org.apache.commons.lang3.jar lib in favor of the newer commons-lang3.jar lib, but the error persists. I have also already updated CommunityCommons to the last version (8.2), and deleted and readded the RandomStrongPassword action.     These are all the libs in my project that have “lang3” in them:   Any help would be much appreciated!   Thanks,   Ruben

While loading the URL login page is not loading

$
0
0
Hi , while loading URL the login page is not showing only the powered by mendix hyperlink it is showing. While running locally the application is loading correctly and we deployed the changes but the login page is not loading and we are using the mendix version 3.3.2. please suggest some ideas to clear these issue

Create Widget XML(Pluggable Widget)

$
0
0
Hello Experts, How to set Widget XML, let the different radio checked to show the different ?
Viewing all 83469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>