Error message with Select referenced object through Pop-up form

4
This error occurs when selecting a reference through a pop-up Page and the relevant bit from the error seems to be: There isn't a meta association with name 'Shared.TicketStatus_Customer' of meta object 'Shared.Application'., On the form, I am using Constrained By path on the reference selector. Why is it looking for meta object Shared.Application instead of Shared.TicketStatus? If I select using a drop-down there are no errors and it works as expected. This worked without errors in earlier versions of Mendix The full error is below: Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): XPathTextGetRequest (depth = -1, amount = 1000): //Shared.Application[Shared.TicketStatus_Application/Shared.Application[id='67553994410557904']][Shared.TicketStatus_Customer/Contacts.Customer[id='48695170970944000']][Shared.Application_Customer/Contacts.Customer/Contacts.Contact_CustomerPrefs = '[%CurrentUser%]'] at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:59) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: There isn't a meta association with name 'Shared.TicketStatus_Customer' of meta object 'Shared.Application'., exception occurred on mapping the following query: SELECT x1Shared.Application.ID FROM shared$application AS x1Shared.Application INNER JOIN x1Shared.Application/Shared.TicketStatus_Application/Shared.Application AS x2Shared.Application INNER JOIN x1Shared.Application/Shared.TicketStatus_Customer/Contacts.Customer INNER JOIN x1Shared.Application/Shared.Application_Customer/Contacts.Customer AS x3Contacts.Customer WHERE (x2Shared.Application.id = 67553994410557904) AND (contacts$customer.id = 48695170970944000) AND c1contacts$contact_customerprefs.contacts$contactid = 76279718688587913, exception occurred on mapping the following query: SELECT DISTINCT Shared.Application/* FROM Shared.Application WHERE Shared.Application.ID IN (SELECT x1Shared.Application.ID FROM shared$application AS x1Shared.Application INNER JOIN x1Shared.Application/Shared.TicketStatus_Application/Shared.Application AS x2Shared.Application INNER JOIN x1Shared.Application/Shared.TicketStatus_Customer/Contacts.Customer INNER JOIN x1Shared.Application/Shared.Application_Customer/Contacts.Customer AS x3Contacts.Customer WHERE (x2Shared.Application.id = 67553994410557904) AND (contacts$customer.id = 48695170970944000) AND c1contacts$contact_customerprefs.contacts$contactid = 76279718688587913) LIMIT 1000 at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getMappedQueries(QueryMapper.java:265) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: There isn't a meta association with name 'Shared.TicketStatus_Customer' of meta object 'Shared.Application'., exception occurred on mapping the following query: SELECT x1Shared.Application.ID FROM shared$application AS x1Shared.Application INNER JOIN x1Shared.Application/Shared.TicketStatus_Application/Shared.Application AS x2Shared.Application INNER JOIN x1Shared.Application/Shared.TicketStatus_Customer/Contacts.Customer INNER JOIN x1Shared.Application/Shared.Application_Customer/Contacts.Customer AS x3Contacts.Customer WHERE (x2Shared.Application.id = 67553994410557904) AND (contacts$customer.id = 48695170970944000) AND c1contacts$contact_customerprefs.contacts$contactid = 76279718688587913 at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getMappedQueries(QueryMapper.java:265) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: There isn't a meta association with name 'Shared.TicketStatus_Customer' of meta object 'Shared.Application'. at com.mendix.connectionbus.retrieve.query.mapping.QueryFromLocationsMapper.getAssociationMapper(QueryFromLocationsMapper.java:313) at com.mendix.connectionbus.retrieve.query.mapping.QueryFromLocationsMapper.getAssociationMapper(QueryFromLocationsMapper.java:306) at com.mendix.connectionbus.retrieve.query.mapping.QueryFromLocationsMapper.handleLocationStep(QueryFromLocationsMapper.java:183) at com.mendix.connectionbus.retrieve.query.mapping.QueryFromLocationsMapper.mapJoinElement(QueryFromLocationsMapper.java:123) at com.mendix.connectionbus.retrieve.query.mapping.QueryFromLocationsMapper.mapJoinClauseLocations(QueryFromLocationsMapper.java:86) at com.mendix.connectionbus.retrieve.query.mapping.QueryFromLocationsMapper.mapQueryFromLocations(QueryFromLocationsMapper.java:43) at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getMappedQueries(QueryMapper.java:248) at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getQueryInstances(QueryMapper.java:128) at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleSubQuery(WhereClauseMapper.java:1180) at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleSelectColumn(WhereClauseMapper.java:1040) at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleWhereTermSide(WhereClauseMapper.java:613) at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleWhereTerm(WhereClauseMapper.java:172) at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.map(WhereClauseMapper.java:145) at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.mapWhereClauseWhereTerms(QueryMapper.java:733) at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getMappedQueries(QueryMapper.java:231) at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getQueryInstances(QueryMapper.java:128) at com.mendix.connectionbus.retrieve.DataStoreCaller.mapToQueryInstances(DataStoreCaller.java:88) at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.java:61) at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:71) at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:45) at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:347) at com.mendix.core.action.user.RetrieveXPathSchemaRawAction.retrieveXPathSchemaRaw(RetrieveXPathSchemaRawAction.java:113) at com.mendix.core.action.user.RetrieveXPathSchemaRawAction.executeAction(RetrieveXPathSchemaRawAction.java:84) at com.mendix.core.action.user.RetrieveXPathSchemaRawAction.executeAction(RetrieveXPathSchemaRawAction.java:23) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.webui.actions.client.XPathRetriever.retrieveWithSchema(XPathRetriever.scala:91) at com.mendix.webui.actions.client.RetrieveByXPathAction.execute(RetrieveByXPathAction.scala:36) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:300) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:293) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:293) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:151) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:153) at scala.util.Try$.apply(Try.scala:191) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:147) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:140) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Does anyone know what is causing this error?
asked
2 answers
1

I had the same issue with a reference set selector that has a "Constrained by" path set.

The error was caused by a dropdown search field that used the reference that was mentioned in the error. Changing the search field into a free text search field solved it.

answered
0

In general when there is information or data suddenly no longer available always look at security first.

This looks like an error where the user has no read access on the association: 'Shared.TicketStatus_Customer'
Maybe the modeler doesn't check security on the constraint by property?

answered