技术文章 - CS387524

在类型和属性管理中,为一个类型创建属性时出现错误:“无法创建“字符串”属性,因为以下数据类型的数据库列不可用:java.lang.String:count”在 Windchill PDMLink 中

已修改: 17-Jul-2024   


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

适用于

  • Windchill PDMLink 10.0 to 13.0

说明

  • 在类型和属性管理中,为一种类型创建属性错误:
A "String" attribute cannot be created because database columns of the following datatypes are not available: java.lang.String : count
  • 更多日志:
Caused by: wt.util.WTException: A "String" attribute cannot be created because database columns of the following datatypes are not available: java.lang.String : count : 1. Contact your system administrator to execute the AddColumns utility to allocate the necessary database columns.
Nested exception is: com.ptc.core.meta.common.CorrectableException: A "String" attribute cannot be created because database columns of the following datatypes are not available: java.lang.String : count : 1. Contact your system administrator to execute the AddColumns utility to allocate the necessary database columns.
	at com.ptc.core.lwc.client.forms.GenericLWCFormProcessor.doOperation(GenericLWCFormProcessor.java:82)
	at com.ptc.core.components.forms.DefaultFormProcessorController.executeDoOperation(DefaultFormProcessorController.java:538)
	at com.ptc.core.components.forms.DefaultFormProcessorController.performExecuteDoOperationAndPostProcess(DefaultFormProcessorController.java:342)
	at com.ptc.core.components.forms.DefaultFormProcessorController.execute(DefaultFormProcessorController.java:263)
	at com.ptc.core.components.forms.FormDispatcher.callControllerExecute(FormDispatcher.java:146)
	at com.ptc.core.components.forms.FormDispatcher.callFormProcessorController(FormDispatcher.java:116)
	at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:93)
	... 62 more
Caused by: com.ptc.core.meta.common.CorrectableException: A "String" attribute cannot be created because database columns of the following datatypes are not available: java.lang.String : count : 1. Contact your system administrator to execute the AddColumns utility to allocate the necessary database columns.
	at com.ptc.core.lwc.server.LWCColumnAllocationUtility.allocate(LWCColumnAllocationUtility.java:185)
	at com.ptc.core.lwc.server.cache.AttValidatorHelper.validateAttForPersist(AttValidatorHelper.java:567)
	at com.ptc.core.lwc.server.cache.AttHelper.persistAttDefs(AttHelper.java:364)
	at com.ptc.core.lwc.server.cache.TypeDefinitionManager.persistTypeDef(TypeDefinitionManager.java:1038)
	at com.ptc.core.lwc.server.cache.TypeDefinitionManager.updateTypeDef(TypeDefinitionManager.java:2202)
	at com.ptc.core.lwc.server.cache.TypeDefinitionManager.updateTypeDef(TypeDefinitionManager.java:2065)
	at com.ptc.core.lwc.server.StandardTypeDefinitionService.updateTypeDef(StandardTypeDefinitionService.java:216)
	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.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy27.updateTypeDef(Unknown Source)
	at com.ptc.core.lwc.client.forms.CreateAttributeFormProcessor.createAttributeDefinition(CreateAttributeFormProcessor.java:328)
	at com.ptc.core.lwc.client.forms.CreateAttributeFormProcessor.processForm(CreateAttributeFormProcessor.java:108)
	at com.ptc.core.lwc.client.forms.GenericLWCFormProcessor.doOperation(GenericLWCFormProcessor.java:75)
	... 68 more
这是文章 387524 的 PDF 版本,可能已过期。最新版本 CS387524