Java error in DHIS2 tracker case list

After I create a tracked entity and add an event, when I go back to the case list of my program, I get the following error:

The online search returned the following message: Attempt to invoke virtual method ‘java.lang.String java.lang.String.replaceAll(java.lang.String,java.lang.String)’ on a null object reference.

Anyone know why this error might be coming up for a few of my tracked entities? Sometime the error clears up when I sync data but not always.

Thanks in advance!

Hi @Clara,

Thanks for your patience! It might seem like you are getting a generic error (a very general message for many types of errors) and this is why it hasn’t been easy to get a response.

May I ask if you are still facing this issue or have you resolved it? If solved, please share with the community; however, if you haven’t resolved the issue, would you please share more info about the environment?

What is the version of both the DHIS2 web instance that you are using as well as the Android app? Do you think it might be possible to get the configuration of one of these TEIs that are facing an issue (without the data)? When exactly in the app do you see this error?


Hello @Gassim!

I’m not getting this error today so I’m going to pause this issue to see if it comes back. It might’ve been solved with new app update. Will tag you if it comes back. Thank you!!

1 Like