java.lang.NullPointerException

Atlassian JIRA | Brian Nguyen (HipChat) | 1 decade ago
  1. 0

    JIRA does not skip empty attachment entries and causes this error. [webwork.dispatcher.ServletDispatcher] Could not execute action java.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:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) 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.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534)

    Atlassian JIRA | 1 decade ago | Brian Nguyen (HipChat)
    java.lang.NullPointerException
  2. 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
  3. 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.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:853)
      1 frame
    8. com.caucho.server
      FilterChainServlet.doFilter
      1. com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
      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.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    12. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168)
      1 frame
    13. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    14. com.atlassian.seraph
      LoginFilter.doFilter
      1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)
      1 frame
    15. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      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.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    19. com.atlassian.jira
      ActionCleanupDelayFilter.doFilter
      1. com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37)
      1 frame
    20. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    21. com.atlassian.johnson
      JohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
      1 frame
    22. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    23. com.atlassian.jira
      GzipFilter.doFilter
      1. com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72)
      1 frame
    24. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    25. com.atlassian.core
      AbstractEncodingFilter.doFilter
      1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)
      1 frame
    26. com.caucho.server
      TcpConnection.run
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      2. com.caucho.server.http.Invocation.service(Invocation.java:315)
      3. com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
      4. com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
      5. com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
      6. com.caucho.server.TcpConnection.run(TcpConnection.java:139)
      6 frames
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame