-
Bug
-
Resolution: Fixed
-
Low
-
8.0.0-struts-m020
-
Severity 3 - Minor
-
Issue Summary
ClassCastException in doeditcolourscheme.action with Struts
Steps to Reproduce
Hit /admin/doeditcolourscheme.action
Expected Results
No exception
Actual Results
The below exception is thrown in the xxxxxxx.log file:
2022-08-02 08:35:39,933 ERROR [http-nio-8080-exec-8] [apache.struts2.dispatcher.DefaultDispatcherErrorHandler] sendErrorResponse Exception occurred during processing request: class org.apache.struts2.dispatcher.Parameter$Request cannot be cast to class [Ljava.lang.String; (org.apache.struts2.dispatcher.Parameter$Request is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3c3562c0; [Ljava.lang.String; is in module java.base of loader 'bootstrap') -- url: /confluence/admin/doeditcolourscheme.action | userName: admin | referer: http://localhost:8080/confluence/admin/lookandfeel.action | traceId: 898b486971dd9e56 java.lang.ClassCastException: class org.apache.struts2.dispatcher.Parameter$Request cannot be cast to class [Ljava.lang.String; (org.apache.struts2.dispatcher.Parameter$Request is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3c3562c0; [Ljava.lang.String; is in module java.base of loader 'bootstrap') at com.atlassian.confluence.admin.actions.lookandfeel.ColourSchemeAction.getFromColourMap(ColourSchemeAction.java:90) at com.atlassian.confluence.admin.actions.lookandfeel.ColourSchemeAction.validateAndPopulateColourScheme(ColourSchemeAction.java:83) at com.atlassian.confluence.admin.actions.lookandfeel.ColourSchemeAction.execute(ColourSchemeAction.java:25) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
[CONFSERVER-79613] Fix ClassCastException in doeditcolourscheme.action with Struts
Fix Version/s | New: 8.0.0-struts-m48 [ 103098 ] |
QA Demo Status | Original: Not Needed [ 14332 ] | New: Done [ 14331 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10051 ] | New: Closed [ 6 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 680197 ] |
Story Points | Original: 3 | New: 2 |
Sprint | Original: 🐕 Dingo [ 6849 ] | New: 🐕 Dingo, Cheese Meteor starting with E [ 6849, 6862 ] |
Status | Original: Awaiting Merge [ 10064 ] | New: In Review [ 10051 ] |
QA Demo Status | Original: Not Done [ 14330 ] | New: Not Needed [ 14332 ] |
Status | Original: In Review [ 10051 ] | New: Awaiting Merge [ 10064 ] |
Fix Version/s | New: 8.0.0 [ 101718 ] | |
QA Kickoff Status | Original: Not Done [ 14234 ] | New: Not Needed [ 14236 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10051 ] |
Remote Link |
New:
This issue links to "R8.0 P1. Performance › Page Weight Ratchet Build › issue-80- |
Remote Link |
New:
This issue links to "R8.0 P1. Baseline › Main Plugins - Samurai › issue-80- |