Product Information > JADE Error Messages and System Messages > 2 through 1299 - JADE Object Manager Errors > 1022 - Class is incompatible with collection membership

1022   Class is incompatible with collection membership

Cause

This error occurs if your application code attempts to place an object in a collection that is not an instance of the class, or any of its subclasses, stored by the collection.

Objects that can be put in collections must be defined in the schema, by specifying the class of objects that the collection can hold.

Action

Redefine the collection definition to the correct class, or change the application code that resulted in this error.