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.

  • Deploying a WebApp using JMX
    via by 3004,
  • Deploying a WebApp using JMX
    via by 3004,
  • How To Pool Web Services In Bea 8.1
    via by Unknown author,
  • java.lang.NoClassDefFoundError
    via by Unknown author,
  • [GUMP] Build Failure - jakarta-poi
    via by Nicola Ken Barozzi,
  • 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 weblogic.management.mbeans.custom.Application.findInputStream(Application.java:1708) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:587) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:573) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:319) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178) at $Proxy9.findInputStream(Unknown Source) at weblogic.management.mbeans.custom.Application.findInputStream(Application.java:1701) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:587) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:573) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:319) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178) at $Proxy42.findInputStream(Unknown Source) at weblogic.management.configuration.ApplicationMBean_CachingStub.findInputStream(ApplicationMBean_CachingStub.java:694) at weblogic.j2ee.Application.retrieveEar(Application.java:425) at weblogic.j2ee.Application.<init>(Application.java:119) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:110) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:587) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:573) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:319) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178) at $Proxy40.addWebDeployment(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1066) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:587) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:573) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:319) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:443) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:321) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:944) at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:931) at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:916) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:591) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:573) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:319) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

    Users with the same issue

    Axelo
    6 times, last one,
    Aravind
    2 times, last one,
    jf-ast
    8 times, last one,
    Dunmer
    1 times, last one,
    linxiaolong
    6 times, last one,
    33 more bugmates