Article - CS387524
In Type and Attribute Management, creating attribute for one type error: "A "String" attribute cannot be created because database columns of the following datatypes are not available: java.lang.String : count" in Windchill PDMLink
Modified: 17-Jul-2024
Applies To
- Windchill PDMLink 10.0 to 13.0
Description
- In Type and Attribute Management, creating attribute for one type error:
A "String" attribute cannot be created because database columns of the following datatypes are not available: java.lang.String : count
- More logs:
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
This is a printer-friendly version of Article 387524 and may be out of date. For the latest version click CS387524