Good day,
My customer want to create a custom plugins to map the cavity of a specific signal. But with a simple return of "true" in the method "match()" without any body, they having this error message;
Error: Custom Constraint: 'CavityMapConstraint' disabled due to plugin code error. Context: Cavity 1 - Slot Connector P209; Message: 'chs.cof.topology.physical.CAFVConnCavity cannot be cast to chs.cof.topology.physical.ITopoSignal';
This is the simple topology;
the code is;
public boolean match(IXSignal signal, IXConnector conn, IXCavityMappingResult result) {
return true;
}
The method "match()" has no requirement but they are having error, what is this error? and Cavity Mapping Constraint supposed to be looking just inline connector but it seems it also looking at a junction box connector, is this true?
Thank you,
Larry