cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Migrator FAILED: WNC Type Definition Updater

myoo
1-Newbie

Migrator FAILED: WNC Type Definition Updater

Windchill Upgrade Error

How to fix the Problem?

2016-07-09 10:12:29,883 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Migrator EXECUTING: WNC Type Definition Updater (10.0 to 10.2):830541160-1340209263945-1228665906-44-14-253-132 (0.0%) - WNC Type Definition Updater (10.0 to 10.2) started
2016-07-09 10:12:35,123 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)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:152)
at wt.method.MethodResult.writeExternal(MethodResult.java:226)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1455)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1429)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:332)
at sun.rmi.transport.Transport$1.run(Transport.java:177)
at sun.rmi.transport.Transport$1.run(Transport.java:174)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

2016-07-09 10:12:35,131 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Migrator FAILED: WNC Type Definition Updater (10.0 to 10.2):830541160-1340209263945-1228665906-44-14-253-132 - WNC Type Definition Updater (10.0 to 10.2) failed.  See report for error labeled Error executing IncrementalUpdate WNC Type Definition Updater (10.0 to 10.2) (#830541160-1340209263945-1228665906-44-14-253-132).
2016-07-09 10:12:35,131 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Migrator Execution Time: 5 seconds, 248 milliseconds
2016-07-09 10:12:36,135 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: Stopping the server manager if it is up
2016-07-09 10:12:45,748 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Phase FAILED: Load New Data
2016-07-09 10:12:45,749 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - In phase - Load New Data and set framework logger to - INFO
2016-07-09 10:12:45,749 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task PENDING: Generating Report
2016-07-09 10:12:45,750 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task EXECUTING: Generating Report
2016-07-09 10:12:46,580 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task SUCCEEDED: Generating Report
2016-07-09 10:12:46,580 INFO  [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Task Execution Time: 831 milliseconds
2016-07-09 10:12:46,582 ERROR [main] com.ptc.windchill.upgrade.statemachine.UpgradeFrameworkStateMachine - State execution failed (with return type FAILED): ReportWriterUpgradeState(Load New Data)

3 REPLIES 3
ChrisSpartz
12-Amethyst
(To:myoo)

This error message is pretty generic, and doesn't give any details as to the cause of the error. The error indicates that the Upgrade Manager invoked a method in the Method Server. That invoked method failed in the Method Server, but the Upgrade Manager log doesn't contain the details as to why. But, if you check the Method Server log, there should be an error message in there that gives more details as to the cause of the error.

LoriSood
22-Sapphire II
(To:myoo)

Mi Jeong Yoo,

Were you able to get your migration issue resolved?

I had this issue whilst upgrading from 10.2 to 11.0

 

The mothedserver gave me that extra little bit of information which was required to fix:

 

wt.system.out wcadmin - Load failed: (updatePropertyValue): Attribute 'merged' doesn't exist or will be deleted. Thus the update 'attr|merged-systemHidden' can not be performed. -- Loader-context[type:

 

Article - CS254758

https://www.ptc.com/en/support/article?n=CS254758&language=en&posno=1&q=Thus%20the%20update%20'attr&source=search

 

Resolution

Top Tags