Hello,
We have encountered a problem with copying content items as new copies, when the source item contains an editlive field with an inline link or variant.
Removing the inline link means the copying works fine, but this sort of defeats the point. Does anyone know what might be wrong here?
This is running on 6.7 windows with patch RX-15949.
This is what the inline link code looks like:
<div class="rxbodyfield" xmlns:st2="urn:www.microsoft.com/smarttags2" xmlns:st1="urn:www.microsoft.com/smarttags" xmlns:o="urn:www.microsoft.com/office" xmlns:x="urn:www.microsoft.com/excel" xmlns:w="urn:www.microsoft.com/word">
<p><a sys_dependentvariantid="545" rxinlineslot="103" sys_dependentid="73612" href="http://rhythmyxserver:9992/Rhythmyx/assembler/render?sys_contentid=73612&sys_revision=1&sys_folderid=73571&sys_context=0&sys_siteid=309&sys_variantid=545&sys_authtype=0" sys_variantid="545" sys_relationshipid="464694" sys_contentid="73612" sys_siteid="309" inlinetype="rxhyperlink" sys_folderid="73571">This is a link</a></p>
</div>
This is the error which appears in the popup:
Error executing action <Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Drop-Paste_As_New_Copy> : An unexpected error occurred while processing the CMS request. The error was: An exception occurred while processing the internal request handler call: java.lang.RuntimeException: java.lang.NullPointerException
This is the console log error:
2010-01-05 11:33:20,098 ERROR [PSConditionalCloneHandler] Failed to get site and folder IDs for item: <PSKey CONTENTID=73612 REVISIONID=-1 >
java.lang.NullPointerException
at com.percussion.services.sitemgr.impl.PSSiteManager.getItemSites(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4655.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy120.getItemSites(Unknown Source)
at com.percussion.cms.handlers.PSConditionalCloneHandler.o00000(Unknown Source)
at com.percussion.cms.handlers.PSConditionalCloneHandler.o00000(Unknown Source)
at com.percussion.cms.handlers.PSConditionalCloneHandler.o00000(Unknown Source)
at com.percussion.cms.handlers.PSConditionalCloneHandler.o00000(Unknown Source)
at com.percussion.cms.handlers.PSConditionalCloneHandler.clone(Unknown Source)
at com.percussion.cms.handlers.PSRelationshipCommandHandler.o00000(Unknown Source)
at com.percussion.cms.handlers.PSRelationshipCommandHandler.Ô00000(Unknown Source)
at com.percussion.cms.handlers.PSRelationshipCommandHandler.makeInternalRequest(Unknown Source)
at com.percussion.cms.handlers.PSContentEditorHandler.makeInternalRequest(Unknown Source)
at com.percussion.server.PSInternalRequest.Ò00000(Unknown Source)
at com.percussion.server.PSInternalRequest.performUpdate(Unknown Source)
at com.percussion.server.webservices.PSWebServicesBaseHandler.makeInternalRequest(Unknown Source)
at com.percussion.server.webservices.PSContentDataHandler.newCopy(Unknown Source)
at com.percussion.server.webservices.PSServerFolderProcessor.o00000(Unknown Source)
at com.percussion.server.webservices.PSServerFolderProcessor.o00000(Unknown Source)
at com.percussion.server.webservices.PSServerFolderProcessor.o00000(Unknown Source)
at com.percussion.server.webservices.PSServerFolderProcessor.copy(Unknown Source)
at com.percussion.server.webservices.PSServerFolderProcessor.copyChildren(Unknown Source)
at com.percussion.cms.objectstore.PSFolderProcessorProxy.copyChildren(Unknown Source)
at com.percussion.server.webservices.PSFolderHandler.copyFolderChildrenAction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4731.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.percussion.server.webservices.PSWebServicesBaseHandler.processAction(Unknown Source)
at com.percussion.server.webservices.PSWebServicesRequestHandler.processRequest(Unknown Source)
at com.percussion.servlets.PSAppServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.percussion.webdav.PSWebDavRequestFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.percussion.servlets.PSSecurityFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.percussion.servlets.PSCharacterSetFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
2010-01-05 11:33:20,114 ERROR [PSFolderHandler] void com.percussion.server.webservices.PSFolderHandler.copyFolderChildrenAction(com.percussion.server.PSRequest,org.w3c.dom.Document) throws com.percussion.error.PSException
com.percussion.cms.PSCmsException: An exception occurred while processing the internal request handler call: java.lang.RuntimeException: java.lang.NullPointerException
at com.percussion.server.webservices.PSServerFolderProcessor.copy(Unknown Source)
at com.percussion.server.webservices.PSServerFolderProcessor.copyChildren(Unknown Source)
at com.percussion.cms.objectstore.PSFolderProcessorProxy.copyChildren(Unknown Source)
at com.percussion.server.webservices.PSFolderHandler.copyFolderChildrenAction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4731.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.percussion.server.webservices.PSWebServicesBaseHandler.processAction(Unknown Source)
at com.percussion.server.webservices.PSWebServicesRequestHandler.processRequest(Unknown Source)
at com.percussion.servlets.PSAppServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.percussion.webdav.PSWebDavRequestFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.percussion.servlets.PSSecurityFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.percussion.servlets.PSCharacterSetFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)