As the "Export to PDF" is not exporting the colors in "Status" macro, I tried adding few lines into General Configuration -> PDF stylesheet. While saving the page, I am getting below error.
Page: <ServerName> /admin/flyingpdf/editpdfstyleconfig.action
CSS lines trying to be added:
.aui-lozenge-complete{
background-color: blue;
opacity: 0.5;
}
.aui-lozenge-success{
background-color: green;
opacity: 0.5; }
.aui-lozenge-error{
background-color: red;
opacity: 0.5;
}
.aui-lozenge-current{
background-color: yellow;
opacity: 0.5;
}
Error While saving page:
Cause
java.lang.IllegalArgumentException: java.lang.ClassCastException@2aeb9add
at sun.reflect.GeneratedMethodAccessor5294.invoke(Unknown Source)
Stack Trace:[hide]
java.lang.IllegalArgumentException: java.lang.ClassCastException@2aeb9add
at sun.reflect.GeneratedMethodAccessor5294.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:58)