Integrate > Micro Focus UCMDB > Using the ServiceManagerEnhancedAdapter9.41 Adapter > Troubleshooting > Troubleshooting Population Issues > Nonexistent Mapping File Name Defined for a TQL Query in smPopConf.xml

Nonexistent Mapping File Name Defined for a TQL Query in smPopConf.xml

Error Message

You will get a “Failed” status while you run the population job. In addition, from the Universal CMDB studio, you will get an error message like the following:

running population. Destination ID: sm, Failed during query: SM Business Service Population 2.0, all queries: [SM Business Application Population 2.0, SM Business Service Population 2.0],  finished queries: [SM Business Application Population 2.0].
ERROR: com.mercury.topaz.cmdb.shared.base.CmdbException: [ErrorCode [802] General Integration Error{sm}]
appilog.framework.shared.manage.impl.MamResponseException: [ErrorCode [802] General Integration Error{sm}]
CMDB Operation Internal Error: class com.mercury.topaz.cmdb.shared.fcmdb.dataAccess.exception.AdapterAccessGeneralException : Query Definition [SM Business Service Population 2.0] has no matching mapping. Make sure the mapping exist exists under folder 'mapping' and contains the exact query name and root name. Available mappings: 
[QueryRoot{queryName='SM Business Application Population 2.0', rootName='bizservice'}] : operation Data Access Adapter Query: Retrieve Changed Data
	at com.mercury.topaz.cmdb.shared.manage.operation.impl.AbstractCommonOperation.execute(AbstractCommonOperation.java:160)
	at com.hp.ucmdb.dataAccess.manager.DataAccessAdapterManagerProbeImpl.executeOperation(DataAccessAdapterManagerProbeImpl.java:50)
	at com.hp.ucmdb.discovery.probe.agents.probemgr.adapters.DataAccessAdaptersFacade.invokeOperation(DataAccessAdaptersFacade.java:406)
	at com.hp.ucmdb.discovery.probe.services.dynamic.core.AdapterService.runChangesOnPopulateChangesAdapter(AdapterService.java:1262)
	at com.hp.ucmdb.discovery.probe.services.dynamic.core.AdapterService.runQueriesOnPopulateChangesAdapter(AdapterService.java:1102)
	at com.hp.ucmdb.discovery.probe.services.dynamic.core.AdapterService.runQueries(AdapterService.java:354)
	at com.hp.ucmdb.discovery.probe.services.dynamic.core.AdapterService.runDiscovery(AdapterService.java:198)
	at com.hp.ucmdb.discovery.probe.services.dynamic.core.AdapterService.discover(AdapterService.java:149)
	at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter.launchTask(JobExecuter.java:1188)
	at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.launch(JobExecuter.java:945)
	at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.executeTask(JobExecuter.java:867)
	at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.run(JobExecuter.java:728)

Solution

Search for text “has no matching mapping” to find out the missing mapping file name, and then add the mapping file to the adapter package.