Unable to install a font from confluence PDF Export Language Support
Asked by Avinash Prasad:

Hi,

I am currently unable to install a font from the admin section confluence PDF Export Language Support . Also I see the same error when I try to edit the PDF stylesheet in a space Look and feel. Any help is appreciated.

Thanks

Error

\[atlassian.confluence.servlet.ConfluenceServletDispatcher\] sendError Could not execute action  
-- referer: <https://confluence.x.com/admin/flyingpdf/configurepdflanguagesupport.action> \| url: /admin/flyingpdf/doconfigurepdflanguagesupport.action \| traceId: 8aa3bbd0c4fdfdc3 \| userName: xxx  
java.lang.IllegalArgumentException: object is not an instance of declaring class  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
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:33)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100)  
at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:29)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:42)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.core.ConfluenceLicenseInterceptor.intercept(ConfluenceLicenseInterceptor.java:66)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.validation.MessageHolderInterceptor.intercept(MessageHolderInterceptor.java:37)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:44)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:21)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.xwork.HttpMethodValidationInterceptor.intercept(HttpMethodValidationInterceptor.java:68)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.security.websudo.WebSudoInterceptor.intercept(WebSudoInterceptor.java:64)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.themes.ThemeContextInterceptor.intercept(ThemeContextInterceptor.java:42)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:55)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.setup.webwork.BootstrapAwareInterceptor.intercept(BootstrapAwareInterceptor.java:21)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
at com.atlassian.confluence.user.actions.UserAwareInterceptor.intercept(UserAwareInterceptor.java:53)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)


Answers:
author: R. Fuerst
body: Hi Avinash,

We've seen this error occur as a result of user installed add-ons. To rule that out as a cause, I suggest enabling Safe Mode:

1. Go to Administration cog \> Manage add-ons
2. Scroll to the bottom of the page and select "Enable Safe Mode"
3. Try installing the font again
4. When finished with the test, disable Safe Mode

Details on Safe Mode and add-ons can be found [here](https://confluence.atlassian.com/upm/disabling-and-enabling-add-ons-273875716.html).

If the process works after putting the site in Safe Mode, that indicates one of your add-ons is conflicting with the font.

I hope that information helps!

Best,

Rachel


Tags: atl-adm

confluence-administration

confluence-development

confluence-server