アーティクル - CS369714
ライフサイクルテンプレートの表示が非表示に設定されている場合、UpgradeManagerはLoadNewDataフェーズで失敗します。
修正日: 21-May-2022
適用対象
- Windchill PDMLink 11.0 to 12.1
説明
- UpgradeManagerはLoadNewDataフェーズで失敗しました:
Failed: Update out of the box definition of change notice, change notice workflow template, change notice lifecycle template and redline lifecycle template. UUID: 121956053-1599051934460-2144838275-1-0-0-127 IU Description: This IU is used to add property definition for Pending Implementation. In addition to incrementally update the Change Notice Workflow Template, Change Notice Lifecycle Template, Redline LifeCycle Template and Change Notice Type Definition by adding property Pending Implementation, attributes i.e. Estimate Start Date, Actual Start Date. Start Time: 2022/03/09 11:48:20 JST End Time: 2022/03/09 11:48:22 JST Logged Message: 1. Error in method server code: java.lang.Exception: Exception of type 'java.lang.reflect.InvocationTargetException' was generated on the server with message 'null' at jdk.internal.reflect.GeneratedMethodAccessor419.invoke(null) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:566) 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 jdk.internal.reflect.GeneratedMethodAccessor418.invoke(null) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:566) at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165) at wt.method.MethodResult.writeExternal(MethodResult.java:226) at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1457) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349) at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:369) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Exception: com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Update out of the box definition of change notice, change notice workflow template, change notice lifecycle template and redline lifecycle template. (#121956053-1599051934460-2144838275-1-0-0-127) ネステッド例外: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: メソッドサーバーコード wt.load.StandardLoadService.doLoadFileSet に失敗しました。詳細はネステッド例外を参照してください ネステッド例外: wt.util.WTException: java.lang.reflect.InvocationTargetException ネステッド例外: java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor419.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) 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 jdk.internal.reflect.GeneratedMethodAccessor418.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165) at wt.method.MethodResult.writeExternal(MethodResult.java:226) at java.base/java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1457) at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179) at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349) at java.rmi/sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293) at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:369) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: wt.util.WTException: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: エクスポート/インポート処理中に問題が発生しました。 ネステッド例外: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.lifecycle.LoadLifeCycle。createLifeCycleTemplate が失敗を報告しました。 ネステッド例外: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: エクスポート/インポート処理中に問題が発生しました。 ネステッド例外: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.lifecycle.LoadLifeCycle。createLifeCycleTemplate が失敗を報告しました。 at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:870) ... 28 more Caused by: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: エクスポート/インポート処理中に問題が発生しました。 ネステッド例外: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.lifecycle.LoadLifeCycle。createLifeCycleTemplate が失敗を報告しました。 at wt.ixb.handlers.netmarkets.CsvIxHandler.handleError(CsvIxHandler.java:131) at wt.ixb.handlers.netmarkets.CsvIxHandler.createObject(CsvIxHandler.java:246) at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34) at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514) at wt.ixb.publicforapps.Importer.importElements(Importer.java:1607) at wt.ixb.publicforapps.Importer.importElement(Importer.java:1553) at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1352) at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:571) at wt.load.StandardLoadService.importData(StandardLoadService.java:817) at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:867) ... 28 more Caused by: (wt.ixb.handlers.netmarkets.NMIxResources/108) wt.util.WTException: ローダーメソッド wt.lifecycle.LoadLifeCycle。createLifeCycleTemplate が失敗を報告しました。 ... 42 more
- Mehodサーバーログ
2022-03-09 11:48:22,128 INFO [RMI TCP Connection(5)-10.6.20.186] wt.system.out wcadmin - LoadLifeCycle:csvLifeCycleTemplateBegin "Change Notice Life Cycle" ライフサイクルテンプレートに LifeCycleTemplate オブジェクト "Change Notice Life Cycle" を作成中に問題が発生しました。メソッドサーバーログを確認してください。 2022-03-09 11:48:22,128 INFO [RMI TCP Connection(5)-10.6.20.186] wt.system.out wcadmin - LoadLifeCycle: createLifeCycleTemplate でエラーが検知されました。メソッドサーバーログを確認してください。 2022-03-09 11:48:22,128 ERROR [RMI TCP Connection(5)-10.6.20.186] wt.lifecycle.LoadLifeCycle wcadmin - wt.vc.VersionControlException: wt.pom.UniquenessException: 以下のオブジェクトに、データストア一意性制約違反が発生しました。 ライフサイクルマスター - Change Notice Life Cycle ネステッド例外: wt.pom.UniquenessException: 以下のオブジェクトに、データストア一意性制約違反が発生しました。 ライフサイクルマスター - Change Notice Life Cycle at wt.fc.StandardPersistenceManager$AbstractInsertUpdateProcessor.buildNewException(StandardPersistenceManager.java:3495) at wt.fc.WTCollectionRetrySingleProcessor.executeMulti(WTCollectionRetrySingleProcessor.java:260) at wt.fc.WTCollectionRetrySingleProcessor.execute(WTCollectionRetrySingleProcessor.java:91) at wt.fc.StandardPersistenceManager.insert(StandardPersistenceManager.java:1694) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:712) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:1091) at jdk.internal.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at com.sun.proxy.$Proxy27.store(Unknown Source) at wt.vc.StandardVersionControlService.storeMasterOf(StandardVersionControlService.java:1396) at wt.vc.StandardVersionControlService$2.notifyVetoableMultiObjectEvent(StandardVersionControlService.java:481) at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:306) at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:255) at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:304) at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:228) at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:410) at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:303) at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2972) at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2952) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:1429) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:534) at wt.fc.StandardPersistenceManager.save(StandardPersistenceManager.java:527) at jdk.internal.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399) at com.sun.proxy.$Proxy27.save(Unknown Source) at wt.lifecycle.LoadLifeCycle.createLifeCycleTemplate(LoadLifeCycle.java:457) at wt.lifecycle.LoadLifeCycle.createLifeCycleTemplate(LoadLifeCycle.java:259) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.ixb.handlers.netmarkets.CsvIxHandler.invokeLoad(CsvIxHandler.java:545) at wt.ixb.handlers.netmarkets.CsvIxHandler.createObject(CsvIxHandler.java:241) at wt.ixb.actor.PickingExistingObjectActorForPersistable.createObject(PickingExistingObjectActorForPersistable.java:34) at wt.ixb.actor.ActorTemplateForPersistable._createObject(ActorTemplateForPersistable.java:340) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.createObjects(ClassExporterImporterTemplate.java:784) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElementsBatchDefault(ClassExporterImporterTemplate.java:672) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElement(ClassExporterImporterTemplate.java:472) at wt.ixb.publicforhandlers.ClassExporterImporterTemplate.importElements(ClassExporterImporterTemplate.java:514) at wt.ixb.publicforapps.Importer.importElements(Importer.java:1607) at wt.ixb.publicforapps.Importer.importElement(Importer.java:1553) at wt.ixb.publicforapps.Importer.doRealImport(Importer.java:1352) at wt.ixb.publicforapps.Importer.finalizeImport(Importer.java:571) at wt.load.StandardLoadService.importData(StandardLoadService.java:817) at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:867) at jdk.internal.reflect.GeneratedMethodAccessor419.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) 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 jdk.internal.reflect.GeneratedMethodAccessor418.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165) at wt.method.MethodResult.writeExternal(MethodResult.java:226) at java.base/java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1457) at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179) at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349) at java.rmi/sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293) at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:369) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) English: 2022-03-09 11:48:22,128 INFO [RMI TCP Connection(5)-10.6.20.186] wt.system.out wcadmin - LoadLifeCycle:csvLifeCycleTemplateBegin PROBLEM creating LifeCycleTemplate object "Change Notice Life Cycle" for "Change Notice Life Cycle" Lifecyle template. Check Method Server log. 2022-03-09 11:48:22,128 INFO [RMI TCP Connection(5)-10.6.20.186] wt.system.out wcadmin - LoadLifeCycle: LoadProjAdmin: Error detected in createLifeCycleTemplate. Check Method Server log. 2022-03-09 11:48:22,128 ERROR [RMI TCP Connection(5)-10.6.20.186] wt.lifecycle.LoadLifeCycle wcadmin - wt.vc.VersionControlException: wt.pom.UniquenessException: A datastore uniqueness constraint violation has occurred on the following objects. Life Cycle Master - Change Notice Life Cycle Nested exception is: wt.pom.UniquenessException: A datastore uniqueness constraint violation has occurred on the following objects. Life Cycle Master - Change Notice Life Cycle at wt.fc.StandardPersistenceManager$AbstractInsertUpdateProcessor.buildNewException(StandardPersistenceManager.java:3495) :wt.fc.StandardPersistenceManager$AbstractInsertUpdateProcessor.buildNewException(StandardPersistenceManager.java:3495)
最新バージョンはこちらを参照ください CS369714