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

NVIDIA Shield issue #993

Closed
AceHack opened this issue Dec 9, 2019 · 1 comment
Closed

NVIDIA Shield issue #993

AceHack opened this issue Dec 9, 2019 · 1 comment

Comments

@AceHack
Copy link

AceHack commented Dec 9, 2019

[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.app.Application.createPackageContext(java.lang.String, int)' on a null object reference
at android.media.MediaCodec.isSupported(MediaCodec.java:1794)
at android.media.MediaCodec.checkAppForAutoFrc(MediaCodec.java:1831)
at android.media.MediaCodec.configureCodecParams(MediaCodec.java:1980)
at android.media.MediaCodec.(MediaCodec.java:2011)
at android.media.MediaCodec.createEncoderByType(MediaCodec.java:1944)
at com.genymobile.scrcpy.ScreenEncoder.createCodec(ScreenEncoder.java:138)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:63)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:32)
at com.genymobile.scrcpy.Server.main(Server.java:146)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:340)
INFO: Initial texture: 1920x1080
WARN: Device disconnected

@rom1v
Copy link
Collaborator

rom1v commented Dec 9, 2019

Thank you for your report.

This is a duplicate of #940. It is fixed on dev branch.

@rom1v rom1v closed this as completed Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants