Cause
This error occurs if you have defined a partition method that does not conform to the required signature for partition methods.
Partition methods must meet the following requirements:
Type of any parameter must be a JADE primitive type
Usage of any parameter must be constant
Return type must be
Method options must include
Action
Change the partition method header to conform to the rules for the signature of partition methods. If you did not intend the method to be a partition method, remove the partitionMethod option from the method signature.