This project has moved. For the latest updates, please go here.

Can't find a valid cast...

Feb 4, 2016 at 6:16 PM
Edited Feb 4, 2016 at 6:16 PM
Hello,
I'm getting the following message:
Additional information: Can't find valid cast to from 'MARC.Everest.DataTypes.IVL`1[MARC.Everest.DataTypes.TS]' to 'MARC.Everest.DataTypes.TS'
Is there an additional configuration that I need to add to the formatter? I'm very new to this so any help is greatly appreciated.

Thanks,
Matt Kollar
Coordinator
Feb 4, 2016 at 11:05 PM
Hi,

This exception is most likely caused because IVL<TS> does not inherit from TS and a message you're trying to deserialize is attempting to stuff an IVL into that property. Do you have a snippet you can share? The only way to fix this is to either update the underlying RMIM class to change the field type from TS to ISetComponent<TS> or to inherit a new class and change the type there.

Do you have the xpath attached to this error? Also, which version of Everest are you using?