技术文章 - CS362149

在 Windchill PartsLink 的高级搜索页面选择分类节点后,收到“发生意外错误”的提示。

已修改: 31-Dec-2025   


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

适用于

  • Windchill PartsLink 11.0 to 13.0

说明

  • 接收 Windchill 错误,错误代码 501 高级搜索页面选择零件类型时,请在高级搜索中打开该页面。
  • 高级搜索页面上选择特定分类节点后,收到 Windchill 错误“发生意外错误。
  • 点击“分类浏览器”时出现以下错误弹出窗口
    An unexpected error has occurred.  Contact your system administrator for assistance
  • Windchill 错误,错误代码 501 高级搜索选择特定分类节点时发生的情况
  • 当在分类页面进行搜索时,用户在高级搜索页面会看到以下错误:
     Windchill Error
    Contact your administrator for assistance. Information for their reference follows.
    Request Id:        <customer specific request ID>
    Request URI:      /PDMLink/ptc1/queryBuilder
    Query String:     typeChanged=true
    Status Code:      501
    Message:            An unexpected error has occurred. Contact your system administrator for assistance.
  • 方法服务器日志中出现错误:
 com.ptc.mvc.controllers.ExceptionController xxx- message : Cannot invoke "com.ptc.core.lwc.common.view.ConstraintDefinitionReadView$RuleDataObject.getEnumDef()" because "<localxx>" is null error:-------------wt.util.WTException: Cannot invoke "com.ptc.core.lwc.common.view.ConstraintDefinitionReadView$RuleDataObject.getEnumDef()" because "<localxx>" is null wt.util.WTException: Cannot invoke "com.ptc.core.lwc.common.view.ConstraintDefinitionReadView$RuleDataObject.getEnumDef()" because "<localxx>" is null at com.ptc.windchill.enterprise.search.mvc.controllers.AngularQueryBuilderController.doWork(AngularQueryBuilderController.java:179) at com.ptc.windchill.enterprise.search.mvc.controllers.AngularQueryBuilderController.renderQueryBuilder(AngularQueryBuilderController.java:66) at jdk.internal.reflect.GeneratedMethodAccessor1134.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
 ERROR com.ptc.windchill.enterprise.search.mvc.helpers.AngularQueryBuilderHelper USER_Name - Exception while creating the QB attribute Json String from attrInfoCollection
ERROR com.ptc.mvc.controllers.ExceptionController USER_Name - message : An unexpected error has occurred.  Contact your system administrator for assistance.
error:-------------wt.util.WTException wt.util.WTException
	at com.ptc.windchill.enterprise.search.mvc.controllers.AngularQueryBuilderController.doWork(AngularQueryBuilderController.java:173)
	at com.ptc.windchill.enterprise.search.mvc.controllers.AngularQueryBuilderController.renderQueryBuilder(AngularQueryBuilderController.java:66)
	at jdk.internal.reflect.GeneratedMethodAccessor2789.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 org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
	...
这是文章 362149 的 PDF 版本,可能已过期。最新版本 CS362149