com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854)

Kuali JIRA | Bryan Hutchinson | 8 years ago
  1. 0

    Prior to the latest Confluence upgrade, I attempted to copy the KRA Kuali Research Administration space in Space Administration, but received the exception below. Incidentally, I don't see the "Copy Space" action in Space Administration anymore (post upgrade?), so I'm not sure where it went. We want to create a snapshot of our KC Release 1.0 space before we make all our Release 2.0 changes. ***ERROR*** CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to create a support issue on our support system at http://support.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. cut & paste the error and system information found below 3. attach the application server log file (if possible). We will respond as promptly as possible. Thank you! Cause: com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:272) caused by: java.lang.IllegalArgumentException: The data to be written cannot be null. at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.saveDataForAttachment(FileSystemAttachmentDataDao.java:126) Stack Trace: [hide] com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:272) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:195) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:207) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:207) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:207) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copySpace(CopySpaceManager.java:102) at com.atlassian.confluence.plugin.copyspace.actions.DoCopySpaceAction.execute(DoCopySpaceAction.java:62) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) 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:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) 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.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) 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.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) 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:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:124) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.IllegalArgumentException: The data to be written cannot be null. at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.saveDataForAttachment(FileSystemAttachmentDataDao.java:126) at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.saveDataForAttachment(FileSystemAttachmentDataDao.java:108) at com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.saveNewAttachment(AbstractHibernateAttachmentDao.java:180) at com.atlassian.confluence.pages.DefaultAttachmentManager.saveNewAttachment(DefaultAttachmentManager.java:50) at com.atlassian.confluence.pages.AbstractAttachmentManager.saveAttachment(AbstractAttachmentManager.java:85) at com.atlassian.confluence.pages.DelegatorAttachmentManager.saveAttachment(DelegatorAttachmentManager.java:87) at sun.reflect.GeneratedMethodAccessor1846.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy16.saveAttachment(Unknown Source) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:266) ... 103 more Referer URL: https://test.kuali.org/confluence/spaces/copyspaceoptions.action?key=KRACOEUS Build Information: confluence.home: /opt/cm-tools/atlassian/confluence/confluence-2.6.2/confluence.home system.uptime: 5 hours, 48 minutes, 46 seconds system.version: 2.6.2 build.number: 919 Server Information: Application Server: Apache Tomcat/5.5.16 Servlet Version: 2.4 Database Dialect: net.sf.hibernate.dialect.MySQLDialect Database Driver Name: N/A Database Driver Version: N/A Memory Information: total.memory: 1520 MB free.memory: 330 MB used.memory: 1190 MB System Information: system.date: Friday, 08 Aug 2008 system.time: 10:05:52 system.favourite.colour: Ecru java.version: 1.5.0_08 java.vendor: Sun Microsystems Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.5.0_08-b03 java.runtime: Java(TM) 2 Runtime Environment, Standard Edition java.vm: Java HotSpot(TM) Server VM user.name.word: tomcat user.timezone: US/Eastern operating.system: Linux 2.6.9-78.ELhugemem os.architecture: i386 fs.encoding: UTF-8 Cluster Information: Not clustered. Enabled Plugins: Basic Macros (confluence.macros.basic, Version: 1.3) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.5) User Listener (confluence.extra.userlister, Version: 2.1) HTML Macros (confluence.macros.html, Version: 1.3) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.7.2) Chart Plugin (confluence.extra.chart, Version: 1.8) Global Labels Sections (confluence.sections.labels, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Page Operations (confluence.sections.page.operations, Version: 1.0) Gallery (com.atlassian.confluence.extra.gallery, Version: 1.2.0) WebDAV Plugin (confluence.extra.webdav, Version: 1.2.3) Profile Tabs (confluence.sections.profile, Version: 1.0) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.6.2) French language pack (confluence.languages.fr_FR, Version: 1.5) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Admin Sections (confluence.sections.admin, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.2.5) Word Plugin (org.swift.confluence.word, Version: 3.0.1) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Snippet Plugin (com.atlassian.confluence.extra.snippet, Version: 2.0.2) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) News Tabs (confluence.sections.news, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Attachments Macros (confluence.extra.attachments, Version: 2.7) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Rate Plugin (adaptavist.confluence.rate, Version: 1.1) Task List Macros (confluence.extra.tasklist, Version: 1.3) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.5) Core Extractors (confluence.extractors.core, Version: 1.4) Adaptavist Rate Macro (com.adaptavist.confluence.rate, Version: 1.1.7) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Page Tabs (confluence.sections.page, Version: 1.0) Page Tree (bnpparibas.confluence.pagetree, Version: 1.3) Core Listeners (confluence.listeners.core, Version: 1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Page View Links (confluence.sections.page.actions, Version: 1.0) JIRA Macros (confluence.extra.jira, Version: 2.2) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.3) Layout Macros (confluence.extra.layout, Version: 1.1) German language pack (confluence.languages.de_DE, Version: 1.1) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.0.11) Excel Plugin (org.swift.confluence.excel, Version: 3.4.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Mail Page Plugin (com.atlassian.confluence.ext.mailpage, Version: 1.3) Calendar Plugin (confluence.extra.calendar, Version: 2.6) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Advanced Macros (confluence.macros.advanced, Version: 1.3) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.6) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.6) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Space Item Tabs (confluence.sections.space, Version: 1.0) Code Macro (confluence.macros.code, Version: 1.4) Request Information: URL: https://test.kuali.org/confluence/500page.jsp - Scheme: https - Server: test.kuali.org - Port: 443 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: - - Query String: key=KRACOEUS foofoo Attributes: - javax.servlet.forward.request_uri : /confluence/spaces/docopyspace.action - javax.servlet.forward.context_path : /confluence - javax.servlet.forward.servlet_path : /spaces/docopyspace.action - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.forward.query_string : key=KRACOEUS - javax.servlet.error.message : - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@7ce460 - atlassian.core.seraph.original.url : /spaces/docopyspace.action?key=KRACOEUS - javax.servlet.jsp.jspException : com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true - javax.servlet.error.exception : com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) - os_securityfilter_already_filtered : true - __sitemesh__using_stream : false - javax.servlet.error.request_uri : /confluence/spaces/docopyspace.action - javax.servlet.error.status_code : 500 - __sitemesh__filterapplied : true - loginfilter.already.filtered : true - sessioninview.FILTERED : true Parameters: - key = KRACOEUS - newKey = KRACOEUS10 - newName = KCRA Kuali Coeus 1.0 - copyAttachments = true - confirm = Save - copyComments = true - keepMetaData = true Confluence User: - anonymous Logging: 0 log statements generated by this request.

    Kuali JIRA | 8 years ago | Bryan Hutchinson
    com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854)
  2. 0

    Prior to the latest Confluence upgrade, I attempted to copy the KRA Kuali Research Administration space in Space Administration, but received the exception below. Incidentally, I don't see the "Copy Space" action in Space Administration anymore (post upgrade?), so I'm not sure where it went. We want to create a snapshot of our KC Release 1.0 space before we make all our Release 2.0 changes. ***ERROR*** CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to create a support issue on our support system at http://support.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. cut & paste the error and system information found below 3. attach the application server log file (if possible). We will respond as promptly as possible. Thank you! Cause: com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:272) caused by: java.lang.IllegalArgumentException: The data to be written cannot be null. at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.saveDataForAttachment(FileSystemAttachmentDataDao.java:126) Stack Trace: [hide] com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:272) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:195) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:207) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:207) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyPagesRecursive(CopySpaceManager.java:207) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copySpace(CopySpaceManager.java:102) at com.atlassian.confluence.plugin.copyspace.actions.DoCopySpaceAction.execute(DoCopySpaceAction.java:62) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) 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:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:47) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) 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.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) 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.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) 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:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:124) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.IllegalArgumentException: The data to be written cannot be null. at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.saveDataForAttachment(FileSystemAttachmentDataDao.java:126) at com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao.saveDataForAttachment(FileSystemAttachmentDataDao.java:108) at com.atlassian.confluence.pages.persistence.dao.hibernate.AbstractHibernateAttachmentDao.saveNewAttachment(AbstractHibernateAttachmentDao.java:180) at com.atlassian.confluence.pages.DefaultAttachmentManager.saveNewAttachment(DefaultAttachmentManager.java:50) at com.atlassian.confluence.pages.AbstractAttachmentManager.saveAttachment(AbstractAttachmentManager.java:85) at com.atlassian.confluence.pages.DelegatorAttachmentManager.saveAttachment(DelegatorAttachmentManager.java:87) at sun.reflect.GeneratedMethodAccessor1846.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy16.saveAttachment(Unknown Source) at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:266) ... 103 more Referer URL: https://test.kuali.org/confluence/spaces/copyspaceoptions.action?key=KRACOEUS Build Information: confluence.home: /opt/cm-tools/atlassian/confluence/confluence-2.6.2/confluence.home system.uptime: 5 hours, 48 minutes, 46 seconds system.version: 2.6.2 build.number: 919 Server Information: Application Server: Apache Tomcat/5.5.16 Servlet Version: 2.4 Database Dialect: net.sf.hibernate.dialect.MySQLDialect Database Driver Name: N/A Database Driver Version: N/A Memory Information: total.memory: 1520 MB free.memory: 330 MB used.memory: 1190 MB System Information: system.date: Friday, 08 Aug 2008 system.time: 10:05:52 system.favourite.colour: Ecru java.version: 1.5.0_08 java.vendor: Sun Microsystems Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.5.0_08-b03 java.runtime: Java(TM) 2 Runtime Environment, Standard Edition java.vm: Java HotSpot(TM) Server VM user.name.word: tomcat user.timezone: US/Eastern operating.system: Linux 2.6.9-78.ELhugemem os.architecture: i386 fs.encoding: UTF-8 Cluster Information: Not clustered. Enabled Plugins: Basic Macros (confluence.macros.basic, Version: 1.3) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.5) User Listener (confluence.extra.userlister, Version: 2.1) HTML Macros (confluence.macros.html, Version: 1.3) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.7.2) Chart Plugin (confluence.extra.chart, Version: 1.8) Global Labels Sections (confluence.sections.labels, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Page Operations (confluence.sections.page.operations, Version: 1.0) Gallery (com.atlassian.confluence.extra.gallery, Version: 1.2.0) WebDAV Plugin (confluence.extra.webdav, Version: 1.2.3) Profile Tabs (confluence.sections.profile, Version: 1.0) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.6.2) French language pack (confluence.languages.fr_FR, Version: 1.5) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Admin Sections (confluence.sections.admin, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.2.5) Word Plugin (org.swift.confluence.word, Version: 3.0.1) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Snippet Plugin (com.atlassian.confluence.extra.snippet, Version: 2.0.2) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) News Tabs (confluence.sections.news, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Attachments Macros (confluence.extra.attachments, Version: 2.7) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Rate Plugin (adaptavist.confluence.rate, Version: 1.1) Task List Macros (confluence.extra.tasklist, Version: 1.3) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.5) Core Extractors (confluence.extractors.core, Version: 1.4) Adaptavist Rate Macro (com.adaptavist.confluence.rate, Version: 1.1.7) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Page Tabs (confluence.sections.page, Version: 1.0) Page Tree (bnpparibas.confluence.pagetree, Version: 1.3) Core Listeners (confluence.listeners.core, Version: 1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Page View Links (confluence.sections.page.actions, Version: 1.0) JIRA Macros (confluence.extra.jira, Version: 2.2) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.3) Layout Macros (confluence.extra.layout, Version: 1.1) German language pack (confluence.languages.de_DE, Version: 1.1) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.0.11) Excel Plugin (org.swift.confluence.excel, Version: 3.4.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Mail Page Plugin (com.atlassian.confluence.ext.mailpage, Version: 1.3) Calendar Plugin (confluence.extra.calendar, Version: 2.6) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Advanced Macros (confluence.macros.advanced, Version: 1.3) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.6) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.6) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Space Item Tabs (confluence.sections.space, Version: 1.0) Code Macro (confluence.macros.code, Version: 1.4) Request Information: URL: https://test.kuali.org/confluence/500page.jsp - Scheme: https - Server: test.kuali.org - Port: 443 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: - - Query String: key=KRACOEUS foofoo Attributes: - javax.servlet.forward.request_uri : /confluence/spaces/docopyspace.action - javax.servlet.forward.context_path : /confluence - javax.servlet.forward.servlet_path : /spaces/docopyspace.action - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.forward.query_string : key=KRACOEUS - javax.servlet.error.message : - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@7ce460 - atlassian.core.seraph.original.url : /spaces/docopyspace.action?key=KRACOEUS - javax.servlet.jsp.jspException : com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true - javax.servlet.error.exception : com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854) - os_securityfilter_already_filtered : true - __sitemesh__using_stream : false - javax.servlet.error.request_uri : /confluence/spaces/docopyspace.action - javax.servlet.error.status_code : 500 - __sitemesh__filterapplied : true - loginfilter.already.filtered : true - sessioninview.FILTERED : true Parameters: - key = KRACOEUS - newKey = KRACOEUS10 - newName = KCRA Kuali Coeus 1.0 - copyAttachments = true - confirm = Save - copyComments = true - keepMetaData = true Confluence User: - anonymous Logging: 0 log statements generated by this request.

    Kuali JIRA | 8 years ago | Bryan Hutchinson
    com.atlassian.confluence.plugin.copyspace.CopySpaceException: An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854)

    Root Cause Analysis

    1. com.atlassian.confluence.plugin.copyspace.CopySpaceException

      An error occurred while copying an attachment. Page: page: KRA-Coeus Awards Functional Specifications v.364 (36126) attachment: Attachment: KRA-AWD-Complete_the_Award_Detail_Panel.doc v.1 (7854)

      at com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments()
    2. com.atlassian.confluence
      CopySpaceManager.copyAttachments
      1. com.atlassian.confluence.plugin.copyspace.CopySpaceManager.copyAttachments(CopySpaceManager.java:272)
      1 frame