java.lang.NullPointerException

Atlassian JIRA | Miguel Alonso [Atlassian] | 5 months ago
  1. 0

    h3. Summary System Dashboard throws error when accessed anonymously if external gadgets exists h3. Environment Issue reproduced in versions 1000.133.0 & 1000.140.0 h3. Steps to Reproduce # Add an external gadget provided by an atlassian-connect add-on to the dashboard (not all external gadgets may be affected by this) # Access the dashboard anonymously h3. Expected Results External dashboard shows with all the gadgets. h3. Actual Results The below error is thrown: {noformat} 2016-07-07 18:38:31.447287500 2016-07-07 18:38:31,443 http-nio-2990-exec-9 ERROR anonymous 1118x4550x1 f9503s 193.240.188.96 /secure/Dashboard.jspa [o.a.c.c.C.[.[.[.[.secure.views.dashboard_jsp]] Servlet.service() for servlet jsp.secure.views.dashboard_jsp threw exception 2016-07-07 18:38:31.447289500 java.lang.NullPointerException at com.atlassian.plugin.connect.jira.web.context.JiraModuleContextFilter$8.hasPermission(JiraModuleContextFilter.java:184) [?:?] at com.atlassian.plugin.connect.jira.web.context.JiraModuleContextFilter$8.hasPermission(JiraModuleContextFilter.java:175) [?:?] at com.atlassian.plugin.connect.spi.web.context.AbstractModuleContextFilter.lambda$filter$0(AbstractModuleContextFilter.java:58) [?:?] at com.atlassian.plugin.connect.spi.web.context.AbstractModuleContextFilter$$Lambda$2064/22927089.apply(Unknown Source) [?:?] at com.google.common.collect.Iterators.all(Iterators.java:697) [closure-compiler-v20151216.jar:?] at com.google.common.collect.Iterables.all(Iterables.java:632) [closure-compiler-v20151216.jar:?] at com.atlassian.plugin.connect.spi.web.context.AbstractModuleContextFilter.filter(AbstractModuleContextFilter.java:58) [?:?] at com.atlassian.plugin.connect.jira.web.dashboard.ConnectDashboardItemModuleDescriptor$ConnectDashboardItemModule.renderContent(ConnectDashboardItemModuleDescriptor.java:119) [?:?] at com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl.renderString(RepresentationFactoryImpl.java:139) [?:?] at com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl.access$000(RepresentationFactoryImpl.java:36) [?:?] at com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl$2.createLocalGadgetRepresentation(RepresentationFactoryImpl.java:115) [?:?] at com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl$2.visit(RepresentationFactoryImpl.java:93) [?:?] at com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl$2.visit(RepresentationFactoryImpl.java:76) [?:?] at com.atlassian.gadgets.dashboard.internal.impl.DashboardItem.accept(DashboardItem.java:113) [?:?] at com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl.createGadgetRepresentation(RepresentationFactoryImpl.java:76) [?:?] {noformat} !Pasted_Image_07_07_16_15_28.png|thumbnail! h3.Workaround No workaround available for the time being

    Atlassian JIRA | 5 months ago | Miguel Alonso [Atlassian]
    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.plugin.connect.jira.web.context.JiraModuleContextFilter$8.hasPermission()
    2. com.atlassian.plugin
      AbstractModuleContextFilter.lambda$filter$0
      1. com.atlassian.plugin.connect.jira.web.context.JiraModuleContextFilter$8.hasPermission(JiraModuleContextFilter.java:184)[?:?]
      2. com.atlassian.plugin.connect.jira.web.context.JiraModuleContextFilter$8.hasPermission(JiraModuleContextFilter.java:175)[?:?]
      3. com.atlassian.plugin.connect.spi.web.context.AbstractModuleContextFilter.lambda$filter$0(AbstractModuleContextFilter.java:58)[?:?]
      3 frames