Skip to content

[vmservices] NPE in io.flutter.vmService.DisplayRefreshRateManager #8148

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

Open
pq opened this issue May 1, 2025 · 1 comment
Open

[vmservices] NPE in io.flutter.vmService.DisplayRefreshRateManager #8148

pq opened this issue May 1, 2025 · 1 comment
Assignees

Comments

@pq
Copy link
Contributor

pq commented May 1, 2025

On launching a web app,

2025-05-01 10:52:28,041 [ 144861]   WARN - #io.flutter.vmService.DisplayRefreshRateManager - java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null
@pq
Copy link
Contributor Author

pq commented May 1, 2025

On a bit of poking, this may be percolating up from io.flutter.vmService.VMServiceManager#getFlutterViewId (which wouldn't be surprising since there's lots of JSON unmarshalling that isn't guarded).

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

No branches or pull requests

1 participant