java.lang.NullPointerException

Atlassian JIRA | Muhammad Fahd [Atlassian] | 2 years ago
  1. 0

    Deleting custom image for project avatar will cause NPE for Edit Project. {noformat} java.lang.NullPointerException at com.atlassian.jira.web.action.project.EditProject.doDefault(EditProject.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) {noformat} *Steps to reproduce*: # Create a project # Click on *Edit* for the project from projects list in administration - https://<domain>/secure/project/ViewProjects.jspa # Click *select image* - upload a custom image for avatar and update/save # Edit the project again by clicking *Edit* in project list and *select image* # Delete the custom image by hovering the cursor on it and click *X* at the top right of the image. Close the *select image* dialogue # Click *Update* # The project avatar now is changed to Atlassian's Charlie instead of default rocket or broken image in project's administration page. Editing the project will throw NPE error *Expected behavior* The project's avatar should be set to default one(rocket icon). *Workaround* The project's avatar ID need to be updated from database and restart JIRA. For Atlassian OnDemand users, please create a support ticket at https://support.atlassian.com under *OnDemand Support* project to get this fixed.

    Atlassian JIRA | 2 years ago | Muhammad Fahd [Atlassian]
    java.lang.NullPointerException
  2. 0

    Deleting custom image for project avatar will cause NPE for Edit Project. {noformat} java.lang.NullPointerException at com.atlassian.jira.web.action.project.EditProject.doDefault(EditProject.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) {noformat} *Steps to reproduce*: # Create a project # Click on *Edit* for the project from projects list in administration - https://<domain>/secure/project/ViewProjects.jspa # Click *select image* - upload a custom image for avatar and update/save # Edit the project again by clicking *Edit* in project list and *select image* # Delete the custom image by hovering the cursor on it and click *X* at the top right of the image. Close the *select image* dialogue # Click *Update* # The project avatar now is changed to Atlassian's Charlie instead of default rocket or broken image in project's administration page. Editing the project will throw NPE error *Expected behavior* The project's avatar should be set to default one(rocket icon). *Workaround* The project's avatar ID need to be updated from database and restart JIRA. For Atlassian OnDemand users, please create a support ticket at https://support.atlassian.com under *OnDemand Support* project to get this fixed.

    Atlassian JIRA | 2 years ago | Muhammad Fahd [Atlassian]
    java.lang.NullPointerException
  3. 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
  4. 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.action.project.EditProject.doDefault()
    2. com.atlassian.jira
      EditProject.doDefault
      1. com.atlassian.jira.web.action.project.EditProject.doDefault(EditProject.java:67)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames