<!-- 
RSS generated by JIRA (8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6) at Sat Feb 10 05:51:16 GMT 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Rivet Logic Corporation JIRA </title>
    <link>https://issues.rivetlogic.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.1.3</version>
        <build-number>801003</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[CMA-10] CMA NodeService deleteNode method deletes the node and throws an exception</title>
                <link>https://issues.rivetlogic.com/browse/CMA-10</link>
                <project id="10015" key="CMA">Remote Alfresco API rivet</project>
                    <description>In my Seam app I have a method that calls the CMA NodeService&amp;#39;s deleteNode method:&lt;br/&gt;
&lt;br/&gt;
nodeService.deleteNode(user.getTicket(), nodeRef);&lt;br/&gt;
&lt;br/&gt;
The node is being deleted but I&amp;#39;m also getting a CmaRuntimeException:&lt;br/&gt;
&lt;br/&gt;
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: &lt;a href=&quot;workspace://SpacesStore/c218ce5f-2cf8-11dd-8285-a9d2bc968af2&quot;&gt;workspace://SpacesStore/c218ce5f-2cf8-11dd-8285-a9d2bc968af2&lt;/a&gt;&lt;br/&gt;
	at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:142)&lt;br/&gt;
	at org.alfresco.repo.node.db.DbNodeServiceImpl.getPaths(DbNodeServiceImpl.java:1579)&lt;br/&gt;
	at org.alfresco.repo.node.db.DbNodeServiceImpl.getPath(DbNodeServiceImpl.java:1563)&lt;br/&gt;
	at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:585)&lt;br/&gt;
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)&lt;br/&gt;
	at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)&lt;br/&gt;
	at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)&lt;br/&gt;
	at $Proxy3.getPath(Unknown Source)&lt;br/&gt;
	at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:585)&lt;br/&gt;
	at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)&lt;br/&gt;
	at $Proxy4.getPath(Unknown Source)&lt;br/&gt;
	at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:585)&lt;br/&gt;
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)&lt;br/&gt;
	at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:280)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:280)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)&lt;br/&gt;
	at $Proxy3.getPath(Unknown Source)&lt;br/&gt;
	at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:585)&lt;br/&gt;
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)&lt;br/&gt;
	at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:245)&lt;br/&gt;
	at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)&lt;br/&gt;
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)&lt;br/&gt;
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)&lt;br/&gt;
	at $Proxy3.getPath(Unknown Source)&lt;br/&gt;
	at com.rivetlogic.core.cma.alfresco.webscripts.bean.NodeServiceWebScript.getPath(NodeServiceWebScript.java:1274)&lt;br/&gt;
	at com.rivetlogic.core.cma.alfresco.webscripts.bean.NodeServiceWebScript.executeInternal(NodeServiceWebScript.java:214)&lt;br/&gt;
	at com.rivetlogic.core.cma.alfresco.webscripts.bean.CmaWebScript.execute(CmaWebScript.java:139)&lt;br/&gt;
	at org.alfresco.web.scripts.WebScriptRuntime.wrappedExecute(WebScriptRuntime.java:364)&lt;br/&gt;
	at org.alfresco.web.scripts.WebScriptRuntime.transactionedExecute(WebScriptRuntime.java:318)&lt;br/&gt;
	at org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:250)&lt;br/&gt;
	at org.alfresco.web.scripts.WebScriptRuntime.executeScript(WebScriptRuntime.java:150)&lt;br/&gt;
	at org.alfresco.web.scripts.WebScriptServlet.service(WebScriptServlet.java:109)&lt;br/&gt;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)&lt;br/&gt;
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)&lt;br/&gt;
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)&lt;br/&gt;
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)&lt;br/&gt;
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)&lt;br/&gt;
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&lt;br/&gt;
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)&lt;br/&gt;
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)&lt;br/&gt;
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)&lt;br/&gt;
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)&lt;br/&gt;
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)&lt;br/&gt;
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)&lt;br/&gt;
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)&lt;br/&gt;
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:613)&lt;br/&gt;
</description>
                <environment>Mac OS X 10.5.2 Leopard, Alfresco 2.2.0 E, CMA 1.1.2</environment>
        <key id="10940">CMA-10</key>
            <summary>CMA NodeService deleteNode method deletes the node and throws an exception</summary>
                <type id="1" iconUrl="https://issues.rivetlogic.com/secure/viewavatar?size=xsmall&amp;avatarId=11083&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://issues.rivetlogic.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="6" iconUrl="https://issues.rivetlogic.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="aelnattar">Al El-Nattar</assignee>
                                    <reporter username="aelnattar">Al El-Nattar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 May 2008 13:28:46 -0400</created>
                <updated>Fri, 30 May 2008 07:28:47 -0400</updated>
                            <resolved>Fri, 30 May 2008 07:28:47 -0400</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="11167" author="aelnattar" created="Thu, 29 May 2008 04:34:54 -0400"  >I forgot to mention that the node being deleted is of type cm:folder and is an empty folder. Not sure if it matters but this is my use case.</comment>
                            <comment id="11169" author="hlim" created="Thu, 29 May 2008 14:21:01 -0400"  >Removing an empty folder and a folder with a sub folder did not generate any error.&lt;br/&gt;
it seems NodeService.getPath is being called on the same nodeRef after the node is removed, &lt;br/&gt;
and I was able to see the same exception when I called getPath on the deleted node.&lt;br/&gt;
could you provide more info on what other calls are executed after?&lt;br/&gt;
</comment>
                            <comment id="11170" author="aelnattar" created="Fri, 30 May 2008 07:28:47 -0400"  >You&amp;#39;re right. It was another call that was causing this exception.&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_11470" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11170" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00ehz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10070" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2350</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>