java.lang.RuntimeException: java.lang.NullPointerException

Atlassian JIRA | Vicknesh Shanmugam [Atlassian] | 4 months ago
  1. 0

    h3. Summary Top navigation bar in JIRA is disappeared when upgraded from JIRA Following stack trace can be seen from the log: {code:java} 2016-03-02 09:32:08,412 http-bio-8641-exec-10 DEBUG admin 572x2667x1 1eld3da 172.20.44.74 /secure/admin/ViewLogging.jspa [com.atlassian.ozymandias.SafePluginPointAccess] Unable to run plugin code because of 'java.lang.RuntimeException - java.lang.NullPointerException'. java.lang.RuntimeException: java.lang.NullPointerException at com.atlassian.jira.plugin.navigation.HeaderFooterRendering$8.visit(HeaderFooterRendering.java:357) at com.atlassian.jira.plugin.navigation.HeaderFooterRendering$8.visit(HeaderFooterRendering.java:342) at com.atlassian.ozymandias.SafePluginPointAccess.invokeModule(SafePluginPointAccess.java:452) at com.atlassian.ozymandias.SafePluginPointAccess.descriptors(SafePluginPointAccess.java:150) at com.atlassian.jira.plugin.navigation.HeaderFooterRendering.includeTopNavigation(HeaderFooterRendering.java:341) at com.atlassian.jira.plugin.navigation.HeaderFooterRendering$1.run(HeaderFooterRendering.java:117) at com.atlassian.ozymandias.SafePluginPointAccess.runnable(SafePluginPointAccess.java:201) at com.atlassian.jira.plugin.navigation.HeaderFooterRendering.includeTopNavigation(HeaderFooterRendering.java:112) Caused by: java.lang.NullPointerException at com.atlassian.jira.avatar.plugin.JiraUserAvatarProvider.isUsingExternalAvatar(JiraUserAvatarProvider.java:208) at com.atlassian.jira.avatar.plugin.JiraUserAvatarProvider$JiraUserPluginAvatar.<init>(JiraUserAvatarProvider.java:442) at com.atlassian.jira.avatar.plugin.JiraUserAvatarProvider.getAvatar(JiraUserAvatarProvider.java:176) at com.atlassian.jira.avatar.pluggable.AvatarProviderAdapter.getAvatar(AvatarProviderAdapter.java:69) at com.atlassian.jira.avatar.AvatarServiceImpl.getAvatarURLImpl(AvatarServiceImpl.java:204) at com.atlassian.jira.avatar.AvatarServiceImpl.getAvatarURL(AvatarServiceImpl.java:217) {code} This problem happens because there's NULL error when retrieving the default avatar ID. h3. Environment So far it's only replicable with JIRA 6.4 h3. Expected Results After upgrade the top bar is displayed correctly. h3. Actual Results Top bar is hidden. h3.Workaround (i) [Backup|https://confluence.atlassian.com/adminjiraserver071/backing-up-data-802592964.html] your JIRA. 1. Stop your JIRA. 2. Run the following query to retrieve id of default avatar: {code:java} select id from propertyentry where property_key like '%avatar.user.default%'; {code} 3. Update the propertrystring entry using the following query: {code:java} insert into propertystring values (result-of-query-above, 10122); {code} 4. Restart your JIRA.

    Atlassian JIRA | 4 months ago | Vicknesh Shanmugam [Atlassian]
    java.lang.RuntimeException: 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.avatar.plugin.JiraUserAvatarProvider.isUsingExternalAvatar()
    2. com.atlassian.jira
      AvatarServiceImpl.getAvatarURL
      1. com.atlassian.jira.avatar.plugin.JiraUserAvatarProvider.isUsingExternalAvatar(JiraUserAvatarProvider.java:208)
      2. com.atlassian.jira.avatar.plugin.JiraUserAvatarProvider$JiraUserPluginAvatar.<init>(JiraUserAvatarProvider.java:442)
      3. com.atlassian.jira.avatar.plugin.JiraUserAvatarProvider.getAvatar(JiraUserAvatarProvider.java:176)
      4. com.atlassian.jira.avatar.pluggable.AvatarProviderAdapter.getAvatar(AvatarProviderAdapter.java:69)
      5. com.atlassian.jira.avatar.AvatarServiceImpl.getAvatarURLImpl(AvatarServiceImpl.java:204)
      6. com.atlassian.jira.avatar.AvatarServiceImpl.getAvatarURL(AvatarServiceImpl.java:217)
      6 frames