Unable to Create Spaces
Asked by Kamil Stasiak:

Hi,

When I try to create a space, I get a pop-up with a spinning spinner and I can\`t create the space. I get following logs:

```
2018-02-22 21:19:27,441 ERROR [http-nio-8093-exec-7] [plugin.descriptor.web.ConfluenceWebInterfaceManager] getHtml Failed to render web panel: com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel@4e94b064
?-- url: /display/SPRIN/Spring | page: 65576 | traceId: 96133a62488ab989 | userName: admin | referer: http://serwer/browsepeople.action | action: viewpage
java.lang.NullPointerException
?? ?at net.java.ao.EntityManager.create(EntityManager.java:375)
?? ?at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.create(EntityManagedActiveObjects.java:92)
?? ?at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects.create(TenantAwareActiveObjects.java:266)
?? ?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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
?? ?at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
?? ?at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
?? ?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?? ?at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
?? ?at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
?? ?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?? ?at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
?? ?at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
?? ?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?? ?at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
?? ?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?? ?at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
?? ?at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
?? ?at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
?? ?at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
?? ?at com.sun.proxy.$Proxy1166.create(Unknown Source)
?? ?at com.atlassian.confluence.plugins.ia.impl.DefaultSidebarLinkManager.lambda$createLink$0(DefaultSidebarLinkManager.java:28)
?? ?at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:21)
?? ?at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:71)
?? ?at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
?? ?at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:68)
?? ?at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.access$001(ConfluenceSpringHostContextAccessor.java:21)
?? ?at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.lambda$doInTransaction$3(ConfluenceSpringHostContextAccessor.java:72)
?? ?at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)
?? ?at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)
?? ?at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.doInTransaction(ConfluenceSpringHostContextAccessor.java:72)
?? ?at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
?? ?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
?? ?at java.lang.reflect.Method.invoke(Method.java:498)
?? ?at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
?? ?at com.sun.proxy.$Proxy318.doInTransaction(Unknown Source)
?? ?at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)
?? ?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
?? ?at java.lang.reflect.Method.invoke(Method.java:498)
?? ?.

    .

    .
?? ?at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
?? ?at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
?? ?at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
?? ?at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
?? ?at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
?? ?at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
?? ?at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
?? ?at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
?? ?at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
?? ?at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
?? ?at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
?? ?at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)
?? ?at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)
?? ?at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
?? ?at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
?? ?at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
?? ?at java.lang.Thread.run(Thread.java:748)
2018-02-22 21:19:27,468 WARN [http-nio-8093-exec-7] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
? ->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #171165048)
?-- url: /display/SPRIN/Spring | traceId: 96133a62488ab989 | userName: admin | referer: http://serwer/browsepeople.action
2018-02-22 21:19:46,339 WARN [http-nio-8093-exec-13] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
? ->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #300414060)
?-- referer: http://serwer/display/SPRIN/Spring | url: /rest/create-dialog/1.0/space-blueprint/dialog/web-items | traceId: 7bc1b046f0188a69 | userName: admin
2018-02-22 21:19:49,082 WARN [Caesium-1-3] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse[runOutcome=ABORTED,message='LaaS performance logging is turned off']
2018-02-22 21:24:49,081 WARN [Caesium-1-2] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job LaasPerformanceLoggingJob#LaasPerformanceLoggingJob completed unsuccessfully with response JobRunnerResponse[runOutcome=ABORTED,message='LaaS performance logging is turned off']
2018-02-22 21:27:49,132 WARN [http-nio-8093-exec-4] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
? ->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1371885327)
```

How deal with it?

Thanks,

Kamil


Answers:
author: AnnWorley
body: Hi Kamil,

Have there been any upgrades or other changes lately?

The error you posted may not be related, as it seems to be generated by viewing the page with ID 65576:

```
2018-02-22 21:19:27,441 ERROR [http-nio-8093-exec-7] [plugin.descriptor.web.ConfluenceWebInterfaceManager] getHtml Failed to render web panel: com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel@4e94b064
 -- url: /display/SPRIN/Spring | page: 65576 | traceId: 96133a62488ab989 | userName: admin | referer: http://serwer/browsepeople.action | action: viewpage
java.lang.NullPointerException
```

To eliminate that error, I would first try clearing the plugin cache as described in [How to clear Confluence plugins cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) because a [plugin class](https://docs.atlassian.com/DAC/javadoc/plugins/2.5/reference/com/atlassian/plugin/web/WebInterfaceManager.html) is mentioned in the error:

```
plugin.descriptor.web.ConfluenceWebInterfaceManager
```

In this article, there are 5 possible causes for the behavior you are reporting: [Unable to Create Pages or Spaces (The Popup Loads Forever) After Confluence Upgrade to 5.x or 6.x](https://confluence.atlassian.com/confkb/unable-to-create-pages-the-create-page-popup-loads-forever-after-confluence-upgrade-to-5-x-330793034.html) Please check whether any of these apply to your case.

Thanks,

Ann