Details
-
Suggestion
-
Resolution: Answered
-
None
-
None
Description
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
If an xwork plugin action can't be instantiated, for whatever reason, the ConfluencePluginObjectFatory passes all exceptions through to xwork. Xwork then catches the exception, and throws an IllegalArgumentException, with no reference to the original exception, not even passing it as the cause:
java.lang.IllegalArgumentException: Method 'doDefault()' is not defined in action 'class com.atlassian.studio.confluence.themes.sidebar.ConfigureSidebarAction'
There are no errors in the logs to indicate that the cause is that the plugin class couldn't be instantiated, and certainly nothing saying why it can't be instantiated. I suggest that the ConfluencePluginObjectFactory catches and logs any exceptions thrown when instantiating the plugin action.
Attachments
Issue Links
- relates to
-
CONFCLOUD-15011 Inappropriate error message displayed when xwork plugin action can't be instantiated
- Closed