You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a mixin with a couple getters and two setters, but I forgot to add parameters to those setters which caused an IndexOutOfBoundsException with no stacktrace to be thrown whenever I tried to build, launch, etc.
This was a huge pain as finding the cause of an error with no stacktrace is no easy task.
The message of the exception was Index: 0, Size: 0 so I can only assume that Mercury assumes that setters always have a parameter and doesn't actually check for it first.
As you can see, the last two methods, which are setters, don't have a parameter even though they obviously should.
A more detailed error message, especially one stating where this mistake was made, would be highly appreciated.
The text was updated successfully, but these errors were encountered:
I made a mixin with a couple getters and two setters, but I forgot to add parameters to those setters which caused an
IndexOutOfBoundsException
with no stacktrace to be thrown whenever I tried to build, launch, etc.This was a huge pain as finding the cause of an error with no stacktrace is no easy task.
The message of the exception was
Index: 0, Size: 0
so I can only assume that Mercury assumes that setters always have a parameter and doesn't actually check for it first.The mixin that caused this error was
As you can see, the last two methods, which are setters, don't have a parameter even though they obviously should.
A more detailed error message, especially one stating where this mistake was made, would be highly appreciated.
The text was updated successfully, but these errors were encountered: