Article - CS373955

Failed to load type with error "java.lang.ClassCastException: class com.ptc.core.meta.common.FloatingPoint cannot be cast to class java.lang.String" when loading type during deploying VRD in FlexPLM

Modified: 02-Aug-2022   


Applies To

  • FlexPLM 12.0

Description

  • Failed to load LCSMaterialSupplier_1.xml and PlanLineItem_1.xml with error
    Load Failed. wt.util.WTException: java.lang.ClassCastException: class com.ptc.core.meta.common.FloatingPoint cannot be cast to class java.lang.String (com.ptc.core.meta.common.FloatingPoint is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')
    Nested exception is: java.lang.ClassCastException: class com.ptc.core.meta.common.FloatingPoint cannot be cast to class java.lang.String (com.ptc.core.meta.common.FloatingPoint is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')
    	at java.base/java.lang.String.compareTo(String.java:125)
    	at com.ptc.core.meta.common.AnalogSet.getIntersection(AnalogSet.java:267)
    	at com.lcs.wc.flextype.WTSFlexTypeAttribute.calculateBoundLimit(WTSFlexTypeAttribute.java:536)
    	at com.lcs.wc.flextype.WTSFlexTypeAttribute.<init>(WTSFlexTypeAttribute.java:151)
This is a printer-friendly version of Article 373955 and may be out of date. For the latest version click CS373955