On 07.07.2005, at 00:29, Ron Fulkerson wrote:

Hello All,

My compliments on Magnolia. I have just begun working with Magnolia 2.1 RC1, and am very impressed thus far.

Unfortunately, I have encountered a problem. I created a user which belongs to the superuser role, and then deleted the actual superuser user (my attempt at securing the site). Now, when I attempt to start magnolia I get the following exceptions --

ERROR info.magnolia.cms.security.SessionAccessControl SessionAccessControl.java
(getUserNode:289) 06.07.2005 15:10:40  superuser
javax.jcr.PathNotFoundException: superuser
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2228)
        at info.magnolia.cms.core.Content.<init>(Content.java:110)
at info.magnolia.cms.core.HierarchyManager.getContent(HierarchyManager.j
ava:258)


ERROR info.magnolia.cms.servlets.EntryServlet EntryServlet.java(doGet:150) 06.0
7.2005 15:10:43
java.lang.NullPointerException
at info.magnolia.cms.security.SessionAccessControl.updateACL(SessionAcce
ssControl.java:312)
at info.magnolia.cms.security.SessionAccessControl.createRepositorySessi
on(SessionAccessControl.java:255)
at info.magnolia.cms.security.SessionAccessControl.getRepositorySession(
SessionAccessControl.java:217)
at info.magnolia.cms.security.SessionAccessControl.getSession(SessionAcc
essControl.java:91)


Is there any hope of saving the work I have already done, or am I starting from scratch again?



There are always 2 options

a) repository is broken
b) repository is not broken

if a) then simply recreate the superuser and see what is happening
for b) check http://www.magnolia.info/wiki/Wiki.jsp?page=RepositoryNotLoaded

Once you are sure the repository is ok, see a)

Once everything is fine again, see if you can delete the superuser or not (check the logs when doing so) - if things break, report version info & reproducable bug description to jira - see http://www.magnolia.info/en/magnolia/developer/issues.html

Regards
Boris Kraft
---------------------------
Magnolia Content Management
http://www.magnolia.info/
---------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to