I'm working on adding various colors to chart diagrams in Mendix. However, when I create a color bar object, it ends up applying the same color to the entire chart. I want to assign different colors to each individual object within the chart. Is there a way to achieve this in Mendix? and i used the anychart widget and iam expecting my bar chart like following image
↧
i want to change the colour dynamically.
↧
Creating Postgres extension
Hello, Currently I’m developing a Mendix module that requires that a custom Query is run on the Mendix application database which I have working. However this query also requires that the pgcrypto module is installed, when I execute the create extension command first I get the message that I need superuser privileges in order to add the extension. Is it possible to use this Postgres extension at all on the Mendix cloud? Currently I have a free app in which I develop this module, and locally I managed to get it all working since I do have superuser access to my local database. With kind regards, Bob van Leeuwen
↧
↧
Data Importer can't handle .xlsx files
Dear Community, I would like to use the data importer for my application. I started with this documentation/tutorial: https://docs.mendix.com/appstore/modules/data-importer/ and followed the steps. And I works fine! I create an example Excel-Sheet and after starting the microflow i get a message with the correct nummer of rows. But it works only for .xls and not .xlsx. I already cleaned up my userlib, i checked for duplicated jar-files without solving the problem. I get this two errors when starting the microflow and uploading a .xlsx-file: Log node: ActionManager Message: Error in execution of monitored action 'RegularClientAction' (execution id: 1716542659633-8, execution type: CLIENT) Stack trace: java.lang.NoSuchMethodError: 'byte[] org.apache.commons.io.IOUtils.byteArray(int)' at org.apache.commons.io.output.AbstractByteArrayOutputStream.needNewBuffer(AbstractByteArrayOutputStream.java:140) at org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream.(UnsynchronizedByteArrayOutputStream.java:156) at org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream$Builder.get(UnsynchronizedByteArrayOutputStream.java:72) at org.apache.poi.util.IOUtils.peekFirstNBytes(IOUtils.java:144) at org.apache.poi.poifs.filesystem.FileMagic.valueOf(FileMagic.java:209) at org.apache.poi.openxml4j.opc.internal.ZipHelper.verifyZipHeader(ZipHelper.java:144) at org.apache.poi.openxml4j.opc.internal.ZipHelper.openZipFile(ZipHelper.java:215) at org.apache.poi.openxml4j.opc.ZipPackage.(ZipPackage.java:188) at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:285) at org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.create(XSSFWorkbookFactory.java:155) at org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.create(XSSFWorkbookFactory.java:36) at org.apache.poi.ss.usermodel.WorkbookFactory.lambda$create$4(WorkbookFactory.java:311) at org.apache.poi.ss.usermodel.WorkbookFactory.wp(WorkbookFactory.java:329) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:311) at dataimporter.implementation.service.ExcelDataReader.(ExcelDataReader.java:30) at dataimporter.factory.ExcelDataProcessor.parseData(ExcelDataProcessor.java:45) at dataimporter.actions.DataImport.parseSheetData(DataImport.java:243) at dataimporter.actions.DataImport.getMendixObjectList(DataImport.java:232) at dataimporter.actions.DataImport.executeAction(DataImport.java:103) at dataimporter.actions.DataImport.executeAction(DataImport.java:42) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:57) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103) at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:59) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:35) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:11) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:38) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:31) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:28) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:176) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:116) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:57) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103) at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:64) at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.runMicroflow(MicroflowRuntimeOperationExecutor.scala:91) at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.$anonfun$apply$5(MicroflowRuntimeOperationExecutor.scala:55) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:56) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:46) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:43) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:46) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:54) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:46) at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.apply(MicroflowRuntimeOperationExecutor.scala:56) at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:66) at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:25) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:120) at scala.util.Try$.apply(Try.scala:210) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:120) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:118) at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$7(ContextHandling.scala:59) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:52) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:52) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:59) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:33) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:94) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:30) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:22) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:94) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:118) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 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:94) at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:115) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:95) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:68) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:37) at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:54) at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1$adapted(MxRuntimeConnector.scala:54) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:54) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.scala:222) at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:40) at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1553) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) at org.eclipse.jetty.server.Server.handle(Server.java:563) at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) at java.base/java.lang.Thread.run(Thread.java:829) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Log node: M2EE Message: An unhandled error occurred in the MxRuntime. Stack trace: java.lang.NoSuchMethodError: 'byte[] org.apache.commons.io.IOUtils.byteArray(int)' at org.apache.commons.io.output.AbstractByteArrayOutputStream.needNewBuffer(AbstractByteArrayOutputStream.java:140) at org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream.(UnsynchronizedByteArrayOutputStream.java:156) at org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream$Builder.get(UnsynchronizedByteArrayOutputStream.java:72) at org.apache.poi.util.IOUtils.peekFirstNBytes(IOUtils.java:144) at org.apache.poi.poifs.filesystem.FileMagic.valueOf(FileMagic.java:209) at org.apache.poi.openxml4j.opc.internal.ZipHelper.verifyZipHeader(ZipHelper.java:144) at org.apache.poi.openxml4j.opc.internal.ZipHelper.openZipFile(ZipHelper.java:215) at org.apache.poi.openxml4j.opc.ZipPackage.(ZipPackage.java:188) at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:285) at org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.create(XSSFWorkbookFactory.java:155) at org.apache.poi.xssf.usermodel.XSSFWorkbookFactory.create(XSSFWorkbookFactory.java:36) at org.apache.poi.ss.usermodel.WorkbookFactory.lambda$create$4(WorkbookFactory.java:311) at org.apache.poi.ss.usermodel.WorkbookFactory.wp(WorkbookFactory.java:329) at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:311) at dataimporter.implementation.service.ExcelDataReader.(ExcelDataReader.java:30) at dataimporter.factory.ExcelDataProcessor.parseData(ExcelDataProcessor.java:45) at dataimporter.actions.DataImport.parseSheetData(DataImport.java:243) at dataimporter.actions.DataImport.getMendixObjectList(DataImport.java:232) at dataimporter.actions.DataImport.executeAction(DataImport.java:103) at dataimporter.actions.DataImport.executeAction(DataImport.java:42) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:57) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103) at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:59) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:35) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:11) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:38) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:31) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:28) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:176) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:116) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:57) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103) at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:64) at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.runMicroflow(MicroflowRuntimeOperationExecutor.scala:91) at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.$anonfun$apply$5(MicroflowRuntimeOperationExecutor.scala:55) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:56) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:46) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:43) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:46) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:54) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:46) at com.mendix.webui.actions.client.MicroflowRuntimeOperationExecutor.apply(MicroflowRuntimeOperationExecutor.scala:56) at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:66) at com.mendix.webui.actions.client.RuntimeOperationAction.apply(RuntimeOperationAction.scala:25) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:30) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:120) at scala.util.Try$.apply(Try.scala:210) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:120) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:118) at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$7(ContextHandling.scala:59) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:52) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:52) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:59) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:33) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:94) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:30) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:22) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:94) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:118) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 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:94) at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:115) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:95) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:68) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:37) at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:54) at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1$adapted(MxRuntimeConnector.scala:54) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:54) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.scala:222) at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:40) at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1384) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1553) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1306) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) at org.eclipse.jetty.server.Server.handle(Server.java:563) at org.eclipse.jetty.server.HttpChannel$RequestDispatchable.dispatch(HttpChannel.java:1598) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:753) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:501) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:287) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149) at java.base/java.lang.Thread.run(Thread.java:829) I would be grateful for every single tip, thanks.
↧
Scanning image to text
Hello All, I am working on the task that involves scanning an image and converting it into text. I have attempted to use Tesseract OCR from the Mendix Marketplace, but unfortunately, it is not successfully scanning the image attached below. Could anyone provide guidance or suggest an alternative solution? Thank you in advance for your help. Best regards, Yogeshwar
↧
how to get data from domain model inside javascript snippet ?
hi team , how i can retrieve data from below three entities inside the javascript snippet ? this is my javascript snippet - and i have already placed this widget inside the data view like this now i want to retrieve data from the above 3entites inside my javascript snippet . how i can do ? -
↧
↧
How to Create Scrollable Two-Tone Layout in Mendix PWA
I'm developing a Mendix PWA that runs on both web and offline web. I want the layout on my home page to be 20% of the screen size from the top bar down, with a yellow background, and the rest with a white background. When the user scrolls the screen, the colored section will follow. I'm having trouble implementing this and would appreciate any help from the Mendix community. Here are some additional details: I've tried using a container with a fixed height and setting the background color to yellow. However, the container doesn't resize when the user scrolls the screen. I've also tried using a CSS gradient, but I can't get it to work properly. I'm hoping someone in the community can help me with this. Any suggestions would be greatly appreciated. Thank you! Wireframe similar to the image below:
↧
Are business events session specific?
Very new to Mendix and one thing we are working on is making a persistent login across multiple Mendix apps. My question is are business events session specific? Could I have a centralized "login" app that publishes a business event whenever someone logs in, and then any of the apps that consume that event could get from the centralized app who logged in and then do a sign in action in the microflow? Same for log out?
↧
Not getting data through associations
Hi, i'm using mendix version 10.9.0. I'm building an app that, receiving data from a REST call, either GET or POST, it needs to display them into a chart or whatever, by only using non-persistable objects. My app receives an array of cameras (Fotocamera) in witch there are some attributes including an array of immages (immagine) containing some other attributes. Here's the JSON structure: Now, when i launch the request, in the body the JSON i receive is correct, as shown here: However, as I try to display all of them in the CHART or in a grid, looks like i only received the data of the cameras (Fotocamera), and as i try logging the result of the images (immagine), it doesn't print anything. For context, here's the import mapping: I'm trying to solve this for hours, and i have no idea of why this doesen't work when it really should. I also tried changing my model like this: But it's no use. Please, help me solve this issue because i have no idea of what else to do... Thanks
↧
Service console warning...
Hi I get the following warning in the service console and was wondering how to fix the issue. Failed cluster management action: cleanup orphaned files. java.lang.NullPointerException: null at scala.collection.StringOps$.forall$extension(StringOps.scala:1050) at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.$anonfun$retrieveReferencedFiles$1(UnreferencedFileCleanup.scala:171) at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.$anonfun$retrieveReferencedFiles$1$adapted(UnreferencedFileCleanup.scala:171) at scala.collection.immutable.List.filter(List.scala:515) at scala.collection.immutable.List.filter(List.scala:79) at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.retrieveReferencedFiles(UnreferencedFileCleanup.scala:171) at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.deleteUnreferencedFiles(UnreferencedFileCleanup.scala:135) at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.cleanup$1(UnreferencedFileCleanup.scala:100) at com.mendix.filedocumentprocessor.UnreferencedFileCleanup.cleanUpOrphans(UnreferencedFileCleanup.scala:104) at com.mendix.basis.action.system.ClusterManagementAction$.$anonfun$cleanupOrphanFiles$2(ClusterManagementAction.scala:76) at com.mendix.basis.action.system.ClusterManagementAction$.$anonfun$cleanupOrphanFiles$2$adapted(ClusterManagementAction.scala:75) at com.mendix.basis.action.system.ClusterManagementAction$$anon$1.execute(ClusterManagementAction.scala:24) at com.mendix.basis.action.system.ManagementAction.executeWithLogging(ManagementAction.scala:21) at com.mendix.basis.action.system.ManagementAction.executeWithLogging$(ManagementAction.scala:18) at com.mendix.basis.action.system.ClusterManagementAction.executeWithLogging(ClusterManagementAction.scala:102) at com.mendix.basis.action.system.ClusterManagementAction.$anonfun$schedule$1(ClusterManagementAction.scala:108) at com.mendix.basis.action.system.ClusterManagementAction.$anonfun$schedule$1$adapted(ClusterManagementAction.scala:108) at com.mendix.basis.impl.MxRuntimeImpl.$anonfun$registerPeriodicAction$1(MxRuntimeImpl.scala:211) at com.mendix.basis.impl.MxRuntimeImpl.$anonfun$registerPeriodicAction$1$adapted(MxRuntimeImpl.scala:211) at com.mendix.basis.actionmanagement.ActionRegistry$$anon$1.executeAction(ActionRegistry.scala:93) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:58) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:56) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.$anonfun$runMonitoredAction$1(CoreActionHandlerImpl.scala:59) at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:49) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:49) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.runMonitoredAction(CoreActionHandlerImpl.scala:59) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:46) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.java:56) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:104) at com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:103) at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:57) at com.mendix.modules.queue.UserActionTask.$anonfun$execute$1(UserActionTask.scala:41) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at scala.util.Try$.apply(Try.scala:210) at com.mendix.modules.queue.UserActionTask.execute(UserActionTask.scala:35) at com.mendix.modules.queue.TaskDispatcher.executeTask(TaskDispatcher.scala:229) at com.mendix.modules.queue.TaskDispatcher.$anonfun$dispatchTask$2(TaskDispatcher.scala:209) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at com.mendix.modules.queue.MendixTaskQueueMetrics$QueueBasedMetricsImpl.$anonfun$timeTaskExecution$1(TaskQueueMetrics.scala:44) at io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:65) at com.mendix.metrics.micrometer.MicrometerTimer.record(MicrometerTimer.scala:29) at com.mendix.modules.queue.MendixTaskQueueMetrics$QueueBasedMetricsImpl.timeTaskExecution(TaskQueueMetrics.scala:44) at com.mendix.modules.queue.TaskDispatcher.$anonfun$dispatchTask$1(TaskDispatcher.scala:209) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
↧
↧
Hide Text Box If Empty
Hi! I want my contact details to be viewed in seperate lines and hide if details are empty. How can I do this? I would really appreciate it if you could help me :) If I set these to 'Text', details will be like this: If I set these to 'Paragraph', the empty ones will take their place anyway:
↧
Templatte grid
My templategrid is set 10 rows but te layout is not responsife of the list that is givin when a have 2 object i want it to split in 2 and when in 3 in trhe en so on and on but it splits in 10 everetime.
↧
Creating a class and applying to page
I'd like assistance with creating an SCSS class that calls an image to use as a background image in a container widget. I'm having trouble with the steps involved. I'm running version 10.9 and would appreciate any tips or tricks to help me develop my knowledge. /file?guid=19703248379639941 /file?guid=19703248379640190 /file?guid=19703248379640294
↧
Chart Series help
I have a column chart and I want to get the y value displayed inside of each of the bars. I am using the code { "texttemplate": "%{y}", "textposition": "inside" } to do this however, it only works if I use the developer mode of the chart, go to the series, and put the code in the custom settings. when I go to the series in the developer app, I go to the advanced tab and put it in the custom series options, but it doesn’t show up on the graph when I view the app. any idea what I’m doing wrong? I’ll put this in the series like so: But this is the only thing that shows up in the developer tool.
↧
↧
How to send data through a POST to an API?
Hello Mendix community. I have a problem. I want to send through a POST service data from my Mendix application to an API that connects to a database. Inside my JSON I have the following structure: That is to say, the data I want to send is the data of an Activity entity and associated with it has a serial entity, so I need to send an activity and within it many serials. The ExportMapping was as follows: I have tested Postman and it works, but I don't know how to send this information from Mendix. I have done it through a microflow that brings me the Activity data and then through a Loop I fill in the serial entity data, but when it reaches the Call REST POST I get an error. I hope you can help me understand how to send data through a REST POST call with a JSON that contains a list within it. Thank you, your help will be very valuable.
↧
Mendix server is not starting to run apps locally ??
Details in the error msg "An unknown error occurred while starting the server": Mendix.Modeler.M2EEConnector.M2EEException: The server encountered an error. at Mendix.Modeler.M2EEConnector.M2EEResponse.CheckSuccess() in Mendix.Modeler.M2EEConnector\M2EEResponse.cs:line 57 at Mendix.Modeler.M2EEConnector.M2EEClient.UpdateAppContainerConfiguration(Int32 port, String listenAddresses) in Mendix.Modeler.M2EEConnector\M2EEClient.cs:line 161 at Mendix.Modeler.M2EEConnector.StartupManager.<>c__DisplayClass5_0.b__0() in Mendix.Modeler.M2EEConnector\StartupManager.cs:line 39 at Mendix.Modeler.Analytics.RuntimeProfilingAnalyticsScope.<>c__DisplayClass8_0.b__0() in Mendix.Modeler.Analytics\RuntimeProfilingAnalyticsScope.cs:line 59 at Mendix.Modeler.Analytics.RuntimeProfilingAnalyticsScope.Execute[T](IAnalyticsEventManager eventManager, String eventType, String deploymentId, Func`1 op) in Mendix.Modeler.Analytics\RuntimeProfilingAnalyticsScope.cs:line 42 at Mendix.Modeler.M2EEConnector.StartupManager.PerformStartup(StartupInfo info, String deploymentId, IM2EEClient client) in Mendix.Modeler.M2EEConnector\StartupManager.cs:line 38 at Mendix.Modeler.M2EEConnector.RuntimeController.Start(StartupInfo info, String deploymentId, LogLevel autoSubscribeLogLevel) in Mendix.Modeler.M2EEConnector\RuntimeController.cs:line 136 at Mendix.Modeler.Deployment.Local.LocalRunner.<>c__DisplayClass96_0.b__1() in Mendix.Modeler.Deployment\Local\LocalRunner.cs:line 423 at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.b__0(Object s, DoWorkEventArgs e) in Mendix.Modeler.Utility\BackgroundUtil.cs:line 29 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) My Studio Pro version is actually 10.9, it's not showing in the option while making this post.
↧
Deeplink OIDC Issue
I have an issue when i would my user send to deeplink using OIDC So the AllowGuests is false. I use OIDC SSO v1.1.0 and Deep link module v9.0.5. When i go to the URL en hit enter i get the following message form the browser. This page on localhost could not be found No web page was found for the web address: http://localhost:8080/SSO/login?f=true&cont=%2Flink%2Fdivconsultwebclient HTTP ERROR 404 I have also tried to set LoginLocation to: ../..?cont= /oauth/v2/login?cont= When i set the AllowGuests to true can i access the page without login in. Someone who knows what the solution is?
↧
Issues with Configuring OIDC SSO With Native Mobile App
I have a requirement to integrate Azure with one of our new native apps on Mendix. I followed the documentation provided here to implement the setup. However, when I try to test it using the Make It Native app version 9, I keep encountering the following error (traced from Mendix Studio Pro) after inputting the username, password, and authentication code in the app: com.auth0.jwk.SigningKeyNotFoundException: No key found in https://login.microsoftonline.com/app-id/discovery/v2.0/keys with kid XXXX at OIDC.DecodeAndVerifyJWT (JavaAction: 'Decode & Verify JWT Plain Text')at OIDC.handleAuthorizationCode (SubMicroflow: 'DecodeAndVerifyJWT')at OIDC.mobileCallback (SubMicroflow: 'handleAuthorizationCode') Note: I have replaced the app ID and key ID (kid) in the above error message with generic values for security purposes. I have reviewed the setup multiple times today but still can't figure out what is wrong. Has anyone encountered this before or have an idea of what I might be doing wrong?
↧
↧
Errors, entity configured for the data source
I have a problem No entity configured for the data source of this data view. Select an entity or change the data source, help
↧
Microsoft Teams Integration, Need some help with recurrence part.
Hello members of the community, I am seeking insights from individuals who have experience with Teams integration for facilitating meeting creation through Mendix systems using Microsoft Graph. While I have successfully integrated the systems and can schedule meetings, I am now exploring the possibility of setting meeting recurrence. I would greatly appreciate guidance on the most effective approach for accomplishing this task. Thank you in advance for your expertise and assistance.
↧
How to deal with unreliable 'Editability'/'editable' accessor for customWidget in Mendix Model SDK?
The screenshot says it all but here's some context: I'm using the SDK to collect information about all usages of the Rich Text editor in my application. We use it nearly 200 times so it's important to be able to review the configuration selections different developers make to ensure they align with existing design decisions. So for the most part I'm comparing properties and property values. But one item that exists outside of properties that I still need to review is the editability. It has its own accessor on customwidgets.CustomWidget, .editable. .editable works and is accurate most of the time. The exception is when the editability is inherited from a parent container as 'Never'. In these cases it returns 'Always' (which is the typical value when the user selects 'Default' editability). Does anyone know of an alternate, more accurate way to identify widget editablity?
↧