技术文章 - CS55464

由于错误无法创建新对象“未为参数编号设置值<some number>“或 Windchill 中的“无效的列名‘ptc_zzz_1xxxx’”

已修改: 13-Jan-2023   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • FlexPLM 10.2 M030 to 12.0
  • Windchill PDMLink 10.0 to 12.1

说明

  • 创建新对象(如WTPart、WTDocument或其他使用标准属性的类型)时会引发错误
  • 在 FlexPLM 中搜索文档时出现红线错误
  • 安装 FlexPLM 补丁后访问/搜索产品对象时出错
    java.sql.SQLSyntaxErrorException: ORA-00904: "A0"."CLASSNAMEKEY22TYPEINFOLCSDOC": invalid identifier
  • 方法服务器日志中观察到的错误:
  1. 错误1
    The value is not set for the parameter number <some number>
  2. 错误 2
    wt.pom.DatastoreException: A SQL error has occurred for the statement "INSERT INTO WTPart( <table columns> ) VALUES (<Parameters>)". Database system message follows: com.microsoft.sqlserver.jdbc.SQLServerException: The value is not set for the parameter number <some number>.
  3. 错误 3
    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 WTDocument(<table columns>) VALUES (<parameters>)". Database system message follows: Nested exception is: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'ptc_zzz_1xxxx'.
  4. 错误4
    java.sql.SQLSyntaxErrorException: ORA-00904: "<table column>": invalid identifier
  5. 错误 5
    Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
    Nested exception is: wt.query.QueryException: Attribute "typeInfoWTPart.ptc_rht_1" is not a member of class "class wt.part.WTPart"
    Nested exception is: Attribute "typeInfoWTPart.ptc_rht_1" is not a member of class "class wt.part.WTPart"
    2018-05-23 14:13:39,305 ERROR [PublisherQueueSIS1.PollingThread] wt.wvs.publish.CadConvertSIS Administrator - Errors in getComponentContent
这是文章 55464 的 PDF 版本,可能已过期。最新版本 CS55464