-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
When an error happens in R5, we often get a pretty useless error message. e.g. the error that led to discovering #514 was
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException
The first step to debugging this was to get a full Java traceback so I could see where the error was actually coming from in R5. I ended up hacking r5r using the changes in e9b7026 to get it to print a traceback. I'm not sure if this is the best way to do it, as the .jcall
syntax needed to make .jgetEx
work is much clunkier than the syntax we've been using, but I do think we should expose these errors whenever they happen to ease debugging.
Metadata
Metadata
Assignees
Labels
No labels