java.lang.NullPointerException

Atlassian JIRA | Jeff Turner | 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

    Due to an unsynchronized method call in Ofbiz, it is possible for the JIRA issue cache to eventually become corrupt, resulting in users seeing errors like the following when viewing issues: java.lang.NullPointerException at java.util.LinkedList.addBefore(Unknown Source) at java.util.LinkedList.addFirst(Unknown Source) at org.ofbiz.core.util.UtilCache.put(UtilCache.java:196) at com.atlassian.jira.issue.cache.IssueCache.addIssueCacheValueToCache(IssueCache.java:179) at com.atlassian.jira.issue.cache.IssueCache.getIssue(IssueCache.java:134) at com.atlassian.jira.issue.cache.IssueCache.getIssue(IssueCache.java:112) at com.atlassian.jira.issue.cache.DefaultCacheManager.getValueByAttribute(DefaultCacheManager.java:66) at com.atlassian.jira.issue.managers.CachingIssueManager.getIssue(CachingIssueManager.java:42) at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:71) at com.atlassian.jira.config.component.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:27) at $Proxy2.getIssue(Unknown Source) at com.atlassian.jira.servlet.QuickLinkServlet.service(QuickLinkServlet.java:46) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  2. 0

    Due to an unsynchronized method call in Ofbiz, it is possible for the JIRA issue cache to eventually become corrupt, resulting in users seeing errors like the following when viewing issues: java.lang.NullPointerException at java.util.LinkedList.addBefore(Unknown Source) at java.util.LinkedList.addFirst(Unknown Source) at org.ofbiz.core.util.UtilCache.put(UtilCache.java:196) at com.atlassian.jira.issue.cache.IssueCache.addIssueCacheValueToCache(IssueCache.java:179) at com.atlassian.jira.issue.cache.IssueCache.getIssue(IssueCache.java:134) at com.atlassian.jira.issue.cache.IssueCache.getIssue(IssueCache.java:112) at com.atlassian.jira.issue.cache.DefaultCacheManager.getValueByAttribute(DefaultCacheManager.java:66) at com.atlassian.jira.issue.managers.CachingIssueManager.getIssue(CachingIssueManager.java:42) at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:71) at com.atlassian.jira.config.component.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:27) at $Proxy2.getIssue(Unknown Source) at com.atlassian.jira.servlet.QuickLinkServlet.service(QuickLinkServlet.java:46) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Help me with "NullPointerException"

    Oracle Community | 2 decades ago | 843835
    java.lang.NullPointerException
  5. 0

    NullPointerException in InternalNioOutputBuffer

    Apache Bugzilla | 1 year ago | anmalyshev
    java.lang.NullPointerException

    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 java.util.LinkedList.addBefore()
    2. Java RT
      LinkedList.addFirst
      1. java.util.LinkedList.addBefore(Unknown Source)
      2. java.util.LinkedList.addFirst(Unknown Source)
      2 frames
    3. org.ofbiz.core
      UtilCache.put
      1. org.ofbiz.core.util.UtilCache.put(UtilCache.java:196)
      1 frame
    4. com.atlassian.jira
      CachingIssueManager.getIssue
      1. com.atlassian.jira.issue.cache.IssueCache.addIssueCacheValueToCache(IssueCache.java:179)
      2. com.atlassian.jira.issue.cache.IssueCache.getIssue(IssueCache.java:134)
      3. com.atlassian.jira.issue.cache.IssueCache.getIssue(IssueCache.java:112)
      4. com.atlassian.jira.issue.cache.DefaultCacheManager.getValueByAttribute(DefaultCacheManager.java:66)
      5. com.atlassian.jira.issue.managers.CachingIssueManager.getIssue(CachingIssueManager.java:42)
      5 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    6. com.atlassian.util
      ObjectProfiler.profiledInvoke
      1. com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:71)
      1 frame
    7. com.atlassian.jira
      DelegatingInvocationHandler.invoke
      1. com.atlassian.jira.config.component.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:27)
      1 frame
    8. Unknown
      $Proxy2.getIssue
      1. $Proxy2.getIssue(Unknown Source)
      1 frame
    9. com.atlassian.jira
      QuickLinkServlet.service
      1. com.atlassian.jira.servlet.QuickLinkServlet.service(QuickLinkServlet.java:46)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    12. 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
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    14. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      1 frame