Article - CS319806

Getting Error java.lang.NumberFormatException when trying to create a Part with binding attribute in Windchill PartsLink

Modified: 22-Jan-2020   


Applies To

  • Windchill PartsLink 11.0

Description

  • Getting Error java.lang.NumberFormatException when trying to create a Part with binding attribute
  • Partial exception in MS log
Nested exception is: java.lang.NumberFormatException: For input string: "XXXXXXX<Part>"
(wt.fc.fcResource/18) wt.util.WTException: Malformed URL: "wt.folder.SubFolder:XXXXXXX<Part>". Format must be: "classname:idValue" 
Nested exception is: java.lang.NumberFormatException: For input string: "XXXXXXX<Part>"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Long.parseLong(Long.java:589)
    at java.lang.Long.parseLong(Long.java:631)
    at wt.fc.ObjectIdentifier.initialize(ObjectIdentifier.java:401)
    at wt.fc.ObjectIdentifier.<init>(ObjectIdentifier.java:538)
    at wt.fc.ReferenceFactory.getReference(ReferenceFactory.java:251)
    at com.ptc.jca.mvc.components.JcaTypedAttrLayOutFactory.getValueOfBindingAttribute(JcaTypedAttrLayOutFactory.java:339)
    at com.ptc.jca.mvc.components.JcaTypedAttrLayOutFactory.getNestedLayouts(JcaTypedAttrLayOutFactory.java:315)
    at com.ptc.jca.mvc.components.JcaTypedAttrLayOutFactory.createNestedGroupConfig(JcaTypedAttrLayOutFactory.java:235)
    at com.ptc.jca.mvc.components.JcaTypedAttrLayOutFactory.addGroupsToAttributePanelConfig(JcaTypedAttrLayOutFactory.java:191)
This is a printer-friendly version of Article 319806 and may be out of date. For the latest version click CS319806