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.

  • [GUMP] Build Failure - jakarta-poi
    via by Nicola Ken Barozzi,
  • [GUMP] Build Failure - jakarta-poi
    via by Nicola Ken Barozzi,
  • How To Pool Web Services In Bea 8.1
    via by Unknown author,
  • java.lang.NoClassDefFoundError
    via by Unknown author,
  • When indexing is disabled (ie. the attachments path is wrong / not set), then one cannot delete JIRA projects. The error indicates that JIRA tries to delete the attachment directory, and dies if it isn't present: ERROR [jira.action.issue.IssueDelete] Error deleting issue 10000: java.lang.NullPointerException java.lang.NullPointerException at java.io.File.<init>(File.java:180) at com.atlassian.jira.util.AttachmentUtils.getAttachmentDirectory(AttachmentUtils.java:30) at com.atlassian.jira.issue.managers.DefaultAttachmentManager.deleteAttachmentDirectory(DefaultAttachmentManager.java:119) at com.atlassian.jira.action.issue.IssueDelete.doExecute(IssueDelete.java:108) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) 2005-07-07 15:19:39,264 ERROR [jira.action.project.ProjectDelete] Exception removing issues com.atlassian.core.AtlassianCoreException: Error in action: com.atlassian.jira.action.issue.IssueDelete@a765c, result: null at com.atlassian.core.action.ActionUtils.checkForErrors(ActionUtils.java:49) at com.atlassian.jira.action.project.ProjectDelete.doExecute(ProjectDelete.java:66) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at com.atlassian.jira.action.JiraNonWebActionSupport.execute(JiraNonWebActionSupport.java:27) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:34)
    via by Jeff Turner,
  • Object deserialization
    via by 843790,
    • java.lang.NullPointerException at java.io.File.<init>(File.java:180) at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:116) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:184) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:121) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:120) at org.apache.tools.ant.Main.runBuild(Main.java:597) at org.apache.tools.ant.Main.start(Main.java:197) at org.apache.tools.ant.Main.main(Main.java:235)

    Users with the same issue

    Axelo
    Axelo6 times, last one,
    Aravind
    Aravind2 times, last one,
    jf-ast
    jf-ast8 times, last one,
    Dunmer
    Dunmer1 times, last one,
    linxiaolong
    linxiaolong6 times, last one,
    33 more bugmates