dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #07357
[Bug 626630] Re: Exception in Organistation unit chart report
An update.
The problem is related to the aggregated periods which I guess are not
persisted in the system.
The first time a chart with an aggregated period is generated everything
is fine. Any update to this chart (keeping the same aggregated period)
end up with this exception.
Changing the period to a monthly (existing period) works fine, also when
editing charts, so it looks like there is something wrong with the way
the system looks up the aggregated period when it is "reused", as in the
chart name or indicators are edited.
--
Exception in Organistation unit chart report
https://bugs.launchpad.net/bugs/626630
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
Status in DHIS 2 - District Health Information Software: New
Bug description:
When I create a organisation unit chart report, it generate fine. But when I edit it by change other indicator or uncheck the one of the check box,.. then I can't save that report anymore because it always generate Exception like this
An exception occurred
Sorry! The system failed to execute the operation. Usually, no data is lost and you can continue working by going back to the previous page. If you wish to report the incident, please save this page by choosing "File -> Save (page as)" in your browser and include the saved page in the report. The problem details are listed below.
[-] Exception (java.lang.ArrayIndexOutOfBoundsException): 1
* org.hisp.dhis.period.Period.(Period.java:97)
* org.hisp.dhis.period.DefaultPeriodService.getPeriodByExternalId(DefaultPeriodService.java:107)
* org.hisp.dhis.period.DefaultPeriodService.getPeriodsByExternalIds(DefaultPeriodService.java:116)
* sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
....
References