Content Migration Manager > Knowledge base > CATIA
NULL/EmptyString Item ID through DataManagementService.getNextIds(InfoForNext[])
NULL/EmptyString Item ID through DataManagementService.getNextIds(InfoForNext[])
Software Versions/Configuration:
========================================
Using Teamcenter 8.3.2.3_n01_p2 w/ CMM and NX7.5.5.mp7
Description of Problem:
========================================
When running large translations of catia to nx data through CMM, we are not receiving appropriate Tc Item ID assignment.
During CMM processing of a given catia model, as piece parts are created in Teamcenter (Tc Items), a request for a ID is made using the function DataManagementService.getNextIds(InfoForNextId[]). For the input parameter InfoForNextId, CMM is providing the pattern string, the typeName, and "item_id" indicating to generate an item id.
This function is either returning a NULL value or an Empty String (unclear which) and CMM is therefore "failing" to get a proper TcID number.
We believe this issue is related to concurrency on the system... currently creation of Items in teamcenter is happening at roughly 200 items per minute during this migration. During running at this pace we are seeing a lot of "retries" on locking the NameCounter object in the syslogs (snippet below)...
This leads us to believe that there is some limit of retries or time to obtain a TCID and if one is not gotten in that time/count then NULL/empty is returned by the DataManagementService.getNextIds(InfoForNextId[]) function... We're looking for clarification on this behavior and if there is a way to disable such a timeout so that retries just continue until a proper item_id is actually returned.
Not all runs of the function experience this failure, however all runs do make mention of the following in the tcserver syslog which further indicates that this is probably a locking/contention issue:
POM__handle_db_interface_fail 449 got a retry
Got a retry. Sleeping 5
POM__handle_db_interface_fail 500 unknown timeout 4001 now 5
POM__handle_db_interface_fail 514 retry, restarted transaction
(RIL) really_create_lock: Object 00011dbd (BrB1X6TioMazHA) [NameCounter] exclusively locked by another process
PM_ss_ayt on pid 000041fc:0000748c
ayt local says yes
locks are held by process AARB7z7AoMazHA: pid AARB7z7AoMazHA, module PM, process 000041fc:0000748c
(EIM_abort_transaction) code = 545006
Failed to lock objects properly - going to retry
*** NOTE:: in line 3335 of D:\tc8323_n01_win\src\foundation\pom\eim\eim_trans_util.cxx at Wed Dec 05 23:55:33 2012 Eastern Standard Time
+++ EIM abort transaction called with code 545006
*** GOING TO RETRY ***
*** EXCEPTION: Error code 545006 in line 579 of D:\tc8323_n01_win\src\foundation\pom\ril\ril_refresh.cxx at Wed Dec 05 23:55:33 2012 Eastern Standard Time
+++ Failed to lock objects properly - going to retry
Steps to Duplicate:
========================================
Create 10 items per minute from 20 different tcserver processes concurrently (total 200 per minute) over a period of time and you will see this issue occur eventually when the lock contention on the NameCounter begins to occur Siemens PLM believes that the problem you reported where running large translations of catia to nx data through CMM and not receiving an appropriate Teamcenter Item ID assignment is fixed in release Teamcenter 9.1.2_n01, Teamcenter 10.1 and Teamcenter 11.1.
PR 6810208 Product Information: Product: TEAMCENTER , Application: CORE_SRVR_FUNCS , Version: V9.1.2
Source: https://support.sw.siemens.com/en-US/knowledge-base/PL8032979 · retrieved 2026-10-02