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

Excel Importer error - SAXParser not found

$
0
0
Hi, One of our customers is having trouble importing XLSX files. They currently have a workaround by saving the file as an XLS file and somehow the content of the file works fine then. The error is this one: Document could not be imported, because: SAX2 driver class org.apache.xerces.parsers.SAXParser not found I’ve already checked all the JAR files, thinking that there might be conflicting files that didn’t have the required class. The thing is that the class actually can’t be found in ANY of the JAR files in the project directory, BUT the functionality works fine on the acceptance environment and locally as well (both with exactly the same JAR files present). Has anyone encountered this before? I did find this question, which suggests that this might be a runtime issue?

How to add blinking notification

$
0
0
Hi all, Simple question; I want the user to be notified when a long running microflow is done, using some sort of notification. The important thing is that the browser somehow starts blinking, kind of the same thing that happens when you are prompted for a download. Is there a widget for this? I already found the Pusher widget (https://appstore.home.mendix.com/link/app/107957/), but it's quite a hassle to implement this just for this cause.    So the use case is: a user presses a button, when it's done the user needs to be notified with a pop up and a blinking browser. Any ideas?    Thanks in advance!

Page size of List view

$
0
0
Hello team, how to avoid an issue with page size? I have the list view, that does not show any records like on the screenshot. It seems, that the issue is in the page size.

Unable to deploy or start Mendix app in Production - Apache webserver

$
0
0
Hi Team, We are facing below issue when trying to deploy App on Apache webserver. This worked fine in Mendix Cloud V3. What could be the issue? 2019-02-01 15:23:47.981 INFO - Logging: Logging to file: /XXXXXXXXXX/XXXXXXXXXX/out.log, max size: 10240KiB, max rotation: 10 2019-02-01 15:23:48.013 INFO - Core: Mendix Runtime 6.7.1 (build 10926). Copyright © 2003-2016 Mendix bv. All rights reserved. 2019-02-01 15:23:48.031 INFO - M2EE: Setting Jetty MaxThreads for Runtime Server to 254 2019-02-01 15:23:48.031 INFO - M2EE: Setting Jetty MinThreads for Runtime Server to 8 2019-02-01 15:23:48.031 INFO - M2EE: Setting Jetty RequestHeaderSize for Runtime Server to 4096 2019-02-01 15:23:48.031 INFO - M2EE: Setting Jetty ResponseHeaderSize for Runtime Server to 4096 2019-02-01 15:24:18.089 WARNING - Configuration: Found unknown configuration settings. This is either due to misconfiguration or the module responsible for the setting did not come online. 2019-02-01 15:24:18.089 WARNING - Configuration: Unknown configuration setting 'EnableSessionFingerprinting' with value 'false' 2019-02-01 15:25:29.384 ERROR - ActionManager: Exception in execution of monitored action 'null' (execution id: X-X-X-X-X execution type: SCHEDULED_EVENT) 2019-02-01 15:25:29.384 ERROR - ActionManager: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"request":"OQLTextGetRequest (depth = -1): SELECT * FROM XXXXXX.BackgroundJob WHERE XXXX","type":"RetrieveOQLDataTableAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"request":"OQLTextGetRequest (depth = -1): SELECT * FROM XXXXXX.BackgroundJob WHERE XXXX","type":"RetrieveOQLDataTableAction"}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"request":"OQLTextGetRequest (depth = -1): SELECT * FROM XXXXXX.BackgroundJob WHERE XXXX","type":"RetrieveOQLDataTableAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303) Caused by: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s): OQLTextGetRequest (depth = -1): SELECT * FROM XXXXXX.BackgroundJob WHERE XXXX at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:46) Caused by: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: Exception occurred while retrieving data. (SQL State: S0002, Error Code: 208) at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.getCorrectException(JDBCDataStore.java:1197) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'XXXXXXX$backgroundjob'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1635) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:426) at com.microsoft.sqlserver.jdbc.XXXXXXX$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:372) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:6276) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1793) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:184) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:159) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:284) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83) at org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83) at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.execRetrieveQuery(JDBCDataStore.java:297) at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.execRetrieveQueries(JDBCDataStore.java:198) at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.retrieve(JDBCDataStore.java:163) at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.retrieve(JDBCDataStore.java:152) at com.mendix.connectionbus.retrieve.DataStoreCaller.executeQueries(DataStoreCaller.java:229) at com.mendix.connectionbus.retrieve.DataStoreCaller.executeQueries(DataStoreCaller.java:196) at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.java:78) at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:62) at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:41) at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:459) at com.mendix.core.action.user.RetrieveOQLDataTableAction.executeAction(RetrieveOQLDataTableAction.java:92) at com.mendix.core.action.user.RetrieveOQLDataTableAction.executeAction(RetrieveOQLDataTableAction.java:17) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.XXXXXXX$$XXXXXXX$XXXXXXX$1.apply(CustomMonitoredAction.scala:14) at com.mendix.core.session.XXXXXXX$$XXXXXXX$XXXXXXX$3$$XXXXXXX$2$$XXXXXXX$1.execute(ActionDispatching.scala:144) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.session.XXXXXXX$$XXXXXXX$XXXXXXX$3$$XXXXXXX$2.apply(ActionDispatching.scala:146) at scala.util.XXXXXXX$.apply(Try.scala:192) at com.mendix.core.session.XXXXXXX$$XXXXXXX$XXXXXXX$3.applyOrElse(ActionDispatching.scala:140) at akka.actor.XXXXXXX$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.XXXXXXX$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.XXXXXXX$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Couldn't initialize a SAX driver to create an XMLReader

$
0
0
Hi, During a test, a ~28Mb big .png was uploaded with the file manager and our server became unresponsive. Some other actions was also performed during the same time but this is the only thing I find in the log. com.amazonaws.AmazonClientException: Couldn't initialize a SAX driver to create an XMLReader Have anyone encountered something similar and if it was the cause of the problem should a erroneous file upload create these problems? People with similar problems on other platforms talks about changing the amazon S3 properties. How is that done with mendix (if at all)? 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0] com.amazonaws.AmazonClientException: Couldn't initialize a SAX driver to create an XMLReader 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:122) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.model.transform.Unmarshallers$InitiateMultipartUploadResultUnmarshaller.unmarshall(Unmarshallers.java:235) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.model.transform.Unmarshallers$InitiateMultipartUploadResultUnmarshaller.unmarshall(Unmarshallers.java:232) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:62) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.internal.ResponseHeaderHandlerChain.handle(ResponseHeaderHandlerChain.java:44) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.internal.ResponseHeaderHandlerChain.handle(ResponseHeaderHandlerChain.java:30) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:1256) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:870) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3750) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.AmazonS3Client.initiateMultipartUpload(AmazonS3Client.java:2666) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.storage.s3.internal.AmazonS3StorageService.multiPartUpload(AmazonS3StorageService.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.storage.s3.internal.AmazonS3StorageService.store(AmazonS3StorageService.scala:34) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.storage.s3.internal.AmazonS3StorageComponent.store(AmazonS3StorageComponent.scala:57) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.writeFile(FileDocumentProcessorImpl.java:200) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.storeFileDocument(FileDocumentProcessorImpl.java:132) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.storeFileDocumentContent(InternalCore.java:1558) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.Core.storeFileDocumentContent(Core.java:1094) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at communitycommons.Misc.duplicateFileDocument(Misc.java:156) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at communitycommons.actions.DuplicateFileDocument.executeAction(DuplicateFileDocument.java:52) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at communitycommons.actions.DuplicateFileDocument.executeAction(DuplicateFileDocument.java:30) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:170) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:174) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.execute(InternalCore.java:531) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:60) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:200) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:170) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:174) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.executeSync(InternalCore.java:609) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:200) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:170) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:174) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.executeSync(InternalCore.java:609) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.other.NestedLoopedMicroflowAction$$anonfun$executeLoop$2.apply(NestedLoopMicroflowAction.scala:70) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.other.NestedLoopedMicroflowAction$$anonfun$executeLoop$2.apply(NestedLoopMicroflowAction.scala:61) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:733) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:732) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.other.NestedLoopedMicroflowAction.executeLoop(NestedLoopMicroflowAction.scala:61) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.other.NestedLoopedMicroflowAction.execute(NestedLoopMicroflowAction.scala:44) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:200) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:170) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:174) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.executeSync(InternalCore.java:609) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:200) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:170) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:174) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.executeSync(InternalCore.java:609) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:200) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:170) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:174) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.component.InternalCore.execute(InternalCore.java:531) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:133) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:315) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:300) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:300) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.actionmanagement.IMonitoredAction$class.monitor(IMonitoredAction.scala:49) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:417) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:300) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:238) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:205) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:875) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle(RuntimeHandler.java:41) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.Server.handle(Server.java:368) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at java.lang.Thread.run(Thread.java:748) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0] Caused by: org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0] java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:230) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:191) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:120) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  ... 132 more 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0] Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:82) 2018-04-24T09:37:59.32+0000 [APP/PROC/WEB/0]  at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:228)  

Is there a way to stop selection of list view entry when it loads for the fisrt time

$
0
0
Hi,   I am using mendix desktop modeller 7.22.2. I am rendering a list widget, by default it selects first row when it is rendered, I do not want this behavior, is there a way we can achieve it?   Thanks, Pallavi

conflicts after upgrading from 7.18.1 to 7.21.0

$
0
0
Dear All, I am getting error message 'The following files are conflicted’ after upgrading from Mendix version 7.18 to 7.21.0 The file which is shown is the folder 'Javascriptsource’ from the local project folder. Can you please help me to get rid of this issue ?

JChart widget onclick datapoint microflow loses object

$
0
0
Hello,  Has anyone ever noticed problems with the JChart widget in Mendix 7, regarding the onclick datapoint Microflow?  Somehow, the input parameter object gets lost when clicking.   I’ve downloaded the example project from: https://github.com/mendix/ChartJS/tree/master/test and added a microflow to the onclick datapoint microflow.  This way the issue can be reproduced. Also tried upgrading to the latest Mx version (7.22.2), but no luck.     

duplicate key value violates unique constraint "system$filedocument_pkey"

$
0
0
We had a strange error when working with filedocuments so this post is to may help somebody else encountering the same problem. We have a Mutatie object that is connected with a one on one reference with an object that inherits from filedocument. This problems occurs when a mutatie object already had a reference with some filedocument but I wanted it to replace that one with a new one. In the old days this would not be a problem. Just create the object set the reference with mutatie and commit. In Mx7 it will generate the error duplicate key value violates unique constraint "system$filedocument_pkey" (see stacktrace below). To solve this issue you have to first clear the reference in the mutatie object before setting that reference in the new filedocument. In my opinion this is a bug. It is a one on one reference so the system should in my opinion just replace the reference in the mutatie object and not generate this error. Or are there arguments that is a feature / modeler error? Hope this will help somebody else running into this problem. Regards, Ronald [EDIT] 15-1-2019 It seems there are multiple problems with pkey errors. Another problem to look for is asynchronous calls. The result after a asynchronous call is that you will receive pkey errors on all kind of objects (we had the logs crawling with them). So when you have these in the logs you have to think what is done BEFORE the pkey errors where logged. Because the fault is not in the microflows from your stacktrace but in the asynchronous action that is called before these errors happen. Pity you can not search for asynchronous calls from within the modeler. Try to change your asynchronous calls back to synchronous calls to solve the issue. com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Failed to commit at MutatiesKoppeling.UploadenBrief_Mutatie (Commit : 'Commit 'Mutatie' ') Advanced stacktrace: at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: Failed to commit at MutatiesKoppeling.UploadenBrief_Mutatie (Commit : 'Commit 'Mutatie' ') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146) Caused by: com.mendix.core.CoreRuntimeException: Failed to commit at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:155) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.data.UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: ERROR: duplicate key value violates unique constraint "system$filedocument_pkey" Detail: Key (id)=(43347146415916325) already exists. (SQL State: 23505, Error Code: 0) at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:125) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.data.UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: ERROR: duplicate key value violates unique constraint "system$filedocument_pkey" Detail: Key (id)=(43347146415916325) already exists. (SQL State: 23505, Error Code: 0) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.data.UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: ERROR: duplicate key value violates unique constraint "system$filedocument_pkey" Detail: Key (id)=(43347146415916325) already exists. (SQL State: 23505, Error Code: 0) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.systemwideinterfaces.connectionbus.data.UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: ERROR: duplicate key value violates unique constraint "system$filedocument_pkey" Detail: Key (id)=(43347146415916325) already exists. (SQL State: 23505, Error Code: 0) at com.mendix.basis.action.user.CommitAction$$anonfun$commitPersistableObjects$4.applyOrElse(CommitAction.scala:97) at com.mendix.basis.action.user.CommitAction$$anonfun$commitPersistableObjects$4.applyOrElse(CommitAction.scala:95) at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:34) at scala.util.Failure.recoverWith(Try.scala:232) at com.mendix.basis.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:95) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:59) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:29) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) 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.ActionManagerBase$1.execute(ActionManagerBase.java:150) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155) at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:118) at com.mendix.basis.component.CommitHandler.$anonfun$storeObjectsAndAutoCommittedObjects$1(CommitHandler.scala:169) at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:233) at scala.collection.immutable.List.foreach(List.scala:388) at scala.collection.TraversableLike.map(TraversableLike.scala:233) at scala.collection.TraversableLike.map$(TraversableLike.scala:226) at scala.collection.immutable.List.map(List.scala:294) at com.mendix.basis.component.CommitHandler.storeObjectsAndAutoCommittedObjects(CommitHandler.scala:167) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:127) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:109) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:7) at com.mendix.basis.component.CommitHandler.commitWithEvents(CommitHandler.scala:68) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:48) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:47) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:7) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:24) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:24) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:7) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:32) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:16) 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:46) 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.ActionManagerBase$1.execute(ActionManagerBase.java:150) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155) at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:383) at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:398) at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:46) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:32) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:15) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:33) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:22) at com.mendix.webui.actions.client.RegularClientAction.withState(RegularClientAction.scala:21) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:44) at scala.util.Try$.apply(Try.scala:209) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:44) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:42) at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$4(ContextHandling.scala:41) 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.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:49) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:41) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:21) 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:21) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:42) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) 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:21) at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:39) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:124) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:101) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:872) 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:867) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748)  

Data Grid pagination action

$
0
0
I have a page with data-grid with list of locations on left half of the page and google map pointing to locations on right half of the page. Now, can i use pagination on the data-grid and show only the locations of that page on the google map rather than loading all the locations. The data for the datagrid is from microflow using the REST Webservice call. Please help me in achieving the functionality.

Multiple sessions per user

$
0
0
Mx 7.22.2 in the Project Settings > Runtime I have set 'Multiple sessions per user’ set to No. I don't want users to sign in multiple times through different clients, so I expect it not to happen when this setting is set to 'No’. Unfortunately it keeps possible to sign in multiple times, for example Google Chrome and Google Chrome Incognito browser or Google Chrome and Firefox browser.   I already came across this question: https://forum.mendixcloud.com/link/questions/87593. But as described above, it's still possible to do a second login with an incognito browser.   Anyone ideas on settings I've might forget to set?   PS This is not about a production environment, but happens local and on test environment, so licenses about concurrent users should not be the problem.

How to use OData query option 'startswith'?

$
0
0
I’m using OData to expose some entities in the domain model, and I’m struggling with the string functions mentioned in §4.2 of the OData query options. Simple filtering with ‘eq’ works, as does combining predicates with ‘and’ and ‘or’. For example, this URL would give me one SKU record https://www.example.com/odata/Catalog/SKU?$filter=SKUNumber%20eq%20%2787840_100%27 However, when I try to use ‘startswith’, it fails. I’ve noticed the documentation omits the $filter parameter in the examples, but from general OData documentation I know that this should be the query: https://www.example.com/odata/Catalog/SKU?$filter=startswith(SKUNumber,%2787840%27) This gives me an error: <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code>400</code> <message xml:lang="en-US">Unhandled expression type: CallExp</message> </error> I’ve tried to add spaces (%20) to various places but without success. Using Ronald’s suggestion https://www.example.com/odata/Catalog/SKU?startswith(SKUNumber,%2787840%27) (to be compliant with the documentation) gives another error: <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code>400</code> <message xml:lang="en-US"> Server cannot process the given uri 'Catalog/SKU' with params 'startswith(SKUNumber,'87840')'. </message> </error>   Does anybody have an idea what is going on here?

How to create a template with text center and rotate text

$
0
0
Hello,  I am trying to create a document template that will have User Name and this should be in center and rotate the name on 45/90 degree.  I have tried the below code to rotate but its not working -ms-transform: rotate(90deg); -webkit-transform: rotate(90deg); transform: rotate(90deg);   is there any best way to move text in center and rotate it by 45 degree.    here is my template.   

Odata Delta Data

$
0
0
Hi there, I am currently trying to get the delta data for some entities by adding changedDate to them and trying to use a filter in the Odata GET call, but the date functions do not seem to work. I am able to use a few other query options successfully, just can not seem to do any kind of date function or get the delta data for a specific entity. Could somebody please give me an example of what this URL should look like to get the delta data based on the changedDate attribute. Thank you in advance! (Edit: The URL I am currently trying to make use of is as follows: https://****-accp.mendixcloud.com/odata/****/****?$Filter=day(changedDate) eq **)

could not syncronize with server. Make sure your app has offline profile enabled.

$
0
0
Just began seeing this today on Android hybrid app.  I was getting this message when I started up the app. So, I have published a new apk file. Removed the app and attempted to reinstall but the issue persists. I have a internet connection. Sandbox app is running on my desk top.   Offline box is checked in the mobile app profile.  Any ideas as to what I need to do to fix this?

Unable to login to application

$
0
0
All of the sudden we are seeing below error message when we try to login to Mendix application.  We had this issue couple of days back and restarting the app resolved it and it started happening back now. Can anyone help me in understanding the reason why we are seeing this error. None of the users who were able to login earlier successfully are now not able to login including MxAdmin user. Our DBA confirmed that no locks on user or account table and application health looks normal.     ERROR - Connector: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"LoginAction","user":"qap02"}', all database changes executed by this action were rolled back at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"LoginAction","user":"qap02"}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"type":"LoginAction","user":"qap02"}', all database changes executed by this action were rolled back at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:160) Caused by: com.mendix.core.CoreRuntimeException: Failed to commit at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:155) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"before":[{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"}', all database changes executed by this action were rolled back at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:125) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"before":[{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"}', all database changes executed by this action were rolled back at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"before":[{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"before":[{}],"action":{"type":"CommitAction"},"after":[],"type":"EventExtendedAction"}', all database changes executed by this action were rolled back at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.processErrorState(CoreActionHandlerImpl.scala:160) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException at com.mendix.basis.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:43) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: java.lang.NullPointerException: null at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at com.mendix.basis.action.user.UniquenessChecker.findEntityOnAttribute(UniquenessChecker.scala:103) at com.mendix.basis.action.user.UniquenessChecker.existsInDatabase(UniquenessChecker.scala:81) at com.mendix.basis.action.user.UniquenessChecker.$anonfun$check$6(UniquenessChecker.scala:46) at com.mendix.basis.action.user.UniquenessChecker.$anonfun$check$6$adapted(UniquenessChecker.scala:41) at scala.Option.foreach(Option.scala:257) at com.mendix.basis.action.user.UniquenessChecker.$anonfun$check$5(UniquenessChecker.scala:41) at com.mendix.basis.action.user.UniquenessChecker.$anonfun$check$5$adapted(UniquenessChecker.scala:38) at scala.collection.immutable.List.foreach(List.scala:388) at com.mendix.basis.action.user.UniquenessChecker.$anonfun$check$4(UniquenessChecker.scala:38) at scala.collection.immutable.List.flatMap(List.scala:334) at com.mendix.basis.action.user.UniquenessChecker.checkUniqueness$1(UniquenessChecker.scala:34) at com.mendix.basis.action.user.UniquenessChecker.check(UniquenessChecker.scala:57) at com.mendix.basis.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:92) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:59) at com.mendix.basis.action.user.CommitAction.executeAction(CommitAction.scala:29) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) 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.ActionManagerBase$1.execute(ActionManagerBase.java:150) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155) at com.mendix.basis.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:41) at com.mendix.basis.actionmanagement.EventExtendedAction.execute(EventExtendedAction.java:104) 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.DefaultActionMonitor$.$anonfun$run$1(CustomMonitoredAction.scala:18) 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.basis.actionmanagement.CustomMonitoredAction.monitor(CustomMonitoredAction.scala:22) at com.mendix.basis.actionmanagement.DefaultActionMonitor$.run(CustomMonitoredAction.scala:18) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.runMonitoredAction(CoreActionHandlerImpl.scala:68) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:153) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155) at com.mendix.basis.actionmanagement.ActionManagerBase.executeInTransactionSync(ActionManagerBase.java:118) at com.mendix.basis.component.CommitHandler.$anonfun$storeObjectsAndAutoCommittedObjects$1(CommitHandler.scala:169) at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:233) at scala.collection.immutable.List.foreach(List.scala:388) at scala.collection.TraversableLike.map(TraversableLike.scala:233) at scala.collection.TraversableLike.map$(TraversableLike.scala:226) at scala.collection.immutable.List.map(List.scala:294) at com.mendix.basis.component.CommitHandler.storeObjectsAndAutoCommittedObjects(CommitHandler.scala:167) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:127) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:109) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:7) at com.mendix.basis.component.CommitHandler.commitWithEvents(CommitHandler.scala:68) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:27) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:26) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:7) at com.mendix.basis.component.CommitHandler.commit(CommitHandler.scala:22) at com.mendix.basis.component.CommitHandler.commit$(CommitHandler.scala:22) at com.mendix.basis.component.InternalCore.commit(InternalCore.scala:7) at com.mendix.basis.session.User.commit(User.java:251) at com.mendix.basis.session.SessionManager.initializeSession(SessionManager.java:66) at com.mendix.basis.action.user.LoginActionHandlerImpl.$anonfun$executeAction$1(LoginActionHandlerImpl.scala:41) at com.mendix.util.using.Using$.using(Using.scala:6) at com.mendix.basis.action.user.LoginActionHandlerImpl.executeAction(LoginActionHandlerImpl.scala:22) at com.mendix.core.action.user.LoginAction.executeAction(LoginAction.java:30) at com.mendix.core.action.user.LoginAction.executeAction(LoginAction.java:10) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) 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.DefaultActionMonitor$.$anonfun$run$1(CustomMonitoredAction.scala:18) 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.basis.actionmanagement.CustomMonitoredAction.monitor(CustomMonitoredAction.scala:22) at com.mendix.basis.actionmanagement.DefaultActionMonitor$.run(CustomMonitoredAction.scala:18) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.runMonitoredAction(CoreActionHandlerImpl.scala:68) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55) at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155) at com.mendix.basis.component.InternalCoreBase.login(InternalCoreBase.java:862) at com.mendix.basis.component.InternalCoreBase.login(InternalCoreBase.java:887) at com.mendix.webui.actions.client.LoginAction.$anonfun$execute$1(LoginAction.scala:34) at scala.util.Try$.apply(Try.scala:209) at com.mendix.webui.actions.client.LoginAction.execute(LoginAction.scala:34) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:124) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:101) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:870) 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:865) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) 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:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:503) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Unknown Source)

App Services and ngrok

$
0
0
For development purposes, I use ngrok to open up a public URL to my development Mendix instance.  I find this useful for testing things like webhooks when integrating with other services via APIs.  Recently, I have tried to used this with a Mendix published app service (that I created in my app), and I can’t get it working.  Anyone else have experience with this?  Is there any way to change my configuration so that I can use ngrok with Mendix app services?  It would make my development work go a whole lot faster…..

JDBC Exception: Password Property Exceeds Maximum Number of 128 Characters

$
0
0
Hi, I’m automating the deployment of apps using Mendix.Service.Commands.dll. I’m invoking a PowerShell script on the app server from on-premise Azure DevOps which, stops, updates and starts an app. Stripped down, it calls: Stop-MxApp -Name $AppName -Verbose -ErrorAction Stop ​​​​​​​Update-MxApp -Name $AppName -LiteralPath $MdaFilePath -Verbose -ErrorAction Stop Start-MxApp -Name $AppName -SynchronizeDatabase -Verbose -ErrorAction Stop The update succeeds but the start fails and the app log file shows: com.microsoft.sqlserver.jdbc.SQLServerException: The password property exceeds the maximum number of 128 characters Perhaps it’s using the encrypted password (settings.yaml) directly and skipping decryption but I don't know why? Interestingly, there is no problem when I run the same Start-MxApp command directly on the app server. Has anybody come across this? I don’t see why remote PS execution should have different results in this context. Thanks.   Full Log 2019-02-04 18:05:53.285 WARNING - ConnectionBus: Database connections: 0 active, 0 idle. 2019-02-04 18:05:53.285 ERROR - ConnectionBus: Opening JDBC connection to Some([the.ip.address.here]) failed with SQLState: null Error code: 0 Message: The password property exceeds the maximum number of 128 characters., giving up...(4/4) 2019-02-04 18:05:53.285 ERROR - M2EE: An error occurred while initializing the Runtime: Error on initializing database connection. 2019-02-04 18:05:53.285 ERROR - M2EE: com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Error on initializing database connection.     at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:325) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Error on initializing database connection.     at com.mendix.connectionbus.ConnectionBusInitializer.throwDefault$1(ConnectionBusInitializer.scala:58) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The password property exceeds the maximum number of 128 characters.     at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:206)     at com.microsoft.sqlserver.jdbc.SQLServerConnection.ValidateMaxSQLLoginName(SQLServerConnection.java:775)     at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:933)     at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:788)     at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnectionInternal(SQLServerDataSource.java:719)     at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnection(SQLServerDataSource.java:71)     at org.apache.commons.dbcp2.DataSourceConnectionFactory.createConnection(DataSourceConnectionFactory.java:44)     at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)     at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)     at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)     at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)     at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134)     at com.mendix.connectionbus.connections.jdbc.ConnectionManager.getConnection(ConnectionManager.java:49)     at com.mendix.connectionbus.ConnectionBusInitializer.$anonfun$createConnection$1(ConnectionBusInitializer.scala:52)     at scala.util.Try$.apply(Try.scala:209)     at com.mendix.connectionbus.ConnectionBusInitializer.retry(ConnectionBusInitializer.scala:60)     at com.mendix.connectionbus.ConnectionBusInitializer.createConnection(ConnectionBusInitializer.scala:52)     at com.mendix.connectionbus.ConnectionBusInitializer.initialize(ConnectionBusInitializer.scala:42)     at com.mendix.connectionbus.ConnectionBusImpl.initialize(ConnectionBusImpl.java:298)     at com.mendix.basis.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:474)     at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:296)     at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:49)     at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)     at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:128)     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(Unknown Source)

Unable to configure open authentication module

$
0
0
I am new to Mendix and have been trying use open authentication module. I get the errors as in attached screenshot when I install open authentication module. I do not find documentation clear enough to help me get over this issue. 

Refreshing a Deleted Object from Paginated List View

$
0
0
We are trying to use a list view with pagination where each item in the list view has the ability to be deleted.   This list can get quite large and I am wondering if there is a way to delete an item from the list without refreshing the entire list – this ends up in the user getting sent back to page 1 after deleting an item. 
Viewing all 83469 articles
Browse latest View live