void showErrorMessage from StandalonePluginWorkspace no longer shower exception stack trace
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 2
- Joined: Wed Oct 30, 2024 12:22 am
void showErrorMessage from StandalonePluginWorkspace no longer shower exception stack trace
Post 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?
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 (5.25 KiB) Viewed 182 times
- Attachments
-
- image.png (5.25 KiB) Viewed 182 times
-
- image.png (5.25 KiB) Viewed 182 times
Re: void showErrorMessage from StandalonePluginWorkspace no longer shower exception stack trace
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
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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service