技术文章 - CS209457
在 Windchill PartsLink 中运行“windchill wt.index.BulkIndexTool”时,方法服务器日志中抛出错误“不存在以“***”作为其内部值的 EnumeratedType”
已修改: 11-Aug-2022
适用于
- Windchill PDMLink 10.2 to 12.0
- Windchill PartsLink 10.2 to 11.0
- Windchill Compliance 11.0
说明
- 运行windchill wt.index.BulkIndexTool以索引对象
- 使用选项 7检查批量索引进度以检查索引状态,已处理的对象和剩余的对象未更改
- 无法完成索引过程
- 在 Windchill 12.0.2.0 上更新 CPS05 后,批量索引失败并在方法服务器日志中出现以下错误
- 错误信息:
ERROR 1 : [BulkIndexQueue2.PollingThread] wt.index.IndexingServiceImpl Administrator - processIndexRequest : IndexingException (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows: Nested exception is: wt.pom.DatastoreException: A SQL error has occurred. Database system message follows: Nested exception is: wt.util.WTInvalidParameterException: No EnumeratedType exists with "***" as its internal value. at wt.fc.EnumeratedTypeUtil.toEnumeratedType(EnumeratedTypeUtil.java:311) at wt.fc.EnumeratedType.toEnumeratedType(EnumeratedType.java:431) at wt.part._QuantityUnit.toQuantityUnit(_QuantityUnit.java:29) at wt.part._WTPartMaster.readExternal(_WTPartMaster.java:725) at wt.pds.WTResultSet.readObject(WTResultSet.java:679) at wt.pds.WTResultSet.readObject(WTResultSet.java:731
ERROR 2 : [BulkIndexContentQueue2.PollingThread] wt.pds.exception Administrator - Suppressing internal message (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows: Nested exception is: wt.pom.DatastoreException: A SQL error has occurred. Database system message follows: Nested exception is: wt.util.WTInvalidParameterException: No EnumeratedType exists with "DEFAULT" as its internal value. at wt.fc.EnumeratedTypeUtil.toEnumeratedType(EnumeratedTypeUtil.java:311) at wt.fc.EnumeratedType.toEnumeratedType(EnumeratedType.java:431) at wt.lifecycle._State.toState(_State.java:29) at wt.lifecycle._LifeCycleState.readExternal(_LifeCycleState.java:135)
这是文章 209457 的 PDF 版本,可能已过期。最新版本 CS209457