-
-
Notifications
You must be signed in to change notification settings - Fork 11k
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
bug [server] ERROR: Exception on thread Thread #2070
Comments
我遇到一样的问题,系统是MIUI 12.0.11(Android 10)
|
See #932 |
how do you fix the bug? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to fix
C:\Users\Admin\Downloads\scrcpy-win64-v1.15\scrcpy-server:... file pushed, 0 skipped. 24.7 MB/s (33618 bytes in 0.001s)
[server] INFO: Device: vsmart Star (Android 9)
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.AssertionError: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:30)
at com.genymobile.scrcpy.Device.(Device.java:57)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:23)
at com.genymobile.scrcpy.Server.main(Server.java:225)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:340)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at com.genymobile.scrcpy.wrappers.DisplayManager.getDisplayInfo(DisplayManager.java:17)
... 5 more
Press any key to continue...
The text was updated successfully, but these errors were encountered: