Article - CS282771

UpgradeManager fails with error Resource bundle/Message key = wt.pom.pomResource/0 at Organization Level Uniqueness Migrator in Windchill PDMLink 11.1 F000

Modified: 19-Jun-2022   


Applies To

  • Windchill PDMLink 11.1 to 12.1

Description

  • UpgradeManager fails with error Resource bundle/Message key = wt.pom.pomResource/0 at Organization Level Uniqueness Migrator in Windchill PDMLink 11.1 F000
  • UpgradeManager fails when upgrading Windchill from 10.2 M030 to 11.1 F000
  • UpgradeManager log reports following error:
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 log reports following error:
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 
  • ​​Upgrademanager reports following error after applying the debug patch on 11.1 F000:
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
  • MethodServer log reports following error after applying the debug patch on 11.1 F000:
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
This is a printer-friendly version of Article 282771 and may be out of date. For the latest version click CS282771