java.lang.NullPointerException

Atlassian JIRA | Jeff Turner (Unused account) | 8 years ago
  1. 0

    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.

    Atlassian JIRA | 8 years ago | Jeff Turner
    java.lang.NullPointerException
  2. 0

    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.

    Atlassian JIRA | 8 years ago | Jeff Turner (Unused account)
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject()
    2. com.atlassian.studio
      DelegatingRepositoryPermissionsManagerImpl.getPermissions
      1. com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getSvnPathForJiraProject(SvnRepositoryPermissionsManagerImpl.java:103)
      2. com.atlassian.studio.repository.svn.SvnRepositoryPermissionsManagerImpl.getPermissions(SvnRepositoryPermissionsManagerImpl.java:55)
      3. com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:69)
      4. com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$1.call(DelegatingRepositoryPermissionsManagerImpl.java:67)
      5. com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl$ExecutionQueue.execute(DelegatingRepositoryPermissionsManagerImpl.java:192)
      6. com.atlassian.studio.repository.DelegatingRepositoryPermissionsManagerImpl.getPermissions(DelegatingRepositoryPermissionsManagerImpl.java:66)
      6 frames
    3. com.atlassian.jira
      ProjectRepositoryPermissions.doExecute
      1. com.atlassian.jira.web.action.ProjectRepositoryPermissions.doExecute(ProjectRepositoryPermissions.java:63)
      1 frame
    4. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:153)
      1 frame
    5. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      1 frame
    6. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      1 frame