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

Native Mobile - For Tablet (iPad)

$
0
0
Hi Is there a plan to make Native Mobile for Tablet as well as phone (Currently, only Phone is the option).   Thanks Robbie

Quickly add multiple attributes together into an entity

$
0
0
Good Day, When building domain-models I find that it is time consuming to add each and every attribute, individually, to the entities. It would be useful and faster to be able to add many attributes together. Is there no way at this current time to add multiple attributes to a single entity in one go? Of course the issue may be that I might want to add different types to an attribute or a certain type of validation, however after the initial add I could go back and change the individual attributes that I need to.  

Creating pluggable widget throws an error

$
0
0
I tried creating a pluggable widget on Mendix 8 BETA 3 and used the Build Pluggable Widgets tutorial. When trying to test the widget i receive the following error:  React-Hot-Loader: misconfiguration detected, using production version in non-production environment. React-Hot-Loader: Hot Module Replacement is not enabled. The widget is not rendering. If tried reloading the library, or changing project settings, but it didn't work. Does anyone know what i’m doing wrong here?

spacing between widget and styling the widget

$
0
0
hi everyone i want some space between the text widget and text area widget. i want to reduce the length of text area widget. how can i achieve this in mendix? ps: i tried added empty container but didint work Thanks

Uploading file failed: the authorisation header is malformed; the region 'us-east-1' is wrong

$
0
0
Hi all,  I’m trying to save a photo but get this error message   14:32:29APPERRORConnector: Uploading file failed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-central-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: A43FCFE76E0431A3; S3 Extended Request ID: RIyNYh5B4RPIAt+rLApUvPbZkNQQrSs6/ypa+OVgvN6Tlq28e7/1ASsRQd3/Djxpi9xxi4lxr5o=) [User 'MxAdmin' with session id '71c9e1c2-XXXX-XXXX-XXXX-XXXXXXXX6d4c' and roles 'Administrator'] 14:32:29APPERRORConnector: com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-central-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: A43FCFE76E0431A3; S3 Extended Request ID: RIyNYh5B4RPIAt+rLApUvPbZkNQQrSs6/ypa+OVgvN6Tlq28e7/1ASsRQd3/Djxpi9xxi4lxr5o=) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1712) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1367) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1113) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:770) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:744) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:726) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:686) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:668) 14:32:29APPINFOWarning: TCP log subscriber 'DataDogSubscriber' could not connect to TCP port 9032 on localhost/127.0.0.1. Retrying in 0 ms (retry #1). 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:532) 14:32:29APPINFOat com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:512) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4914) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:4860) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client.access$300(AmazonS3Client.java:389) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client$PutObjectStrategy.invokeServiceCall(AmazonS3Client.java:5793) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client.uploadObject(AmazonS3Client.java:1786) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1746) 14:32:29APPINFOat com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1687) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageService.singlePartUpload(AmazonS3StorageService.scala:61) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageService.doStore(AmazonS3StorageService.scala:32) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageComponent.super$doStore(AmazonS3StorageComponent.scala:62) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageComponent.$anonfun$doStore$1(AmazonS3StorageComponent.scala:62) 14:32:29APPINFOat scala.util.Try$.apply(Try.scala:213) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageComponent.wrapException(AmazonS3StorageComponent.scala:97) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageComponent.doStore(AmazonS3StorageComponent.scala:62) 14:32:29APPINFOat com.mendix.storage.StorageService.store(StorageService.scala:31) 14:32:29APPINFOat com.mendix.storage.StorageService.store$(StorageService.scala:29) 14:32:29APPINFOat com.mendix.storage.s3.internal.AmazonS3StorageComponent.store(AmazonS3StorageComponent.scala:23) 14:32:29APPINFOat com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.writeFile(FileDocumentProcessorImpl.java:205) 14:32:29APPINFOat com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.writeImage(FileDocumentProcessorImpl.java:192) 14:32:29APPINFOat com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.storeImageInternal(FileDocumentProcessorImpl.java:159) 14:32:29APPINFOat com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.storeImage(FileDocumentProcessorImpl.java:141) 14:32:29APPINFOat com.mendix.basis.component.InternalCoreBase.storeImageDocumentContent(InternalCoreBase.java:1381) 14:32:29APPINFOat com.mendix.webui.requesthandling.FileRequestHandler.$anonfun$doUpload$2(FileRequestHandler.scala:165) 14:32:29APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) 14:32:29APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:32) 14:32:29APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:20) 14:32:29APPINFOat com.mendix.webui.requesthandling.FileRequestHandler.withState(FileRequestHandler.scala:50) 14:32:29APPINFOat com.mendix.webui.requesthandling.FileRequestHandler.doUpload(FileRequestHandler.scala:150) 14:32:29APPINFOat com.mendix.webui.requesthandling.FileRequestHandler.handleUpload(FileRequestHandler.scala:82) 14:32:29APPINFOat com.mendix.webui.requesthandling.FileRequestHandler.handleRequest(FileRequestHandler.scala:67) 14:32:29APPINFOat com.mendix.webui.requesthandling.FileRequestHandler.processRequest(FileRequestHandler.scala:60) 14:32:29APPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 14:32:29APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:74) 14:32:29APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71) 14:32:29APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 14:32:29APPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:77) 14:32:29APPINFOat com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:936) 14:32:29APPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) 14:32:29APPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 14:32:29APPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) 14:32:29APPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 14:32:29APPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) 14:32:29APPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) 14:32:29APPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) 14:32:29APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) 14:32:29APPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 14:32:29APPINFOat org.eclipse.jetty.server.Server.handle(Server.java:502) 14:32:29APPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) 14:32:29APPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) 14:32:29APPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) 14:32:29APPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 14:32:29APPINFOat org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) 14:32:29APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) 14:32:29APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) 14:32:29APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) 14:32:29APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) 14:32:29APPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) 14:32:29APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) 14:32:29APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) 14:32:29APPINFOat java.lang.Thread.run(Thread.java:748)

Notification only once needed - event on leave

$
0
0
Hello, i wanted to create notification with the appronto notification. It works good for implementing it in buttons, but if i want to put it as an event handler for on leave i get few notifications, but i need only one (e.g. for the problem below).   Kind regards, Waldemar

Pluggable widget: how to access context entity?

$
0
0
The Switch/Boolean slider from the appstore uses React and has access to the MxObject. But when I create a pluggable widget (using Yeoman with @mendix/generator-widget), the `props` of the React container does not contain the mxObject (confirmed by issuing a simple `console.log(this.props)` in the component). I noticed that the widget XML does not contain pluginWidget=”true”, whereas the template generated by @mendix/generator-widget does specify pluginWidget=”true” in the XML. If I remove pluginWidget=”true” from my project, I get an error from the typings generator (which wants pluginWidget=”true” to be set). Question out of interest: What kind of widget is the Switch/Boolean slider from the appstore? It uses React, so seems to be a pluggable widget, but it does not use the pluggable widget scaffold, nor does it identify itself as such in the XML. But the main question is still: how can I pass the context entity to the widget?

Javascript(Data Source) widget error : Error while evaluating javascript input: SyntaxError: Unexpected token {

$
0
0
Hello I am using “JavaScript snippet(Data Source)” widget in my app. I have enabled jQuery3.1.1 inside the snippet and used JQuery datepicker. I have given datasource as a dateandtime attribute(say MyDate) from an entity. This widget I have placed inside the Dataview of the same entity. I have given variable name to this attribute as “testing”. So now, inside this JS snippet, I have referred to this attribute using its variable name as ${testing}.datepicker({…….}) but when I run my app, I am getting an error ,”Error while evaluating javascript input: SyntaxError: Unexpected token {” and “snippetjs_widget_snippetjs_datasource_0: Error while evaluating javascript input.” As per the error, I understood that I should not refer as, ${testing}, but the snippet says we should use ${variable name} format for referring to the attribute. Can someone please guide me how to eliminate this error.    

How can I use my Enterprise license for both on-premise and cloud environments?

$
0
0
Hello Community, I am holding an Enterprise Mendix license. I am using it for on-premise application. Now, I want to use it for cloud as well. How can use it for both instances. Please provide me the steps to follow to set-up this. Thank you.

Rapid developer course

$
0
0
So I am following the rapid developer course in the Mendix academy. I just can not get the “Duration” field to become editable (add new course button chapter 3), even tho everything seems fine to me.   Domain model : Duration type long Box duration on the “ add new course “ page is set to “editable”  Preview mode shows grey field (not editable) What am I missing/doing wrong? 

Not able to consume SAP OData service in mendix using "GetList" action of microflow. All the destination details, username & password details are correct.

$
0
0
Not able to consume SAP OData service in mendix using "GetList" action of microflow. All the destination details, username & password details are correct. Getting the below error while running the application locally “An error has occurred while handling the request. [User 'Anonymous_e544fe18-67a6-44b2-be46-f7aa708af61c' with session id 'a1a9eaae-XXXX-XXXX-XXXX-XXXXXXXXe89b' and roles 'Administrator']” The detailed error message listed below. Kindly suggest us on the solution. “com.mendix.webui.WebUIException: Exception while retrieving data for list widget 'SmartTaxModule.InvoiceNumberListFromSAP.grid1' on page 'SmartTaxModule.InvoiceNumberListFromSAP'                 at com.mendix.webui.actions.client.RetrieveByMicroflowAction.$anonfun$apply$2(RetrieveByMicroflowAction.scala:60) Caused by: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.thirdparty.org.json.JSONException: JSONObject["xsuaa"] not found.                 at SAPODataConnector.GetDestinationInternal (JavaAction : 'ConsumeDestinationService')                 at {"name":"SAPODataConnector.GetDestination","type":"JavaAction"}                 at SmartTaxModule.ACT_GetInvoiceDetails (JavaAction : 'Get Destination') Advanced stacktrace:                 at SmartTaxModule.ACT_GetInvoiceDetails (JavaAction : 'Get Destination') Advanced stacktrace:                 at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.thirdparty.org.json.JSONException: JSONObject["xsuaa"] not found.                 at SAPODataConnector.GetDestinationInternal (JavaAction : 'ConsumeDestinationService')                 at {"name":"SAPODataConnector.GetDestination","type":"JavaAction"}                 at SmartTaxModule.ACT_GetInvoiceDetails (JavaAction : 'Get Destination')”

how to import and parse a csv/textfile

$
0
0
As a beginner I hope to get a general direction in which to look further: I receive textfiles with three different sets of information in the form of: so line 1 and 2 describe two fields (name and date), line 3 – 5 have six fields and line 6 and further have eleven fields The first line of each ‘chapter’ is the header. How should I go about importing this in Mendix? What steps should I take? I want to end up in something like: I would value your input as I'm not familiar with all of Mendix’ possibilities and strategies,   regards,   Bert   

How to fetch only single record while consuming SAP OData service in mendix after giving an input value.

$
0
0
I am trying to fetch data from SAP OData service using Getlist action in a microflow. I have called the microflow on a Data Grid. So all the records are displayed. But i now want to provide an input value for one of the SAP OData entity attributes, and based on the value (on click of search button), only single record should be displayed on my data grid. Could someone please assist me here. I am not able to figure out, how can i pass my current value to the Odata service operation

CameraWidget for Phonegap

$
0
0
While trying to access page with "camera widget for phonegap " getting error – "DEPRECATED: _FormBase.listen will be removed in version 8.0. The 'save' message has been deprecated.You should listen to the 'submit' message instead” Anyone has idea about it and how to resolvr this ?

File Upload issue with Authorization header on Amazon S3

$
0
0
Hello, I guess that almost all user have this issue when they uplaod a file. Uploading file failed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: CB5EE4BA3BE3FA07; S3 Extended Request ID: B8K5X3kwe65FvJScaBAGv7iG0rFoL+gi6Y6vO/gV8w1dy7YjfC5MIlfJDSWJRuPTL5KFuZ/gekk=) Do you know if it’s really a bug of the platform (beta 3) ? Maybe someone found a solution or at least a workaround ?  Thanks in advance. S.

Dependent DropDown

$
0
0
Hello,   Here, I am getting countries list in Country drop down. I want to see the list of states in states drop down for the selected country. I added an “on change” microflow to the country, in that microflow I tried to change the object “MainObject” with list of states but its not possible.  How can I achieve this. Associations: MainObject – Country/State/Dt  ( 1-1 ) Country – State   ( 1-* )  

How to search in the content of PDF-document

$
0
0
Hi all, Is there a possibility to search in the content of uploaded PDF-documents?  Thx! :-)

Export to Excel button error

$
0
0
Hii there, I'm using Mendix 8 Studio Pro and when using the ‘Export to Excel button’  on my entity it DOES work in the local session but it doesn't in the ‘cloud’ version… I've used both an xPath dataview/dataview as from a microflow. Both work local, both don't work in the ‘cloud' version. My log gives the following error: Connector: An error has occurred while handling the request. [User 'Tom' with session id 'f55e032e-XXXX-XXXX-XXXX-XXXXXXXX9920' and roles 'Evelien, User, Administrator'] 15:22:56APPERRORConnector: com.mendix.systemwideinterfaces.MendixRuntimeException: Long running microflow (1563456128697) failed due to an error. 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientActions$.pollBackgroundJob(RegularClientActions.scala:180) 15:22:56APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$clientActions2$10(ClientRequestHandler.scala:62) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:45) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:32) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:20) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.withState(RegularClientAction.scala:20) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:43) 15:22:56APPINFOat scala.util.Try$.apply(Try.scala:213) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:43) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:41) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$3(ContextHandling.scala:41) 15:22:56APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) 15:22:56APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) 15:22:56APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 15:22:56APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) 15:22:56APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:49) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:41) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:20) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:20) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:41) 15:22:56APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14) 15:22:56APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:20) 15:22:56APPINFOat com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:38) 15:22:56APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:124) 15:22:56APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:101) 15:22:56APPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 15:22:56APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:74) 15:22:56APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71) 15:22:56APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 15:22:56APPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:77) 15:22:56APPINFOat com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:936) 15:22:56APPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) 15:22:56APPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 15:22:56APPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) 15:22:56APPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 15:22:56APPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) 15:22:56APPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) 15:22:56APPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) 15:22:56APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) 15:22:56APPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 15:22:56APPINFOat org.eclipse.jetty.server.Server.handle(Server.java:502) 15:22:56APPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) 15:22:56APPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) 15:22:56APPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) 15:22:56APPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 15:22:56APPINFOat org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) 15:22:56APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) 15:22:56APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) 15:22:56APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) 15:22:56APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) 15:22:56APPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) 15:22:56APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) 15:22:56APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) 15:22:56APPINFOat java.base/java.lang.Thread.run(Unknown Source) 15:22:56APPERRORClient: Error 15:22:56APPINFOat new t (https://urentooltest100-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?636990599043945550:46:37847) 15:22:56APPINFOat https://urentooltest100-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?636990599043945550:35:78223 15:22:56APPINFOat https://urentooltest100-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?636990599043945550:20:1728 15:22:56APPINFOat Object.next (https://urentooltest100-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?636990599043945550:20:1833) 15:22:56APPINFOat a (https://urentooltest100-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?636990599043945550:20:604)   I've deleted all attributes that are ‘calculated’ in my entity by a microflow but it still doesn't work. Anyone else has seen this behaviour?    Thank you in advance!

Time-out when calling Postcode webservice

$
0
0
Hi everyone! I'm hoping to get your advice with the following problem: We are calling the Postcode API (https://www.postcodeapi.nu/docs/v2/) from our test environment (on premise), it fails with the following error: an error occurred while making a rest call to url https://postcode-api.apiwise.nl/v2/addresses/?postcode=6218AE&number=25 with api key MAJGuW6adh92f4aNKJ65e1aJHWugr58ZjeQJ8HBE -1. Rest request failed: [HTTP Request: GET 'https://postcode-api.apiwise.nl/v2/addresses/?postcode=6218AE&number=25' --> Response status: -1 CONNECTION FAILED, ETag: null, body: 'java.net.ConnectException: Connection timed out: connect'] Stacktrace: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: restservices.consume.RestConsumeException: -1. Rest request failed: [HTTP Request: GET 'https://postcode-api.apiwise.nl/v2/addresses/?postcode=6218AE&number=25' --> Response status: -1 CONNECTION FAILED, ETag: null, body: 'java.net.ConnectException: Connection timed out: connect'] at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:418) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: restservices.consume.RestConsumeException: -1. Rest request failed: [HTTP Request: GET 'https://postcode-api.apiwise.nl/v2/addresses/?postcode=6218AE&number=25' --> Response status: -1 CONNECTION FAILED, ETag: null, body: 'java.net.ConnectException: Connection timed out: connect'] at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: restservices.consume.RestConsumeException: -1. Rest request failed: [HTTP Request: GET 'https://postcode-api.apiwise.nl/v2/addresses/?postcode=6218AE&number=25' --> Response status: -1 CONNECTION FAILED, ETag: null, body: 'java.net.ConnectException: Connection timed out: connect'] at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: -1. Rest request failed: [HTTP Request: GET 'https://postcode-api.apiwise.nl/v2/addresses/?postcode=6218AE&number=25' --> Response status: -1 CONNECTION FAILED, ETag: null, body: 'java.net.ConnectException: Connection timed out: connect'] at restservices.consume.RestConsumer.request(RestConsumer.java:520) at restservices.consume.RestConsumer.getObject(RestConsumer.java:665) at restservices.actions.get.executeAction(get.java:33) at restservices.actions.get.executeAction(get.java:17) 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:414) 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: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.executeSync(InternalCoreBase.java:493) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:51) 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.executeSync(InternalCoreBase.java:493) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:51) 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.executeSync(InternalCoreBase.java:493) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:51) 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.executeSync(InternalCoreBase.java:493) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:51) 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:21) 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:213) 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: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: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: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: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:909) 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(Unknown Source) Locally, in the development environment, it works without problem. Seeing the above error, we suspect it has something to do with the proxy on the test verver. We have entered the “-Dhttp.proxyHost=11.12.100.3  -Dhttp.proxyPort=8080” in the “extra JVM parameters” field in the Mendix console, but this does not fix the problem. Our network administrator tells us it has to be a Mendix configuration issue. No authentication or SSL certificate are required, and the machine that runs the mendix installation can connect to the internet via a browser without problem, using the same proxy information. I see you can configure the proxy in the “call REST service” action in the modeler. However our application is not using those actions, but using Java actions from the app store "Restservices” (4.4.0) module. I would expect that adding the JVM parameter would make it work anyhow, without adding the proxy information in the modeler. So my questions are: Do you have any ideas on what is the cause and/or what to try next? Is the syntax of the added JVM parameters correct? Can I make it work without rebuilding to use the call REST service action? If I rebuild using call a REST service action, would I need to configure the proxy in the call REST action and also add extra JVM parameters to the console?   Thanks!

Mendix Studio Pro 8 Beta 3 (54216)

$
0
0
Hi, Upon opening 8 beta 3, I am told that I am currently offline, and to either work offline or try again. Despite this – I am connected to the internet. I would work offline, however, as I am working through the rapid developer learning path and so my files are sitting on team server. I can open the previous 7.23.6 and connect to my apps (albeit they will not download as I seem to be forced into using the 8 beta for anything created during the course). How can I troubleshoot this? I thought there might be logs somewhere, but I cannot find them. Does anyone know what URL the software is using to test that its online? Any help/guidance very much appreciated. Thanks in advance, Anthony
Viewing all 83469 articles
Browse latest View live