Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Tuomas Jormola, 1 year ago
via Atlassian JIRA by Tuomas Jormola, 2 years ago
java.lang.NullPointerException: 	at com.atlassian.confluence.util.ServletContextThreadLocal.getContext(ServletContextThreadLocal.java:19)	at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.copyExportedResource(AbstractRendererExporterImpl.java:212)	at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.copyResources(AbstractRendererExporterImpl.java:184)	at com.atlassian.confluence.importexport.impl.HtmlExporter.copyResources(HtmlExporter.java:222)	at com.atlassian.confluence.importexport.impl.HtmlExporter.doExportEntity(HtmlExporter.java:211)	at com.atlassian.confluence.importexport.impl.HtmlExporter.exportPage(HtmlExporter.java:101)	at com.atlassian.confluence.importexport.impl.HtmlExporter.exportSpace(HtmlExporter.java:114)	at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:102)	at com.atlassian.confluence.importexport.impl.HtmlExporter.doExport(HtmlExporter.java:40)	at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)	at $Proxy35.exportAs(Unknown Source)	at net.elma.confluence.export.ExportAllSpacesJob.doExecute(ExportAllSpacesJob.java:47)	at bucket.event.jobs.AbstractJob.executeInternal(AbstractJob.java:91)	at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)