cancel
Showing results for 
Search instead for 
Did you mean: 

Failure to restart alfresco after deleting discussion

milprog
Champ in-the-making
Champ in-the-making
Hi all


I successfully installed alfresco 1.3.0-linux-community.bin two days ago in linux-vserver running under fc4. Everything worked nice so far.

After creating a discussion in the "Guest" area and deleting it again, my alfresco died. The error message was in german, translated to english it said: "The home workspace with the ID 9786bd6a-57d2-11db-96d1-595beeffb3e8 could not be found. Probably it was deleted from the database. Please contact the administrator".

Now when I try to restart alfresco, I get the catalina.out shown below.

How can I recreate the /app:company_home path in a simple way without reinstalling everything?

Any help would much be appreciated.

Regards
–Marcel



08:04:41,140 ERROR [server.repo.ContentDiskDriver] Error during create context
org.alfresco.filesys.server.core.DeviceContextException: No root found for device:
   root path: /app:company_home
(…)
Caused by: org.alfresco.error.AlfrescoRuntimeException: Root path not created prior to application startup: app:company_home
   at org.alfresco.web.app.ContextListener.contextInitialized(ContextListener.java:109)
4 REPLIES 4

milprog
Champ in-the-making
Champ in-the-making
Meanwhile, I reinstalled everything from scratch.

These are the steps to reproduce the error:

1) create a workspace
2) create a content object within that workspace
3) create a discussion on that content object with one topic
4) delete the discussion

—> this deletes the workspace completely. Then you get the error message:

javax.faces.FacesException: Cannot get value for expression '#{!NavigationBean.currentNodeHasTemplate}'

caused by:
org.apache.jasper.JasperException: Cannot get value for expression '#{!NavigationBean.currentNodeHasTemplate}'

caused by:
javax.faces.el.EvaluationException: Cannot get value for expression '#{!NavigationBean.currentNodeHasTemplate}'

caused by:
javax.faces.el.EvaluationException: org.alfresco.web.bean.NavigationBean

caused by:
javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.NavigationBean, property: currentNodeHasTemplate

caused by:
java.lang.reflect.InvocationTargetException

caused by:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/158ea084-5d5a-11db-95a3-657cc488d092

Is this a well-known problem?

regards
–Marcel

gavinc
Champ in-the-making
Champ in-the-making
Hi,

I tried this with the latest code and i did not get the behaviour you describe.

When you say you "delete the discussion", what were your steps?

Did you select the "Delete Forum" action from the more actions menu once you are in the discussion forum?

Just to confirm what version are you using?

milprog
Champ in-the-making
Champ in-the-making
I'm using alfresco-1.3.0-linux-community.bin, but I upgraded my JDK to 1.5.0_09 because of problems with lucene.

Something with deleting forum discussions seems to be wrong. Here are the steps to (hopefully) reproduce the issue:

1) create a workspace as admin (e.g. test)
2) on the "more actions" icon, press "start discussion"
3) return to the workspace area, verify that the discussion icon appears
4) press this discussion icon
5) select "more actions" "delete the forum"
…now the system displays:
Delete Forum ''
To remove this forum and its topics, click Yes.
Are you sure you want to delete "null" and all its topics?

…when I press yes, I get

javax.faces.FacesException: Error calling action method of component with id delete-forum-space:_id17

caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{ForumsBean.deleteForumOK}

caused by:
java.lang.NullPointerException

Hope you are able to reproduce the error.

Regards
–Marcel

gavinc
Champ in-the-making
Champ in-the-making
Ahh, OK, the line "Are you sure you want to delete "null" and all its topics" has reminded me of an issue that was fixed in the 1.3.x timeframe.

http://issues.alfresco.com/browse/AWC-745

Basically, becuase of the error there was either the wrong item could be deleted or a NullPointerException could occur. You'll need to upgrade to resolve this issue.

Hope this helps.