-
-
Notifications
You must be signed in to change notification settings - Fork 859
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]: Random error: “Mapbox [error] ViewTagResolver | view: null found with tag: xxxx but it's either null or not the correct type”. #3756
Comments
same issue in cli, happening on android only, not ios |
I see that the version returned by the command: “npm @rnmapbox/maps -v” is 11.0.0. Perhaps this has something to do with the error? |
No that shows your npm version, not your rnmapbox. You can use |
|
Any updates on this issue? |
I'm hiding the errors for now:
|
Mapbox Implementation
Mapbox
Mapbox Version
10.1.33
React Native Version
0.76.6
Platform
Android
@rnmapbox/maps
version10.1.33
Standalone component to reproduce
Index page (for navigation test : index <-> map):
Map page
Observed behavior and steps to reproduce
The error “Mapbox [error] ViewTagResolver | view: null found with tag: xxxx but it's either null or not the correct type” appears randomly as soon as you arrive on the map, sometimes yes, sometimes no.
Note that the “with tag” increases as the error is encountered (may help debugging).
See captures taken one by one. And the console for more details.
After a round-trip index-map
![Image](https://private-user-images.githubusercontent.com/99763883/407496629-2d0d31d4-4ecf-40ac-b551-a741d64bef00.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTE1NjgsIm5iZiI6MTczOTkxMTI2OCwicGF0aCI6Ii85OTc2Mzg4My80MDc0OTY2MjktMmQwZDMxZDQtNGVjZi00MGFjLWI1NTEtYTc0MWQ2NGJlZjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIwNDEwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4MWQzYzViOWY4MzZhMDM0ODE0ZDk2ZGRhODFjOGYzODliMzkxM2E2MWM1YjFiMDE5ZTI5ZTVmNjRhMzg1Y2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Y8gjJWCrVWxVXSVSvxfw_OsXPulI7LUOYFnodLZ-Gto)
![Image](https://private-user-images.githubusercontent.com/99763883/407496686-f3798f6b-5469-4dd3-835c-814ae1fd2bcb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTE1NjgsIm5iZiI6MTczOTkxMTI2OCwicGF0aCI6Ii85OTc2Mzg4My80MDc0OTY2ODYtZjM3OThmNmItNTQ2OS00ZGQzLTgzNWMtODE0YWUxZmQyYmNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIwNDEwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhYzcxMjk2ZjE0MWQxNjUxNzMyZThlMWZkZTYwODczZDkyNGQ0NzZiY2NhYmJiZjljMjYxMTBkMzczYzE4Y2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.P3bNs09vQGmxIwGvDgddJFOdOSV2m1nl-KL8g0TQetM)
![Image](https://private-user-images.githubusercontent.com/99763883/407496711-f5512f84-5acf-484a-bf80-a621a13a81e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTE1NjgsIm5iZiI6MTczOTkxMTI2OCwicGF0aCI6Ii85OTc2Mzg4My80MDc0OTY3MTEtZjU1MTJmODQtNWFjZi00ODRhLWJmODAtYTYyMWExM2E4MWUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIwNDEwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1Y2RlNTNkMWM3NTdlYzY1OTA2YjRkMzQyODVhMjFjYTQxNWU1YWVkZDRkN2ZmY2M3NGI1NWQ0NjFmMWZjMmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.E_nxwkje991n137c7HVPW2WExU5r7Nu_Y5NKRITqLdQ)
![Image](https://private-user-images.githubusercontent.com/99763883/407496734-fc88f766-6577-4166-8372-1762df80cb0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTE1NjgsIm5iZiI6MTczOTkxMTI2OCwicGF0aCI6Ii85OTc2Mzg4My80MDc0OTY3MzQtZmM4OGY3NjYtNjU3Ny00MTY2LTgzNzItMTc2MmRmODBjYjBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIwNDEwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4ZGJlYzMyZmZhMzY1YTk3OGE5MWIzYmMwYTk2NWVmNmMyNjVlMDA2NDlkNjY0YjAyZTk0YmZjZjkzZjI0MGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.tmQhTaYq9g2fCnIucNb1IKtf90ALKDzUn8d57gcWLRk)
![Image](https://private-user-images.githubusercontent.com/99763883/407496778-aba7b5fd-f6b7-4c13-b4f7-c41fcc62c28a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTE1NjgsIm5iZiI6MTczOTkxMTI2OCwicGF0aCI6Ii85OTc2Mzg4My80MDc0OTY3NzgtYWJhN2I1ZmQtZjZiNy00YzEzLWI0ZjctYzQxZmNjNjJjMjhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIwNDEwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExNjUzOGZiNzE0NzFiOWQ2MzRhMWYzNTA5NmVmMTY0NTQ2MTViZTUwN2I3YzIyMzVjYWFkYmE1MzZkYzM1MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KgRtfRnmM_RRZs-TwnbSS7YG5u6F320ZM_dUjFLJeuI)
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
After a round-trip index-map
Expected behavior
Do not display this error.
Notes / preliminary analysis
The “with tag: xxx” increases as the error is encountered.
If the error doesn't appear, go to the map, zoom in or out, then back to the index, then back to the map.
It can take 4 or 5 round trips before there's an error, sometimes 0, sometimes more.
My package.json :
My device :
Android Emulator - OUKITEL_API_31:5554
Additional links and references
No response
The text was updated successfully, but these errors were encountered: