1000   Invalid parameter type

Cause

This error occurs if a parameter passed to a method or function has the wrong type or format. For example, when using the JADE Application Programming Interface (API), this error occurs if the format variable in the signature of the DskParam structure has a value that is inconsistent with the primitive type of the expected parameter; for example, the format variable has a flag indicating that the data is an integer but the expected parameter is a string.

This error also occurs if the method passed to the Window class setDragAndDropFiles method:

Action

Ensure that the correct parameter type or format is used.

With respect to the example earlier in this topic, ensure that when the DskParam structure is used, the format variable in the signature corresponds to the expected parameter type.