Troubleshooting in the rule editors
The DocuMine rule editors feature a built-in error indicator that emits errors and warnings.
Errors highlight rule syntax issues that prevent the rule from working correctly. Warnings are issued when you use a deprecated method.
Errors in the rule file
When a rule contains a syntax error, the corresponding line is highlighted in red, the rule name and/or the rule element that contains the error is underlined in red.
When you click Save changes, a red exclamation mark icon is displayed in the Save button box.

Error warning
Click on the red exclamation mark icon to jump to the error in the rule file:
When a rule contains an error (e.g., a typo in method or object type), you will be taken to the first rule containing the error and see suggestions for fixing it.
Error found
When the rule structure contains an error (e. g. missing quotation marks) and the rule cannot be compiled, you will be taken to the Drools package at the beginning of the rule file and get the message: "The provided rule string is not a valid drools rule file!"
The line containing the error is highlighted in red.
Error message
Warnings in the rule file
When a rule contains a deprecated method, the corresponding line is highlighted in orange, and/or the rule name is underlined in orange, and an orange exclamation mark icon is displayed next to it.
When you try to save the rule file, an orange warning is displayed in the Save button box.
Click on the orange warning message or the small arrow next to it to jump to the warning in the rule file:
You will be taken to the first rule containing a warning and see suggestions for addressing it.

Warning message
Click on the arrows to the error display to jump to the next/previous warning in the file.