Error when attempting to publish: TDMServiceException: randlov: John - Not a number

Document ID : KB000009265
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

We are receiving the following error when attempting to publish with one of our tiles from the Web Portal.

ERROR: Publish failed for job 1401, resolve_meta_data_item: TDMServiceException: randlov: John - Not a number
End date and time: 2017/12/19 10:30:40

This only happens during the actual publish.  If we use data painter, the variables all resolve properly.

Environment:
TDM Web Portal - 4.3.0.41
Cause:

Need to make sure that the Web Portal logs are in DEBUG mode (see Enable Debug Logging ).

Duplicate the error and look at the logs - generally found %ProgramData%\CA\CA Test Data Manager Portal\logs\

From the TDMPublish.log the following was found (extraneous log information has been edited out - {...} ):

 

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_resolve_meta_data_item: evaluating expression: gbm15.univ

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  evalExpr: evaluating: gbm15.univ

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  evalExpr: ...with no parameterised variable context

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_resolve_meta_data_item: expression result: "gbm15.univ"

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_resolve_meta_data_item: evaluating expression: @randlov(0,@seedlist(LastName)@)@

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  evalExpr: evaluating: @randlov(0,@seedlist(LastName)@)@

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  evalExpr: ...with no parameterised variable context

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function: evaluating function seedlist

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[0] @

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[1] seedlist

2017-12-19 20:43:41.703 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[2] LastName

2017-12-19 20:43:42.523 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  evalFunction: function seedlist evaluates to: "P1"

2017-12-19 20:43:42.523 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function: evaluating function randlov

2017-12-19 20:43:42.523 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[0] @

2017-12-19 20:43:42.523 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[1] randlov

2017-12-19 20:43:42.523 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[2] 0

2017-12-19 20:43:42.523 UTC [DEBUG] [taskExecutor-2  {...}  c.c.t.s.g.MetaFunctions:  uf_process_function:    args[3] P1

2017-12-19 20:43:42.524 UTC [ERROR] [taskExecutor-2  {...}  c.c.t.s.TDMServiceException:  TDMServiceException: RequestID: 253, Module: TDMSERVICE, Exception: randlov: De Oliveira Santos Flores  - Not a number

2017-12-19 20:43:42.532 UTC [ERROR] [taskExecutor-2  {...}  c.c.t.s.TDMServiceException:  TDMServiceException

com.ca.tdm.servicecommon.TDMServiceException: randlov: De Oliveira Santos Flores  - Not a number

at com.ca.tdm.servicecommon.generator.MetaFunctions.getNewTDMServiceException(MetaFunctions.java:10369)

at com.ca.tdm.servicecommon.generator.MetaFunctions.uf_process_function(MetaFunctions.java:1535)

at com.ca.tdm.servicecommon.generator.MetaFunctions.evalFunction(MetaFunctions.java:12622)

at com.ca.tdm.servicecommon.generator.MetaFunctions.processFunctionVar(MetaFunctions.java:12042)

at com.ca.tdm.servicecommon.generator.MetaFunctions.evalThing(MetaFunctions.java:11787)

at com.ca.tdm.servicecommon.generator.MetaFunctions.evalExpr(MetaFunctions.java:11727)

at com.ca.tdm.servicecommon.generator.MetaFunctions.uf_resolve_meta_data_item(MetaFunctions.java:1668)

at com.ca.tdm.servicecommon.generator.PublishEngine.ResolveExpression(PublishEngine.java:449)

at com.ca.tdm.servicecommon.generator.Resolver.resolveExpression(Resolver.java:135)

at com.ca.tdm.publ.resolver.TDMPublishResolver.preResolveVar(TDMPublishResolver.java:333)

at com.ca.tdm.publ.varsource.TDMPublishAbsVarSource.preResolveVars(TDMPublishAbsVarSource.java:78)

at com.ca.tdm.publ.varsource.TDMPublishDefVarSource.mergeVars(TDMPublishDefVarSource.java:121)

at com.ca.tdm.publ.varsource.TDMPublishDefVarSource.<init>(TDMPublishDefVarSource.java:51)

at com.ca.tdm.publ.varsource.TDMPublishFactoryVarSource.getVarSource(TDMPublishFactoryVarSource.java:111)

at com.ca.tdm.publ.model.TDMPublishJobStart.doPublish(TDMPublishJobStart.java:502)

at com.ca.tdm.publ.publthread.TDMPublishThread.run(TDMPublishThread.java:46)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Resolution:

The original code was not designed correctly.  The resolution is to download version 3.4.0.56 and install.  Please contact Support for this or a higher version.  Please note that this did NOT make it into 4.4.0 GA that was released on December 29, 2017. You can open a support case for the patch by going to https://www.ca.com/us/services-support/ca-support/contact-support.html