# react native (android) run time error

**URL:** <https://community.wowza.com/t/react-native-android-run-time-error/49212>\
**Category:** Wowza GoCoder SDK\
**Created:** [July 19, 2017, 1:08pm UTC](https://community.wowza.com/t/react-native-android-run-time-error/49212 "2017-07-19T13:08:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil\_Kuo](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@Anil\_Kuo](https://community.wowza.com/u/Anil_Kuo)\
**Post date:** [July 19, 2017, 1:08pm UTC](https://community.wowza.com/t/react-native-android-run-time-error/49212/1 "2017-07-19T13:08:54Z")

</div>

My develop environment is:

react-native@0.44.0

react-native-wowza-gocoder@1.0.3

Wowza GoCoder SDK 1.0.1 build 346

The same code works fine for iOS.

But have run time errors for Android run time:

Here are my error messages:

04-07 16:14:23.608 1363-1363/com.scppublisher E/unknown:React: Exception in native call java.lang.NullPointerException: Attempt to invoke virtual method ‘void com.wowza.gocoder.sdk.api.WowzaGoCoder.setConfig(com.wowza.gocoder.sdk.api.configuration.WowzaConfig)’ on a null object reference at com.rngocoder.BroadcastManager.initBroadcast(BroadcastManager.java:34) at com.rngocoder.BroadcastView.onHostResume(BroadcastView.java:89) at com.facebook.react.bridge.ReactContext$1.run(ReactContext.java:160) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5451) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Any suggestions?

---

<div class="post-metadata">

**Author:** ![jyoti\_gupta](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jyoti\_gupta](https://community.wowza.com/u/jyoti_gupta)\
**Post date:** [January 3, 2018, 10:21am UTC](https://community.wowza.com/t/react-native-android-run-time-error/49212/2 "2018-01-03T10:21:46Z")

</div>

I am also facing the same issue, how you have solved this one. Your help will be appreciated. Thanks in advance.
