Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-3849

Deleting "default" Permission Scheme Breaks New Project Creation

    XMLWordPrintable

Details

    Description

      If you remove the "default" Permission Scheme from a stock Crucible installation, you're unable to create any new projects.

      Steps to reproduce:

      1. Install a fresh copy of Crucible.
      2. Delete the "default" Permission Scheme.
      3. Try to create a new Project.

      Stack trace:

      2010-07-30 17:03:13,645 ERROR [btpool0-2] fisheye.console com.cenqua.crucible.model.managers.PermissionManager-getDefaultPermissionScheme - No default permission scheme exists
      2010-07-30 17:03:13,649 ERROR [btpool0-2] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /crucible/admin/newProject.do
      Unable to instantiate Action, com.cenqua.crucible.actions.admin.project.NewProjectAction, defined for
      'newProject' in namespace '/admin'Error creating bean with name 'com.cenqua.crucible.actions.admin.project.NewProjectAction': Instantiation of
      bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cenqua.crucible.actions.admin.project.NewProjectAction]:
      Constructor threw exception; nested exception is java.lang.NullPointerException
      	at com.opensymphony.xwork.DefaultActionInvocation.createAction(DefaultActionInvocation.java:243)
      	at com.opensymphony.xwork.DefaultActionInvocation.init(DefaultActionInvocation.java:322)
      

      Attached is the full stack trace.

      Attachments

        1. npe.txt
          10 kB

        Activity

          People

            Unassigned Unassigned
            dhansen@atlassian.com Dylan Hansen [Atlassian]
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: