This error can happen with very large subs, in debug mode. It hits a limit of the Java compiler. As
@DonManfred wrote, the solution is to split the large sub.
It sometimes happen when the developer puts the data inside the code. Something that isn't recommended.