java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Studio lets a JIRA project be associated with a Subversion subdirectory on this screen: !project_svn.png! Unfortunately there is no validation on what is entered for the project name. If something invalid is entered, then later the SVN permission manager breaks if that project is configured with: {noformat} java.lang.NullPointerException at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject(SvnRepositoryPermissionsManagerImpl.java:103) at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getPermissions(SvnRepositoryPermissionsManagerImpl.java:55) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:69) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:67) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$ExecutionQueue.execute(DelegatingRepositoryPermissionsManagerImpl.java:192) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.getPermissions(DelegatingRepositoryPermissionsManagerImpl.java:66) at com.atlassian.jira.web.action.ProjectRepositoryPermissions.doExecute(ProjectRepositoryPermissions.java:63) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) {noformat} We should either validate the input better, or print a decent error message instead of a NPE.
    via by Jeff Turner,
  • Studio lets a JIRA project be associated with a Subversion subdirectory on this screen: !project_svn.png! Unfortunately there is no validation on what is entered for the project name. If something invalid is entered, then later the SVN permission manager breaks if that project is configured with: {noformat} java.lang.NullPointerException at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject(SvnRepositoryPermissionsManagerImpl.java:103) at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getPermissions(SvnRepositoryPermissionsManagerImpl.java:55) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:69) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:67) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$ExecutionQueue.execute(DelegatingRepositoryPermissionsManagerImpl.java:192) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.getPermissions(DelegatingRepositoryPermissionsManagerImpl.java:66) at com.atlassian.jira.web.action.ProjectRepositoryPermissions.doExecute(ProjectRepositoryPermissions.java:63) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) {noformat} We should either validate the input better, or print a decent error message instead of a NPE.
    via by Jeff Turner (Unused account),
  • Running /secure/admin/RepositoryProjectList!Synch.jspa, I get a stacktrace: java.lang.NullPointerException at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject(SvnRepositoryPermissionsManagerImpl.java:94) at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getPermissions(SvnRepositoryPermissionsManagerImpl.java:45) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.synchSingleRepository(DelegatingRepositoryPermissionsManagerImpl.java:138) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.access$200(DelegatingRepositoryPermissionsManagerImpl.java:29) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$3.call(DelegatingRepositoryPermissionsManagerImpl.java:103) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$3.call(DelegatingRepositoryPermissionsManagerImpl.java:99) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$ExecutionQueue.execute(DelegatingRepositoryPermissionsManagerImpl.java:203) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.synchroniseProjectPermissions(DelegatingRepositoryPermissionsManagerImpl.java:98) at com.atlassian.jira.web.action.RepositoryProjectList.doSynch(RepositoryProjectList.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... The code shouldn't just assume that every project has a SVN applink.
    via by Jeff Turner,
  • Running /secure/admin/RepositoryProjectList!Synch.jspa, I get a stacktrace: java.lang.NullPointerException at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject(SvnRepositoryPermissionsManagerImpl.java:94) at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getPermissions(SvnRepositoryPermissionsManagerImpl.java:45) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.synchSingleRepository(DelegatingRepositoryPermissionsManagerImpl.java:138) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.access$200(DelegatingRepositoryPermissionsManagerImpl.java:29) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$3.call(DelegatingRepositoryPermissionsManagerImpl.java:103) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$3.call(DelegatingRepositoryPermissionsManagerImpl.java:99) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$ExecutionQueue.execute(DelegatingRepositoryPermissionsManagerImpl.java:203) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.synchroniseProjectPermissions(DelegatingRepositoryPermissionsManagerImpl.java:98) at com.atlassian.jira.web.action.RepositoryProjectList.doSynch(RepositoryProjectList.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .... The code shouldn't just assume that every project has a SVN applink.
    via by Jeff Turner (Unused account),
    • java.lang.NullPointerException at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject(SvnRepositoryPermissionsManagerImpl.java:103) at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getPermissions(SvnRepositoryPermissionsManagerImpl.java:55) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:69) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:67) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$ExecutionQueue.execute(DelegatingRepositoryPermissionsManagerImpl.java:192) at com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.getPermissions(DelegatingRepositoryPermissionsManagerImpl.java:66) at com.atlassian.jira.web.action.ProjectRepositoryPermissions.doExecute(ProjectRepositoryPermissions.java:63) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
    No Bugmate found.