Error in displaying a grid through association [Maximum supported depth of nested expressions is 1000]

0
Hi,  I have a page that displays two datagrid. On clicking the above datagrid, I am trying to call the second data grid placed down using reference set selector. I want more than 1000 records to be displayed by the second grid. But currently it shows error given below: Is there a way to resolve this error? Error in execution of monitored action 'RegularClientAction' (execution id: 1599224610964-21, execution type: CLIENT)   --------   java.lang.AssertionError: assertion failed: Maximum supported depth of nested expressions is 1000.               at scala.Predef$.assert(Predef.scala:223)               at com.mendix.queryparser.xpath.PathExprUtil$.hasMoreSteps(PathExprUtil.scala:21)               at com.mendix.queryparser.xpath.PathExprUtil$.$anonfun$havePredicatesMoreSteps$1(PathExprUtil.scala:9)               at com.mendix.queryparser.xpath.PathExprUtil$.$anonfun$havePredicatesMoreSteps$1$adapted(PathExprUtil.scala:9)               at scala.collection.LinearSeqOptimized.exists(LinearSeqOptimized.scala:95)               at scala.collection.LinearSeqOptimized.exists$(LinearSeqOptimized.scala:92)               at scala.collection.immutable.List.exists(List.scala:89)               at com.mendix.queryparser.xpath.PathExprUtil$.havePredicatesMoreSteps(PathExprUtil.scala:9)               at com.mendix.queryparser.xpath.PathExprUtil.havePredicatesMoreSteps(PathExprUtil.scala)               at com.mendix.queryparser.xpath.XPathToOqlConverter.havePredicatesMoreSteps(XPathToOqlConverter.java:533)               at com.mendix.queryparser.xpath.XPathToOqlConverter.handlePredicates(XPathToOqlConverter.java:323)               at com.mendix.queryparser.xpath.XPathToOqlConverter.handleQueryLocationPath(XPathToOqlConverter.java:265)               at com.mendix.queryparser.xpath.XPathToOqlConverter.handleQueryLocationPath(XPathToOqlConverter.java:223)               at com.mendix.queryparser.xpath.XPathToOqlConverter.handleQueryExpression(XPathToOqlConverter.java:148)               at com.mendix.queryparser.xpath.XPathToOqlConverter.convert(XPathToOqlConverter.java:119)               at com.mendix.queryparser.QueryParserImpl.parseXPathQuery(QueryParserImpl.scala:27)               at com.mendix.connectionbus.retrieve.requests.InternalLimitedXPathTextGetRequest.getSuitableRequest(InternalLimitedXPathTextGetRequest.scala:11)               at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:57)               at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:49)               at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:512)               at com.mendix.basis.action.user.RetrieveXPathSchemaRawAction.retrieveXPathSchemaRaw(RetrieveXPathSchemaRawAction.java:173)               at com.mendix.basis.action.user.RetrieveXPathSchemaRawAction.executeAction(RetrieveXPathSchemaRawAction.java:136)               at com.mendix.basis.action.user.RetrieveXPathSchemaRawAction.executeAction(RetrieveXPathSchemaRawAction.java:27)               at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)               at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71)               at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49)               at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54)               at com.mendix.webui.actions.client.RetrieveByXPathAction.retrieveTable(RetrieveByXPathAction.scala:237)               at com.mendix.webui.actions.client.RetrieveByXPathAction.retrieveForDataGrid(RetrieveByXPathAction.scala:95)               at com.mendix.webui.actions.client.RetrieveByXPathAction.apply(RetrieveByXPathAction.scala:61)               at com.mendix.webui.actions.client.RetrieveByXPathAction.apply(RetrieveByXPathAction.scala:30)               at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29)               at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55)               at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35)               at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32)               at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45)               at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53)               at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45)               at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109)               at scala.util.Try$.apply(Try.scala:213)               at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109)               at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107)               at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47)               at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)               at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)               at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)               at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)               at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)               at com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59)               at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47)               at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27)               at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86)               at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24)               at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19)               at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86)               at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107)               at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)               at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)               at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)               at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86)               at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104)               at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:104)               at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:81)               at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)               at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76)               at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73)               at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)               at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79)               at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:963)               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.base/java.lang.Thread.run(Thread.java:834)
asked
2 answers
0

How did you fix this error ?

answered
-1

Can you add a snapshot of your page in Studio Pro? I think (hope) you have an incorrect way of linking your datagrids.

And have you also tried this with an alternative for the second datagrid: a template grid or a with list view? That might already get you what you need.

answered