# StackOverflow Error when accessing visualisation in android application

**URL:** <https://community.dhis2.org/t/stackoverflow-error-when-accessing-visualisation-in-android-application/57283>\
**Category:** Support - Assistance technique\
**Tags:** android, error, indicators\
**Created:** [29 February 2024 08:10 UTC](https://community.dhis2.org/t/stackoverflow-error-when-accessing-visualisation-in-android-application/57283 "2024-02-29T08:10:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sweety\_Sharma](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sweety_sharma/32/41959_2.png) [@Sweety\_Sharma](https://community.dhis2.org/u/Sweety_Sharma)\
**Post date:** [29 February 2024 08:10 UTC](https://community.dhis2.org/t/stackoverflow-error-when-accessing-visualisation-in-android-application/57283/1 "2024-02-29T08:10:57Z")

</div>

When an indicator has a long list of operands in the numerator expression and we use it in a visualisation it causes stackoverflow error when the visualisation dashboard is rendered in the android application.  
Our use case:  
1820 operand long expression  
5460 operand long expression

Its seems if the operands length goes beyond 600-700 (approximately) this issue starts occurring.

Can someone help us regarding this!

---

<div class="post-metadata">

**Author:** ![vgarciabnz](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/vgarciabnz/32/43240_2.png) [@vgarciabnz](https://community.dhis2.org/u/vgarciabnz)\
**Post date:** [29 February 2024 09:38 UTC](https://community.dhis2.org/t/stackoverflow-error-when-accessing-visualisation-in-android-application/57283/2 "2024-02-29T09:38:02Z")

</div>

Hi @Sweety_Sharma,

Android devices are not so powerful as the server and this kind of errors might occur when the indicator is quite complex. Could you share with us (by direct message) the formula of the indicator that is failing to evaluate? Then I will try to replicate the error and look for the cause.

---

<div class="post-metadata">

**Author:** ![Sweety\_Sharma](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sweety_sharma/32/41959_2.png) [@Sweety\_Sharma](https://community.dhis2.org/u/Sweety_Sharma)\
**Post date:** [29 February 2024 10:30 UTC](https://community.dhis2.org/t/stackoverflow-error-when-accessing-visualisation-in-android-application/57283/3 "2024-02-29T10:30:19Z")

</div>

Sure @vgarciabnz
