技术文章 - CS282771

UpgradeManager 在 Windchill PDMLink 11.1 F000 中的组织级别唯一性迁移器中出现错误资源包/消息键 = wt.pom.pomResource/0 失败

已修改: 20-Jun-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 11.1 to 12.1

说明

  • UpgradeManager 在 Windchill PDMLink 11.1 F000 中的组织级别唯一性迁移器中出现错误资源包/消息键 = wt.pom.pomResource/0 失败
  • 将 Windchill 从 10.2 M030 升级到 11.1 F000 时,UpgradeManager 失败
  • UpgradeManager 日志报告以下错误:
Migrator EXECUTING: Organization Level Uniqueness Migrator:325471056-1499749783295-701141022-1-0-0-127 (0.0%) - Organization Level Uniqueness Migrator started
2018-03-14 03:53:50,245 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message:2018-03-14 04:06:34,426 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Migrator FAILED: Organization Level Uniqueness Migrator:325471056-1499749783295-701141022-1-0-0-127 - Organization Level Uniqueness Migrator failed.  See report for error labeled Error executing IncrementalUpdate Organization Level Uniqueness Migrator (#325471056-1499749783295-701141022-1-0-0-127).
  • MethodServer 日志报告以下错误:
ERROR [RMI TCP Connection(9)-132.189.105.57] wt.inf.container.OrgLevelUniquenessMigrator wcadmin - Message:  Resource bundle/Message key = wt.pom.pomResource/0
2018-03-14 09:36:57,656 ERROR [RMI TCP Connection(9)-132.189.105.57] wt.method.MethodContextMonitor.contexts.rmi wcadmin - 2018-03-14 09:36:57.289 +0000, 4eiikciu;jeqw012v;84949;sm2o6m;8, -, -, -, wcadmin, 132.189.105.57, com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server, invokeLightWeightServiceApi, , 0, 10, 0.030801622, 5, 0.005666521, 0.116587316, 0.365901942
wt.util.WTException: java.lang.reflect.InvocationTargetException
Nested exception is: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: wt.util.WTException: Message:  Resource bundle/Message key = wt.pom.pomResource/0
at wt.inf.container.OrgLevelUniquenessMigrator.orgMigration(OrgLevelUniquenessMigrator.java:163)
at wt.inf.container.OrgLevelUniquenessMigrator.runMigration(OrgLevelUniquenessMigrator.java:126)
... 30 more 
  • ​​在 11.1 F000 上应用调试补丁后, Upgrademanager报告以下错误:
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: Uniqueness property is set to ::: ORG_LEVEL
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: Org Level upgrade migration with default behavior started...
ERROR [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: Error in method server code:
java.lang.Exception: Exception of type 'java.lang.reflect.InvocationTargetException' was generated on the server with message 'null'
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
ERROR [main] wt.pds.exception - 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 "def" 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 com.ptc.windchill.mpml.resource._MPMResourceMaster.readExternal(_MPMResourceMaster.java:50)
at com.ptc.windchill.mpml.resource._MPMOperationAssignableResourceMaster.readExternal(_MPMOperationAssignableResourceMaster.java:50)
at com.ptc.windchill.mpml.resource._MPMWorkCenterMaster.readExternal(_MPMWorkCenterMaster.java:76)
FATAL [main] com.ptc.windchill.upgrade.updates.UpdateRunner - com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Organization Level Uniqueness Migrator (#325471056-1499749783295-701141022-1-0-0-127)
Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code wt.inf.container.OrgLevelUniquenessMigrator.runMigration failed.  See nested exception for details
Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetException
Nested exception is: java.lang.reflect.InvocationTargetException
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: Stopping the server manager if it is up
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Phase FAILED: Execute Server Migrators
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - In phase - Execute Server Migrators and set framework logger to - INFO
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task PENDING: Generating Report
INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task EXECUTING: Generating Report
  • 在 11.1 F000 上应用调试补丁后,MethodServer 日志报告以下错误:
ERROR [RMI TCP Connection(6)-132.189.105.57] wt.pds.exception wcadmin - Suppressing internal message
wt.pom.DatastoreException: A SQL error has occurred. Database system message follows:
Nested exception is: wt.util.WTInvalidParameterException: No EnumeratedType exists with "def" 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 com.ptc.windchill.mpml.resource._MPMResourceMaster.readExternal(_MPMResourceMaster.java:50)
at wt.fc.EnumeratedTypeUtil.toEnumeratedType(EnumeratedTypeUtil.java:311)
Caused by: wt.util.WTException: A persistence error occurred.
Nested exception is: A persistence error occurred.
at wt.inf.container.OrgLevelUniquenessMigrator.orgMigration(OrgLevelUniquenessMigrator.java:162)
at wt.inf.container.OrgLevelUniquenessMigrator.runMigration(OrgLevelUniquenessMigrator.java:125)
... 30 more
这是文章 282771 的 PDF 版本,可能已过期。最新版本 CS282771