Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes #30

Open
ber4444 opened this issue Nov 4, 2019 · 5 comments
Open

Crashes #30

ber4444 opened this issue Nov 4, 2019 · 5 comments

Comments

@ber4444
Copy link

ber4444 commented Nov 4, 2019

when clicking on "play a live stream":

2019-11-04 11:34:47.327 19161-19161/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.wowza.gocoder.sdk.sampleapp, PID: 19161
    java.lang.RuntimeException: Unable to resume activity {com.wowza.gocoder.sdk.sampleapp/com.wowza.gocoder.sdk.sampleapp.PlayerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.wowza.gocoder.sdk.api.player.WOWZPlayerConfig.isAudioEnabled()' on a null object reference
        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205)
        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)
        at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
        at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
     Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.wowza.gocoder.sdk.api.player.WOWZPlayerConfig.isAudioEnabled()' on a null object reference
        at com.wowza.gocoder.sdk.sampleapp.PlayerActivity.syncUIControlState(PlayerActivity.java:500)
        at com.wowza.gocoder.sdk.sampleapp.PlayerActivity.onResume(PlayerActivity.java:289)
        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1453)
        at android.app.Activity.performResume(Activity.java:7939)

when clicking on "kotlin player":

2019-11-04 11:35:54.182 19285-19285/com.wowza.gocoder.sdk.sampleapp E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.wowza.gocoder.sdk.sampleapp, PID: 19285
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wowza.gocoder.sdk.sampleapp/com.wowza.gocoder.sdk.sampleapp.KotlinPlayerActivity}: java.lang.IllegalStateException: WowzaGoCoder.getLastError() must not be null
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3270)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7356)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
     Caused by: java.lang.IllegalStateException: WowzaGoCoder.getLastError() must not be null
        at com.wowza.gocoder.sdk.sampleapp.KotlinPlayerActivity.onCreate(KotlinPlayerActivity.kt:225)
        at android.app.Activity.performCreate(Activity.java:7802)
        at android.app.Activity.performCreate(Activity.java:7791)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
@fabio-delorenzo-wowza
Copy link
Contributor

Hi ber4444,
did you add your own license key ?
what version of SDK are you using ?
Please, attach the full log.

Thanks

@ber4444
Copy link
Author

ber4444 commented Nov 4, 2019

I did add the license key in GoCoderSDKActivityBase.
It is the latest SDK I downloaded today.

@fabio-delorenzo-wowza
Copy link
Contributor

Thanks for reporting that. Let me look into this issue.

@Wowza-Rose
Copy link

Can you please send me an email @ber4444 and give me the key you entered and exactly how you entered it? There have been some issues with people not entering the correct key from the right email. Please do not post it in here as is it is your private key. My email is rose.power@wowza.com

@ber4444
Copy link
Author

ber4444 commented Nov 4, 2019

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants