アーティクル - CS164354
Windchill PDMLink で部品の CAD ドキュメントへの自動関連付けによるチェックインが失敗する
修正日: 21-May-2025
適用対象
- Windchill PDMLink 10.0 to 13.0
- Creo Parametric 2.0 to 11.0
説明
- パーツの作成に失敗しました
- 「部品をCADドキュメントに自動関連付け」によるチェックインがNullPointerExceptionで失敗する
- ワークスペースの「自動関連付け」操作を実行すると、空白のUIが表示されます
- 新規 CAD ドキュメント UI の「部品の作成と関連付け」がエラーで失敗します:永続的なエラーが発生しました
- 「関連付けの編集」を実行できません。ページが無限に回転し続けます
- 「部品をCADドキュメントに自動関連付け」が選択されている場合、EPMDocumentをチェックインできません
- メソッド サーバー ログには、次のさまざまなエラー メッセージが報告されます。
wt.pds.exception wcadmin - 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 for the statement "INSERT INTO WTPartMaster(classnameA2A2,updateCountA2,collapsible,classnamekeycontainerReferen,idA3containerReference,defaultTraceCode,defaultUnit,effCalculationStatus,effPropagationStop,endItem,genericType,hidePartInStructure,name,WTPartNumber,classnamekeyorganizationRefe,idA3organizationReference,phantom,series,serviceable,servicekit,markForDeleteA2,authoringLanguagetranslation,updateStampA2,createStampA2,modifyStampA2,idA2A2) VALUES ('wt.part.WTPartMaster',1,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)". Database system message follows: Nested exception is: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot insert the value NULL into column 'defaultUnit', table 'XXXX.XXXX.WTPartMaster'; column does not allow nulls. INSERT fails. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1624) Nested exception is: wt.vc.VersionControlException: A persistence error occurred. Nested exception is: (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 for the statement "INSERT INTO WTPartMaster(classnameA2A2,updateCountA2,collapsible,classnamekeycontainerReferen,idA3containerReference,defaultTraceCode,defaultUnit,effCalculationStatus,effPropagationStop,endItem,genericType,hidePartInStructure,name,WTPartNumber,classnamekeyorganizationRefe,idA3organizationReference,phantom,series,serviceable,servicekit,markForDeleteA2,authoringLanguagetranslation,updateStampA2,createStampA2,modifyStampA2,idA2A2) VALUES ('wt.part.WTPartMaster',1,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)". Database system message follows: Nested exception is: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("WCUSER"."WTPARTMASTER"."DEFAULTUNIT") Nested exception is: java.sql.BatchUpdateException: Cannot insert the value NULL into column 'defaultUnit', table 'pdmlink.pdmlink.WTPartMaster'; column does not allow nulls. INSERT fails. java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ORACLESQL"."WTPARTMASTER"."DEFAULTUNIT") wt.util.WTException: colCompID is Null Cannot insert the value NULL into column 'defaultUnit'
最新バージョンはこちらを参照ください CS164354