Failed to load Refined for Confluence configuration page
Asked by skh397:

```
As installed latest version of Refined for Confluence into my Confluence server version 7.5.0. Some of the pages (Site Builder / Navigation / Layouts / Caching) in Confluence administration > Refined > Configuration loading failed and show HTTP 500 with below error.


java.lang.NullPointerException
com.atlassian.confluence.spaces.DefaultSpaceManager.archiveSpace(DefaultSpaceManager.java:739)
jdk.internal.reflect.GeneratedMethodAccessor1531.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:566)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
com.atlassian.confluence.util.profiling.ConfluenceMonitoringMethodInterceptor.invoke(ConfluenceMonitoringMethodInterceptor.java:36)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
com.sun.proxy.$Proxy259.archiveSpace(Unknown Source)
jdk.internal.reflect.GeneratedMethodAccessor1531.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:566)
com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
com.sun.proxy.$Proxy435.archiveSpace(Unknown Source)
jdk.internal.reflect.GeneratedMethodAccessor1531.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:566)
com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:131)
com.sun.proxy.$Proxy435.archiveSpace(Unknown Source)
com.refinedwiki.confluence.plugins.theme.original.layoutboard.DefaultLayoutBoardManager.createLayoutSpace(DefaultLayoutBoardManager.java:206)
com.refinedwiki.confluence.plugins.theme.original.layoutboard.DefaultLayoutBoardManager.ensureLayoutSpaceExists(DefaultLayoutBoardManager.java:366)
com.refinedwiki.confluence.plugins.theme.original.admin.actions.AdminAction.doDefault(AdminAction.java:45)
jdk.internal.reflect.GeneratedMethodAccessor1653.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:566)
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:120)
com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:30)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.core.ConfluenceLicenseInterceptor.intercept(ConfluenceLicenseInterceptor.java:65)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.validation.MessageHolderInterceptor.intercept(MessageHolderInterceptor.java:37)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:44)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:21)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.xwork.interceptors.RestrictHttpMethodInterceptor.intercept(RestrictHttpMethodInterceptor.java:119)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.security.websudo.WebSudoInterceptor.intercept(WebSudoInterceptor.java:64)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.themes.ThemeContextInterceptor.intercept(ThemeContextInterceptor.java:42)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:97)
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
com.atlassian.confluence.setup.webwork.BootstrapAwareInterceptor.intercept(BootstrapAwareInterceptor.java:19).......
```


Answers:
author: Diego
body: Hey [@skh397](/t5/user/viewprofilepage/user-id/3700327) !

As I understand, after a plugin update (Refined for Confluence) some of the plugin features are not accessible.

We could start by clearing the plugin cache. Please, keep in mind that this feature requires downtime and users will be unable to access Confluence during it. This procedure will clear stale plugin data from your Confluence instance and then recreate it.

Here is how to perform the procedure:
> * ++***[\[Confluence Server\] How to clear Confluence plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html)***++

If this does not help, you can try to re-install the plugin. If re-installing the newest version does not solve the issue, you can also try to install a previous version:
> * ++***[\[Atlassian Marketplace\] Refined for Confluence -- Version history](https://marketplace.atlassian.com/apps/15231/refined-for-confluence-sites-themes/version-history)***++

Uninstalling plugins from Confluence may or may not erase content from the database itself. You could try to reach out to the vendor of Refined to check with them what their plugins does during uninstall.

Let us hear from you!

comments: author: skh397
body: Many thanks [@Diego](/t5/user/viewprofilepage/user-id/1188952)

Since I am using confluence docker image for evaluation now. I just resolved my problem by re-install confluence, then re-install Refined for Confluence.


author: Diego
body: Thanks for letting me know that you solve the issue!


Tags: confluence-server

server