Dynamic type casting Error

In reply to siddu Angadi:

If you have included the same class definition in multiple packages, you have multiple incompatible classes.