MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from forums are still considered and checked by the maintainers.
We are aware of this error and had multiple reports of it. The simplest fix right now is to click recompile to recompile the mod once again. If this does not help, try to switch to another workspace and back to the first one. This will fix this error for sure.
We are working to fix this error in next releases of MCreator.