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 Tom Davies [Atlassian], 1 year ago
via Atlassian JIRA by Tom Davies [Atlassian], 1 year ago
java.lang.NullPointerException: 	at com.atlassian.confluence.importexport.impl.FileBackupImporter.importAttachments(FileBackupImporter.java:130)	at com.atlassian.confluence.importexport.impl.FileBackupImporter.importEverything(FileBackupImporter.java:84)	at com.atlassian.confluence.importexport.impl.BackupImporter.doImport(BackupImporter.java:79)	at com.atlassian.confluence.importexport.impl.FileBackupImporter.doImport(FileBackupImporter.java:32)	at com.atlassian.confluence.importexport.DefaultImportExportManager.importAs(DefaultImportExportManager.java:48)	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:324)	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 $Proxy26.importAs(Unknown Source)	at com.atlassian.confluence.setup.actions.SetupDemoContentAction.execute(SetupDemoContentAction.java:38)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)	at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:28)	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.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:84)	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.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)	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.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:90)	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.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)	at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:150)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:82)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:95)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)	at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:30)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)	at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)	at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)	at com.caucho.server.http.Invocation.service(Invocation.java:315)	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171)	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)	at java.lang.Thread.run(Thread.java:534)