App Crash After React Native Instrumentation

Hello All,

I just experiencing this issue after instrumenting my react native app:

Is there any idea how to solve this? Before this my app works smoothly.

Thank you.

Hi @agylpradipta

How did you perform the instrumentation? Please send what documentation you used.

Radek

This is documentation I refer to: Instrument mobile apps with Dynatrace React Native plugin in RUM Classic — Dynatrace Docs

But if I tried to run my app from Android error this happened:

Cannot read property ‘DATA_COLLECTION_OFF’ of null

Any idea on how to resolve this issue?

Thank you in advance.

Issue resolved with this solution:

Run metro server

npm run --reset-cache

need to reset the cache after add Dynatrace Instrumentation

Great:)