Product Information > JADE Error Messages and System Messages > 5000 through 5099 - File Handling Errors > 5021 - Cannot open a file with an invalid kind property

5021   Cannot open a file with an invalid kind property

Cause

This error occurs if your application code attempts to open a file with its kind property not set to one of the Kind_ constants defined in the File class.

Action

Change your application code so that the kind property is set to one of the constants defined in the File class before the file is opened.