AnsweredAssumed Answered

Deleting Node

Question asked by neil.benn on Dec 27, 2011
Latest reply on Mar 5, 2012 by jctng
Hello,

        I recently upgraded from Alfresco 3.4.b to Alfresco 4.0.d and now have the following error:

2011-12-27 14:11:45,552  ERROR [extensions.webscripts.AbstractRuntime] [http-844
3-3] Exception from executeScript - redirecting to status template error: 112701
80 Wrapped Exception (with status template): Node without parents does not have
root aspect: workspace://SpacesStore/017db069-9ff6-445f-bd20-0b30da110e74
org.springframework.extensions.webscripts.WebScriptException: 11270180 Wrapped
Exception (with status template): Node without parents does not have root aspect
: workspace://SpacesStore/017db069-9ff6-445f-bd20-0b30da110e74
        at org.springframework.extensions.webscripts.AbstractWebScript.createSta
tusException(AbstractWebScript.java:905)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(Repositor
yContainer.java:393)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecut
e(RepositoryContainer.java:462)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecut
eAs(RepositoryContainer.java:500)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(Repos
itoryContainer.java:275)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:372)
        at org.springframework.extensions.webscripts.AbstractRuntime.executeScri
pt(AbstractRuntime.java:209)
        at org.springframework.extensions.webscripts.servlet.WebScriptServlet.se
rvice(WebScriptServlet.java:118)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(Global
LocalizationFilter.java:58)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:558)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:852)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Node without parents does not have root a
spect: workspace://SpacesStore/017db069-9ff6-445f-bd20-0b30da110e74
        at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(Abstra
ctNodeDAOImpl.java:3453)
        at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getPaths(AbstractNo
deDAOImpl.java:3317)
        at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOL
RTrackingComponentImpl.java:562)
        at sun.reflect.GeneratedMethodAccessor417.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invok
e(SubsystemProxyFactory.java:65)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:202)
        at $Proxy141.getNodesMetadata(Unknown Source)
        at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(Nodes
MetaDataGet.java:183)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
eImpl(DeclarativeWebScript.java:235)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execut
e(DeclarativeWebScript.java:64)
        … 25 more


  I've tried entering the URL to look for the node by the id but nothing comes up.  I've checked all my files and they all seem good.  Is there a way to simply delete this node form the system and have done with it?

Cheers,

Neil

Outcomes