Find Questions…

Close ×
First time here? Check out the FAQ!

Exception when deleting a project after altering project roles.

Martyn Swanick asked this question · 11 karma ·

I have been trying to setup my default project users/roles and mapping them to LDAP groups and making sure newly created projects have the correct users in the correct roles etc..

Since making these changes (which look correct to me) newly created projects seem to have the right users/roles permissions but they throw an exception when being deleted. These projects seem to only partially delete as they are still visible in the project list but throw different errors when I attempt to view them. Any ideas?

java.lang.NullPointerException
	at com.atlassian.jira.security.roles.CachingProjectRoleAndActorStore$ProjectRoleActorsCache.removeByProject(CachingProjectRoleAndActorStore.java:213)
	at com.atlassian.jira.security.roles.CachingProjectRoleAndActorStore.removeAllRoleActorsByProject(CachingProjectRoleAndActorStore.java:137)
	at com.atlassian.jira.security.roles.DefaultProjectRoleManager.removeAllRoleActorsByProject(DefaultProjectRoleManager.java:200)
	at com.atlassian.jira.project.DefaultProjectManager.removeProject(DefaultProjectManager.java:238)
	at com.atlassian.jira.project.CachingProjectManager.removeProject(CachingProjectManager.java:290)
	at com.atlassian.jira.bc.project.DefaultProjectService.deleteProject(DefaultProjectService.java:650)
	at com.atlassian.jira.bc.project.DefaultProjectService.deleteProject(DefaultProjectService.java:577)
	at com.atlassian.jira.web.action.project.DeleteProject.doExecute(DeleteProject.java:64)
	at webwork.action.ActionSupport.execute(ActionSupport.java:165)
	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:76)
591 views

One Answer:

Martyn Swanick · 11 karma ·

Must have been some sort of caching issue as once I restarted the windows service I was able to delete the projects without an exception.

Looking for something else?

Find Questions…

or Browse other questions tagged:

or Ask a Question