← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] My DHIS2 Reports app not loading

 

Dear Jason,

I have cross checked and the user is the super user and is also assigned to
the parent organisation unit. However, the errors still persist as below
when I try to load events reports.

XML Parsing Error: no root element found
Location:
http://localhost:8080/misca/api/organisationUnits.json?userDataViewFallback=true&paging=false&fields=id,displayName|rename(name)&_dc=1487069562287
Line Number 1, Column 1:  organisationUnits.json:1:1
XML Parsing Error: no root element found
Location:
http://localhost:8080/misca/api/organisationUnitLevels.json?fields=id,displayName|rename(name),level&paging=false&_dc=1487069562287
Line Number 1, Column 1:  organisationUnitLevels.json:1:1
XML Parsing Error: no root element found
Location:
http://localhost:8080/misca/api/legendSets.json?fields=id,displayName|rename(name),legends[id,displayName|rename(name),startValue,endValue,color]&paging=false&_dc=1487069562288
Line Number 1, Column 1:  legendSets.json:1:1
XML Parsing Error: no root element found
Location:
http://localhost:8080/misca/api/dimensions.json?fields=id,displayName|rename(name)&filter=dimensionType:eq:ORGANISATION_UNIT_GROUP_SET&paging=false&_dc=1487069562289
Line Number 1, Column 1:  dimensions.json:1:1
XML Parsing Error: no root element found
Location:
http://localhost:8080/misca/api/organisationUnits.json?userOnly=true&fields=id,displayName|rename(name),children[id,displayName|rename(name)]&paging=false&_dc=1487069562288
Line Number 1, Column 1:

On Tue, Feb 14, 2017 at 11:50 AM, Jason Pickering <
jason.p.pickering@xxxxxxxxx> wrote:

> From the look of this error, it seems that you have not assigned this user
> to any organisation units?
>
> Regards,
> Jason
>
>
>
> XML Parsing Error: no root element found
> Location: http://localhost:8080/misca/api/legendSets.
> json?fields=id,displayName|rename(name),legends[id,
> displayName|rename(name),startValue,endValue,color]&
> paging=false&_dc=1486985622680
> Line Number 1, Column 1:  legendSets.json:1:1
> XML Parsing Error: no root element found
> Location: http://localhost:8080/misca/api/organisationUnitLevels.json?
> fields=id,displayName|rename(name),level&paging=false&_dc=1486985622677
> Line Number 1, Column 1:  organisationUnitLevels.json:1:1
> XML Parsing Error: no root element found
> Location: http://localhost:8080/misca/api/organisationUnits.json?userDat
> aViewFallback=true&paging=false&fields=id,displayName|
> rename(name)&_dc=1486985622676
> Line Number 1, Column 1:  organisationUnits.json:1:1
> XML Parsing Error: no root element found
> Location: http://localhost:8080/misca/api/dimensions.
> json?fields=id,displayName|rename(name)&filter=
> dimensionType:eq:ORGANISATION_UNIT_GROUP_SET&paging=false&_
> dc=1486985622681
> Line Number 1, Column 1:  dimensions.json:1:1
>
> On Mon, Feb 13, 2017 at 2:48 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
> wrote:
>
>> Timothy,
>>
>> If you are using the latest version of 2.26, then the more stringent
>> validation of URL characters in recent versions of Tomcat should be
>> supported (for details on the 8.5.x changes, see
>> http://tomcat.apache.org/tomcat-8.5-doc/changelog.html )
>>
>> If your logs still indicate that this is a tomcat issue, try upgrading to
>> tomcat 8.5.11 - if that don't work then downgrade to 8.0.36
>>
>> Regards
>> Calle
>>
>> On 13 February 2017 at 13:20, Jason Pickering <
>> jason.p.pickering@xxxxxxxxx> wrote:
>>
>>> The important thing to look for is a JavaScript error from the server,
>>> namely an HTTP 400 error code. Could you sent your JavaScript console when
>>> you load the app?
>>>
>>> On Mon, Feb 13, 2017 at 5:57 PM, Timothy Kiyemba <tkiyemba@xxxxxxxxx>
>>> wrote:
>>>
>>>> Dear Gerald,
>>>>
>>>> I have tried replacing the war file but the problem persists. See
>>>> attached my catalina log file. I am working with Tomcat 8.5.8 and DHIS2
>>>> 2.26. Jason, do I still need to downgrade my Tomcat to 8.0.36? All my apps
>>>> work except the Event reports app.
>>>>
>>>> Kind regards
>>>>
>>>> Timothy
>>>>
>>>>
>>>>
>>>> On Mon, Feb 13, 2017 at 9:48 AM, gerald thomas <gerald17006@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Timothy,
>>>>> Please run maintenance and delete war file and name of folder which
>>>>> has the name of your war file. Download a new war and tail -f
>>>>> /path/Catalina.out if there is no error then everything should be fine.
>>>>> Kindly note I am saying "/path/" because I don't the path of your
>>>>> logs. Also tomcat must be stop before deleting war file and folder and
>>>>> "tail" the logs before starting tomcat.
>>>>> Wishing you the best.
>>>>>
>>>>> On Feb 13, 2017 06:26, "timothy kiyemba" <tkiyemba@xxxxxxxxx> wrote:
>>>>>
>>>>>> Anybody with a solution to this problem?
>>>>>> ------------------------------
>>>>>> From: Timothy Kiyemba <tkiyemba@xxxxxxxxx>
>>>>>> Sent: ‎12/‎02/‎2017 21:59
>>>>>> To: dhis2-devs <dhis2-devs@xxxxxxxxxxxxxxxxxxx>; dhis2-users
>>>>>> <dhis2-users@xxxxxxxxxxxxxxxxxxx>
>>>>>> Subject: My DHIS2 Reports app not loading
>>>>>>
>>>>>> Dear all
>>>>>>
>>>>>> Has any one faced this challenge before, my DHIS2 reports app is not
>>>>>> loading. It just shows that its loading but it never completes. Could I
>>>>>> have missed out a step somewhere? See image below;
>>>>>>
>>>>>> [image: Inline image 1]
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.pickering@xxxxxxxxx
>>> tel:+46764147049 <+46%2076%20414%2070%2049>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>>
>> *******************************************
>>
>> Calle Hedberg
>>
>> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>>
>> Tel/fax (home): +27-21-685-6472 <+27%2021%20685%206472>
>>
>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>
>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>
>> Email: calle.hedberg@xxxxxxxxx
>>
>> Skype: calle_hedberg
>>
>> *******************************************
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049 <+46%2076%20414%2070%2049>
>

PNG image


References