cancel
Showing results for 
Search instead for 
Did you mean: 

Can't delete Space: Unable to delete Space due to system err

cpotter
Champ on-the-rise
Champ on-the-rise
Hello,

I have installed Alfresco 2.0 on Solaris 10 (x86) with Apache Tomcat/5.5.20, Mysql 4.0.24 (all are bundled with Solaris). I start Alfresco as 'root'

Everything works fine, but not when I try to delete a space (as admin or users) I get the following error on the screen "Unable to delete Space due to system error:". Nothing is in the alfresco.log

Any idea?
Christopher
5 REPLIES 5

isiah
Champ in-the-making
Champ in-the-making
I've never experienced this issue of not being able to delete a space.

We've installed Alfresco many times in the same environment.

Anyone have any ideas?

RedHat 4 Enterprise & MySQL

Thanks!!!!
Dan

yannicks
Champ in-the-making
Champ in-the-making
same problem, no solution!

Any help will be welcome!

ThanksSmiley Happy

tpasturel
Champ in-the-making
Champ in-the-making
Hi,
we have the same problem with some documents and spaces with Alfresco Enterprise 2.0.1 / Oracle9i.

Basically the log4j properties of the web client classes are set to info mode, and the display of the error is only done for debug mode for common errors like the one we have.

InvalidNodeRefException
AccessDeniedException
NoTransformerException

So in your log4j.properties set the following line :
log4j.logger.org.alfresco.web.ui.common.Utils=debug

In our case we can see on a try of deletion an InvalidNodeRefException !  But the nodeRef still exists.

We do not have any space rules on node deletion event that would interfere.

23:19:48,048 ERROR [org.alfresco.web.ui.common.Utils] Impossible de supprimer le fichier suite à une erreur système :
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/730fc426-f40c-11dc-8ddb-09c1c6238fbb
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodeNotNull(DbNodeServiceImpl.java:129)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.getPaths(DbNodeServiceImpl.java:1474)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.moveNode(DbNodeServiceImpl.java:453)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.archiveNode(DbNodeServiceImpl.java:1552)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.deleteNode(DbNodeServiceImpl.java:729)
   at sun.reflect.GeneratedMethodAccessor978.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:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.alfresco.repo.transaction.TransactionResourceInterceptor.invoke(TransactionResourceInterceptor.java:138)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy2.deleteNode(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor978.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy3.deleteNode(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor978.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:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:229)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy2.deleteNode(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor978.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:335)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
   at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:116)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.audit.AuditComponentImpl.auditImpl(AuditComponentImpl.java:228)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:166)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   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 $Proxy12.deleteNode(Unknown Source)
   at org.alfresco.web.bean.content.DeleteContentDialog.finishImpl(DeleteContentDialog.java:62)
   at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.java:115)
   at org.alfresco.web.bean.dialog.DialogManager.finish(DialogManager.java:335)
        …etc…

After analyzing the context of the concerned nodes (properties, associations, space rules…) we do not see any reasons of deletion failure.

The strange fact is that between DeleteContentDialog.finishImpl and DbNodeServiceImpl.deleteNode nothing is supposed to cause the InvalidNodeRefException…

     Thomas

g_rathod
Star Contributor
Star Contributor
Hi,

Your problem seems strange.
Can you tell me which space you are going to delete ?

Since there are restrictions on User Home spaces due to their criteria defined inbuilt.
Even I got errors when i tried to delete space inside that.

So may I know you which Space you are trying to delete ?

Regards,




CIGNEX TECHNOLOGIES

mir4ge
Champ in-the-making
Champ in-the-making
Same problem on Alfresco 2.9.0.B on MAC OS X …

Can't delete spaces , reporting the following message in the browser:


HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.faces.FacesException: Unable to compile class for JSP
   org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425)
   org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:211)
   org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
   org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
   javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
   org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:81)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.


Any Hints???