| Message |
Definition |
Suggested Solution |
| AmbiguousMatchException.Found multiple methods that matched the expected signature 'public static bool <method name> (<parameters>)' for class <class name> |
Two or more methods with the same name and signature exist. |
- Change the name of one of the methods.
- Change the signature of one of the methods.
|
| DuplicateAnnotationException.More than one field with annotation <annotation> found in task <task name> |
A task cannot contain multiple fields for the specified annotation. |
- Verify the specified task contains only one field with the specified annotation.
|
| DuplicateAttributeException.More than one property with attribute <attribute name> found in task <task name> |
A task cannot contain multiple properties for the specified attribute. |
- Verify the task contains only one property with the specified attribute.
|
| DuplicateMethodException.More than one occurrence of method <method name> found in task <task name> |
The method appears in the specified class more than once. |
- Verify the method name is spelled correctly in the task definition file.
- Change the name of one of the methods in the class and task definition file.
|
| FieldKeyMissingException.TaskField name <name> was not found in the request in task <task name> |
The field name was not found in the request. |
- Verify the request contains the required field name.
|
| InvalidAnnotationException.<annotation> annotation is only applicable to type <type> in task <task name> |
The annotation can only be defined as the specified type. |
- Verify the annotation is declared as the correct type.
|
| Message |
Definition |
Suggested Solution |
| InvalidAnnotationException.<annotation> annotation must be declared public in task <task name> |
The annotation must be defined as public. |
- Verify the annotation is defined as public.
|
| InvalidAttributeException.<attribute> attribute and its property are only applicable to type <type> in task <task name> |
The attribute and its property can only be defined as the specified type. |
- Verify the attribute and property are declared correctly.
|
| InvalidAttributeException.<attribute> attribute cannot be assigned a null value in method <method name> in task <task name> |
The attribute has a null value. |
- Verify the specified method returns a non-null value.
|
| InvalidAttributeException.<attribute> attribute must have public property methods in task <task name> |
The attribute must have its property defined as public. |
- Verify the property for the attribute is defined as public.
|
| InvalidMethodDeclarationException.Method <method name> must be public in task <task name> |
The method must be declared as public. |
- Verify that the method is declared as public.
|
| Message |
Definition |
Suggested Solution |
| InvalidMethodDeclarationException.Method <method name> must be static in task <task name> |
The method must be declared as static. |
- Verify the method is declared as static.
|
| InvalidMethodSignatureException.Method <method name> is not allowed to take parameters in task <task name> |
The onStartup, onShutdown, or isAvailable task method does not accept parameters. |
- Remove the parameters from the task method.
|
| InvalidMethodSignatureException.Method <method name> must return boolean in task <task name> |
The task method must return boolean. |
- Verify the task method returns a boolean.
|
| InvalidMethodSignatureException.The background task method <method name> is not allowed to take parameters in task <task name> |
The background task method does not accept parameters. |
- Remove the parameters from the background task method.
|
| InvalidRequestMappingException.Request key <key name> is being assigned by multiple TaskProperty attributes in task <task name> |
A task cannot have two or more TaskProperty attributes with the same name. |
- Verify each TaskProperty attribute has a unique name.
|
| Message |
Definition |
Suggested Solution |
| NoAnnotationException.Parameter number <parameter number> for method <method name> in task <task name> has no annotation |
All parameters in the method must have a TaskParameter annotation. |
- Verify each parameter has a TaskParameter annotation.
|
| NoSuchMethodException.Method <method name> is not defined for class <class name> |
The method is not defined in the class. |
- Verify the method belongs in the specified class.
- Add the method to the class or remove the method name from the task definition file.
|
| NoSuchMethodException.Method 'public static bool <method name> (<parameters>)' is not defined for class <class name> |
The static method and parameters are not defined in the class. |
- Correct the parameters associated with the task method.
|
| ParameterKeyMissingException.TaskParameter <parameter name> was not found in the request in task <task name> |
The parameter was not found in the request. |
- Verify the request contains the parameter name required by the task.
- Change the name of one of the methods in the class and task definition file.
|