Article - CS408679
Get error “Search Condition value is not persistent. ObjectIdentifier is null” when calling API TeamHelper.service.findAllParticipantsByRole(team) in Windchill PDMLink 12.0
Modified: 10-Jan-2024
Applies To
- Windchill PDMLink 12.0
Description
- Get error when calling API TeamHelper.service.findAllParticipantsByRole(team)
Team team = TeamHelper.service.getTeam((TeamManaged) object); Map roleMap = TeamHelper.service.findAllParticipantsByRole(team);
- Error message in MethodServer log file:
ERROR [ajp-nio-127.0.0.1-8010-exec-23] wt.team xxxxx - (wt.query.queryResource/5) wt.query.QueryException: Search Condition value is not persistent. ObjectIdentifier is null at wt.query.SearchCondition.<init>(SearchCondition.java:1345) at wt.team.StandardTeamService.populateRolePrincipalHash(StandardTeamService.java:6351) at wt.team.StandardTeamService.populateRolePrincipalHash(StandardTeamService.java:3130) at wt.team.StandardTeamService.findAllParticipantsByRole(StandardTeamService.java:3124)
This is a printer-friendly version of Article 408679 and may be out of date. For the latest version click CS408679