Page 1 of 1

void showErrorMessage​ from StandalonePluginWorkspace no longer shower exception stack trace

Posted: Wed Oct 30, 2024 12:30 am
by yuanyuan_li
So I am with oxgyen 26 and I realized that the call for void showErrorMessage​(java.lang.String message, java.lang.Throwable exception)
doesn't display any stack trace as described in the doc. And there is no "More details" link to be clicked.

Are there any changes to the API? What should I do to get the stack trace back?
image.png

Re: void showErrorMessage​ from StandalonePluginWorkspace no longer shower exception stack trace

Posted: Wed Oct 30, 2024 9:42 am
by Radu
Hi,
At some point the API used to present in the dialog a "More details" link which when pressed would show the entire stack trace of the error. Due to internal security related discussions we removed this functionality. So if you want a dialog to show both a message and a stack trace, you can either add the stack trace information to the message or implement your own Java swing based dialog.
Regards,
Radu