← Back to team overview

dhis2-devs team mailing list archive

[Bug 765759] [NEW] In the dashboard area for map views, removing one of the views gives an NPE

 

Public bug reported:

If one tries to remove on of the listed map views in the map view area
in the dashboard, it returns a null-ptr exception.

[-] Exception (java.lang.NullPointerException): null

    org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.getLevelOfOrganisationUnit(DefaultOrganisationUnitService.java:351)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)

** Affects: dhis2
     Importance: Undecided
         Status: New

** Summary changed:

- In the dashboard area for map views, removing on of the views gives an NPE
+ In the dashboard area for map views, removing one of the views gives an NPE

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/765759

Title:
  In the dashboard area for map views, removing one of the views gives
  an NPE

Status in DHIS 2 - District Health Information Software:
  New

Bug description:
  If one tries to remove on of the listed map views in the map view area
  in the dashboard, it returns a null-ptr exception.

  [-] Exception (java.lang.NullPointerException): null

      org.hisp.dhis.organisationunit.DefaultOrganisationUnitService.getLevelOfOrganisationUnit(DefaultOrganisationUnitService.java:351)
      sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:597)


Follow ups

References