[Build Error] "Too many locals (max 128)" message

This is a general limitation of MicroEJ SDK, this occurs when you have too many local variables in one function.

A big multi-catch block may induce this as each catch creates a local variable.

You can split your function into multiple ones to avoid this.