java.lang.NullPointerException

Atlassian JIRA | Anna Buttfield [Atlassian] | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NullPointerException at com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewKey.create(ReviewUtil.java:332) at com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewStringKey.create(ReviewUtil.java:352) at com.cenqua.crucible.tags.ReviewUtil.principalCanDoReviewAction(ReviewUtil.java:162) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.hasViewPermission(LuceneReviewStateChangeActivityItemProvider.java:138) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.searchIndex(LuceneReviewStateChangeActivityItemProvider.java:126) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.getMoreActivityItems(LuceneReviewStateChangeActivityItemProvider.java:110) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.getMoreActivityItems(LuceneReviewStateChangeActivityItemProvider.java:37) at com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItemsAndCoalesce(CoalescingActivityItemProviderBase.java:27) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.findActivityItems(LuceneReviewStateChangeActivityItemProvider.java:54) at com.atlassian.fisheye.activity.DefaultActivityItemManager.findActivityItems(DefaultActivityItemManager.java:49) at com.atlassian.fisheye.activity.ActivityStreamHandler.handleActivityStream(ActivityStreamHandler.java:151) at com.cenqua.fisheye.web.ChangelogServlet.doViewDir(ChangelogServlet.java:278) We should purge deleted reviews from the index, but to avoid the NPE I added a defensive check (https://extranet.atlassian.com/crucible/changelog/FE/?cs=55336)

    Atlassian JIRA | 7 years ago | Anna Buttfield [Atlassian]
    java.lang.NullPointerException
  2. 0

    java.lang.NullPointerException at com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewKey.create(ReviewUtil.java:332) at com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewStringKey.create(ReviewUtil.java:352) at com.cenqua.crucible.tags.ReviewUtil.principalCanDoReviewAction(ReviewUtil.java:162) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.hasViewPermission(LuceneReviewStateChangeActivityItemProvider.java:138) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.searchIndex(LuceneReviewStateChangeActivityItemProvider.java:126) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.getMoreActivityItems(LuceneReviewStateChangeActivityItemProvider.java:110) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.getMoreActivityItems(LuceneReviewStateChangeActivityItemProvider.java:37) at com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItemsAndCoalesce(CoalescingActivityItemProviderBase.java:27) at com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.findActivityItems(LuceneReviewStateChangeActivityItemProvider.java:54) at com.atlassian.fisheye.activity.DefaultActivityItemManager.findActivityItems(DefaultActivityItemManager.java:49) at com.atlassian.fisheye.activity.ActivityStreamHandler.handleActivityStream(ActivityStreamHandler.java:151) at com.cenqua.fisheye.web.ChangelogServlet.doViewDir(ChangelogServlet.java:278) We should purge deleted reviews from the index, but to avoid the NPE I added a defensive check (https://extranet.atlassian.com/crucible/changelog/FE/?cs=55336)

    Atlassian JIRA | 7 years ago | Anna Buttfield [Atlassian]
    java.lang.NullPointerException
  3. 0

    {noformat} 2009-07-14 11:40:03,695 ERROR [btpool0-48] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /fisheye/changelog/REPONAME/ java.lang.NullPointerException at com.cenqua.fisheye.web.ChangelogServlet.doViewDir(ChangelogServlet.java:284) at com.cenqua.fisheye.web.ChangelogServlet.handleRequest(ChangelogServlet.java:90) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:161) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:225) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:118) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:224) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at com.cenqua.fisheye.web.filters.CustomIncludableGzipFilter.doFilter(CustomIncludableGzipFilter.java:21) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) {noformat}

    Atlassian JIRA | 8 years ago | Partha Kamal [Atlassian]
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {noformat} 2009-07-14 11:40:03,695 ERROR [btpool0-48] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /fisheye/changelog/REPONAME/ java.lang.NullPointerException at com.cenqua.fisheye.web.ChangelogServlet.doViewDir(ChangelogServlet.java:284) at com.cenqua.fisheye.web.ChangelogServlet.handleRequest(ChangelogServlet.java:90) at com.cenqua.fisheye.web.BaseAction.processRequest(BaseAction.java:161) at com.cenqua.fisheye.web.ActionDispatcherServlet.doIt(ActionDispatcherServlet.java:225) at com.cenqua.fisheye.web.ActionDispatcherServlet.doGet(ActionDispatcherServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1208) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:118) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:224) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at com.cenqua.fisheye.web.filters.CustomIncludableGzipFilter.doFilter(CustomIncludableGzipFilter.java:21) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1200) {noformat}

    Atlassian JIRA | 8 years ago | Partha Kamal [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewKey.create()
    2. com.cenqua.crucible
      ReviewUtil.principalCanDoReviewAction
      1. com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewKey.create(ReviewUtil.java:332)
      2. com.cenqua.crucible.tags.ReviewUtil$PrincipalReviewStringKey.create(ReviewUtil.java:352)
      3. com.cenqua.crucible.tags.ReviewUtil.principalCanDoReviewAction(ReviewUtil.java:162)
      3 frames
    3. com.atlassian.crucible
      LuceneReviewStateChangeActivityItemProvider.findActivityItems
      1. com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.hasViewPermission(LuceneReviewStateChangeActivityItemProvider.java:138)
      2. com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.searchIndex(LuceneReviewStateChangeActivityItemProvider.java:126)
      3. com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.getMoreActivityItems(LuceneReviewStateChangeActivityItemProvider.java:110)
      4. com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.getMoreActivityItems(LuceneReviewStateChangeActivityItemProvider.java:37)
      5. com.atlassian.crucible.activity.review.CoalescingActivityItemProviderBase.findActivityItemsAndCoalesce(CoalescingActivityItemProviderBase.java:27)
      6. com.atlassian.crucible.activity.review.LuceneReviewStateChangeActivityItemProvider.findActivityItems(LuceneReviewStateChangeActivityItemProvider.java:54)
      6 frames
    4. com.atlassian.fisheye
      ActivityStreamHandler.handleActivityStream
      1. com.atlassian.fisheye.activity.DefaultActivityItemManager.findActivityItems(DefaultActivityItemManager.java:49)
      2. com.atlassian.fisheye.activity.ActivityStreamHandler.handleActivityStream(ActivityStreamHandler.java:151)
      2 frames
    5. com.cenqua.fisheye
      ChangelogServlet.doViewDir
      1. com.cenqua.fisheye.web.ChangelogServlet.doViewDir(ChangelogServlet.java:278)
      1 frame