Article - CS18113

Creating a Specification throws the error "Unable to set value of attribute" in FlexPLM

Modified: 03-May-2018   


Applies To

  • FlexPLM 9.1 to 10.2

Description

  • It is not possible to create a new specification in any product.
  • Stack Trace:
     
    com.ptc.core.command.common.CommandException: Unable to set value of attribute WCTYPE|com.lcs.wc.specification.FlexSpecification~MBA|masterReference^WCTYPE|wt.part.WTPartMaster~MBA|name on com.lcs.wc.specification.FlexSpecification:com.lcs.wc.specification.FlexSpecification!
    Nested exception is: (com.ptc.core.command.server.delegate.io.ioResource/9) com.ptc.core.command.common.CommandException: com.ptc.core.command.server.delegate.io.StandardAttributeHandler was unable to generically write the attribute specified by the AttributeTypeIdentifier
  • Stack trace is as below for 10.1:
    com.ptc.core.meta.container.common.ConstraintException: You must enter a value for Name. Constraint Violation in isValid()
    Nested exception is: com.ptc.core.meta.container.common.ConstraintException: You must enter a value for Name. Constraint Violation in isValid()
    at com.ptc.core.meta.container.common.impl.DefaultConstraintValidator.isValid(DefaultConstraintValidator.java:294)
    at com.ptc.core.meta.container.common.impl.DefaultConstraintValidator.isValid(DefaultConstraintValidator.java:326)
    at com.ptc.core.rule.server.delegate.init.TypeHelper.enforceConstraintsOnOirAtts(TypeHelper.java:307)
    at com.ptc.core.rule.server.delegate.init.TypeHelper.getObject(TypeHelper.java:433)
    at com.ptc.core.rule.server.delegate.init.TypeBasedInitRuleApplier.applyRule(TypeBasedInitRuleApplier.java:358)
    at com.ptc.core.rule.server.delegate.init.TypeBasedInitRuleApplier.applyRule(TypeBasedInitRuleApplier.java:211)
    at wt.rule.impl.StandardRuleService.applyRule(StandardRuleService.java:384)
    at wt.rule.impl.StandardRuleService$1.notifyVetoableMultiObjectEvent(StandardRuleService.java:987)
    at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:298)
  • Refresh Plan button not take effect when update Order Confirmation, no sizing available for selection when creating Product Planning because Product Size Definition name is null
 

 
 
This is a printer-friendly version of Article 18113 and may be out of date. For the latest version click CS18113