技术文章 - 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'
这是文章 164354 的 PDF 版本,可能已过期。最新版本 CS164354