nulljava.lang.NullPointerException

Atlassian JIRA | pierre-yves voirol | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    1) Receiving following error when trying to upload files to jira.atlassian.com website 2) filenames where : firefox.gif, iexplorer.gif * === start of trace ======== System Error A system error has occurred. If this problem persists - please notify your JIRA administrator of this problem. If you are an administrator, please try submitting this problem via the Support Request Page. Else, please create a support issue on our support system at http://support.atlassian.com with the following information: a description of your problem cut & paste the error and system information found below attach the application server log file Cause: null java.lang.NullPointerException Stack Trace: [hide] nulljava.lang.NullPointerException at com.atlassian.jira.web.util.DefaultWebAttachmentManager.assertFileNameDoesNotContainInvalidChars(DefaultWebAttachmentManager.java:56) at com.atlassian.jira.web.util.DefaultWebAttachmentManager.validateAttachmentIfExists(DefaultWebAttachmentManager.java:46) at com.atlassian.jira.web.action.issue.AttachFile.doValidation(AttachFile.java:175) at webwork.action.ActionSupport.validate(ActionSupport.java:373) at webwork.action.ActionSupport.execute(ActionSupport.java:150) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._hb.doFilter(.:59) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at com.evermind._ha.doFilter(.:16) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.evermind._ha.doFilter(.:20) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at com.evermind._ha.doFilter(.:20) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) at com.evermind._ha.doFilter(.:20) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at com.evermind._ha.doFilter(.:20) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at com.evermind._ha.doFilter(.:20) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72) at com.evermind._ha.doFilter(.:20) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.evermind._cub._pod(.:383) at com.evermind._cub._bmc(.:177) at com.evermind._ax._ltc(.:666) at com.evermind._ax._uab(.:191) at com.evermind._bf.run(.:62) Referer URL: http://jira.atlassian.com/secure/AttachFile!default.jspa?id=25347&multiple=true Build Information: Uptime: 1 day, 4 hours, 48 minutes, 4 seconds Edition: Enterprise Version: 3.2-beta Build Number: 87 Server Information: Application Server: Orion/2.0.2 Servlet Version: 2.2 Memory Information: Total Memory: 642 MB Free Memory: 165 MB Used Memory: 477 MB System Information: System Date: Friday, 06 May 2005 System Time: 02:56:52 Java Version: 1.4.2_04 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_04-b05 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago User Locale: English (United States) System Encoding: UTF-8 Operating System: Linux 2.4.21-27.0.4.ELsmp OS Architecture: i386 Application Server Container: Orion/2.0.2 Database type: postgres Database JNDI address: jdbc/JiraDS Request Information: Request URL: http://atlassian01.contegix.com:10083/500page.jsp - Scheme: http - Server: atlassian01.contegix.com - Port: 10083 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: Request Attributes: - javax.servlet.error.message : nulljava.lang.NullPointerException at com.atlassian.jira.web.util.DefaultWebAttachmentManager.assertFileNameDoesNotContainInvalidChars(DefaultWebAttachmentManager.java:56) at com.atlassian.jira.web.util.DefaultWebAttachmentManager.validateAttachmentIfExists(DefaultWebAttachmentManager.java:46) at com.atlassian.jira.web.action.issue.AttachFile.doValidation(AttachFile.java:175) at webwork.action.ActionSupport.validate(ActionSupport.java:373) at webwork.action.ActionSupport.execute(ActionSupport.java:150) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._hb.doFilter(.:59) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at com.evermind._ha.doFilter(.:16) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.evermind._ha.doFilter(.:20) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at com.evermind._ha.doFilter(.:20) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) at com.evermind._ha.doFilter(.:20) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at com.evermind._ha.doFilter(.:20) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at com.evermind._ha.doFilter(.:20) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72) at com.evermind._ha.doFilter(.:20) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.evermind._cub._pod(.:383) at com.evermind._cub._bmc(.:177) at com.evermind._ax._ltc(.:666) at com.evermind._ax._uab(.:191) at com.evermind._bf.run(.:62) - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - com.atlassian.jira.web.filters.ActionCleanupDelayFilter : true - javax.servlet.error.request_uri : /secure/AttachFile.jspa - javax.servlet.error.status_code : 500 - jira.webwork.cleanup : false - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - com.atlassian.jira.web.filters.gzip.GzipFilter_already_filtered : true - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /secure/AttachFile.jspa - webwork.result : Value stack =========== =========== Request Logging: 0 log statements generated by this request:

    Atlassian JIRA | 1 decade ago | pierre-yves voirol
    nulljava.lang.NullPointerException

    Root Cause Analysis

    1. nulljava.lang.NullPointerException

      No message provided

      at com.atlassian.jira.web.util.DefaultWebAttachmentManager.assertFileNameDoesNotContainInvalidChars()
    2. com.atlassian.jira
      AttachFile.doValidation
      1. com.atlassian.jira.web.util.DefaultWebAttachmentManager.assertFileNameDoesNotContainInvalidChars(DefaultWebAttachmentManager.java:56)
      2. com.atlassian.jira.web.util.DefaultWebAttachmentManager.validateAttachmentIfExists(DefaultWebAttachmentManager.java:46)
      3. com.atlassian.jira.web.action.issue.AttachFile.doValidation(AttachFile.java:175)
      3 frames
    3. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.validate(ActionSupport.java:373)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:150)
      2 frames
    4. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46)
      1 frame
    5. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131)
      1 frame
    6. com.atlassian.jira
      JiraServletDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
      1 frame
    8. com.evermind
      _hb.doFilter
      1. com.evermind._hb.doFilter(.:59)
      1 frame
    9. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
      2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
      2 frames
    10. com.atlassian.jira
      SitemeshExcludePathFilter.doFilter
      1. com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38)
      1 frame
    11. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:16)
      1 frame
    12. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168)
      1 frame
    13. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:20)
      1 frame
    14. com.atlassian.seraph
      LoginFilter.doFilter
      1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)
      1 frame
    15. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:20)
      1 frame
    16. com.atlassian.util
      ProfilingFilter.doFilter
      1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
      1 frame
    17. com.atlassian.jira
      ProfilingAndErrorFilter.doFilter
      1. com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25)
      1 frame
    18. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:20)
      1 frame
    19. com.atlassian.jira
      ActionCleanupDelayFilter.doFilter
      1. com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37)
      1 frame
    20. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:20)
      1 frame
    21. com.atlassian.johnson
      JohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
      1 frame
    22. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:20)
      1 frame
    23. com.atlassian.jira
      GzipFilter.doFilter
      1. com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72)
      1 frame
    24. com.evermind
      _ha.doFilter
      1. com.evermind._ha.doFilter(.:20)
      1 frame
    25. com.atlassian.core
      AbstractEncodingFilter.doFilter
      1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)
      1 frame
    26. com.evermind
      _bf.run
      1. com.evermind._cub._pod(.:383)
      2. com.evermind._cub._bmc(.:177)
      3. com.evermind._ax._ltc(.:666)
      4. com.evermind._ax._uab(.:191)
      5. com.evermind._bf.run(.:62)
      5 frames