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

[Crashlytics] ResourceOptionsManager$Companion.getDefault #45055

Closed
muttmuure opened this issue Jul 9, 2024 · 7 comments
Closed

[Crashlytics] ResourceOptionsManager$Companion.getDefault #45055

muttmuure opened this issue Jul 9, 2024 · 7 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@muttmuure
Copy link
Contributor

Device
Brand:Samsung
Model:Galaxy A35 5G
Orientation:Portrait
RAM free: 1.89 GB
Disk free: 91.45 GB
Operating System
Version:Android 14
Orientation:Portrait
Rooted:No
Crash
Date:Jul 9, 2024, 9:21:33 AM
App version:9.0.3-7 (1009000307)

com.mapbox.maps
ResourceOptionsManager.kt:71

com.expensify.chat_issue_963cc500441d92b84a05a8c3ee5b3f2d_crash_session_668CF2F6015B0001125C8FC96F517223_DNE_0_v2_stacktrace.txt

com.mapbox.maps.MapboxConfigurationException - Using MapView requires providing a valid access token when inflating or creating the view. Provide the token by either: 1. Initialising the MapView programmatically using 'MapInitOptions' and configure the token using 'MapInitOptions.resourceOptions.acce
          Fatal Exception: com.mapbox.maps.MapboxConfigurationException: Using MapView requires providing a valid access token when inflating or creating the view.
Provide the token by either:
  1. Initialising the MapView programmatically using 'MapInitOptions' and configure the token using 'MapInitOptions.resourceOptions.accessToken'.
  2. Or by passing it using MapView's 'mapbox_resourcesAccessToken' XML attribute.
  3. Or by creating a mapbox_access_token string resource.
The access token parameter is required when using a Mapbox service.
Please see https://www.mapbox.com/help/create-api-access-token/ to learn how to create one.
More information in this guide https://www.mapbox.com/help/first-steps-android-sdk/#access-tokens.
       at com.mapbox.maps.ResourceOptionsManager$Companion.getDefault(ResourceOptionsManager.kt:71)
       at com.mapbox.maps.ResourceOptionsManager$Companion.getDefault$default(ResourceOptionsManager.kt:50)
       at com.mapbox.maps.MapInitOptions$Companion.getDefaultResourceOptions(MapInitOptions.kt:47)
       at com.mapbox.maps.MapInitOptions.<init>(MapInitOptions.kt:28)
       at com.mapbox.maps.MapView.<init>(MapView.kt:57)
       at com.rnmapbox.rnmbx.components.mapview.RNMBXMapView.createMapView(RNMBXMapView.kt:1168)
       at com.rnmapbox.rnmbx.components.mapview.RNMBXMapView.applyAllChanges(RNMBXMapView.kt:617)
       at com.rnmapbox.rnmbx.components.mapview.RNMBXMapViewManager.onAfterUpdateTransaction(RNMBXMapViewManager.kt:82)
       at com.rnmapbox.rnmbx.components.mapview.RNMBXMapViewManager.setCompassImage(RNMBXMapViewManager.kt:53)
       at com.rnmapbox.rnmbx.components.mapview.RNMBXMapViewManager.onAfterUpdateTransaction(RNMBXMapViewManager.kt:53)
       at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:81)
       at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:181)
       at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:108)
       at com.facebook.react.views.view.ReactViewManagerWrapper$DefaultViewManager.createView(ReactViewManagerWrapper.kt:59)
       at com.facebook.react.fabric.mounting.SurfaceMountingManager.createViewUnsafe(SurfaceMountingManager.java:860)
       at com.facebook.react.fabric.mounting.SurfaceMountingManager.preallocateView(SurfaceMountingManager.java:1230)
       at com.facebook.react.fabric.mounting.mountitems.PreAllocateViewMountItem.execute(PreAllocateViewMountItem.java:64)
       at com.facebook.react.fabric.mounting.MountItemDispatcher.executeOrEnqueue(MountItemDispatcher.java:359)
       at com.facebook.react.fabric.mounting.MountItemDispatcher.dispatchPreMountItems(MountItemDispatcher.java:338)
       at com.facebook.react.fabric.FabricUIManager$DispatchUIFrameCallback.doFrameGuarded(FabricUIManager.java:1302)
       at com.facebook.react.fabric.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:30)
       at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
       at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1687)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1698)
       at android.view.Choreographer.doCallbacks(Choreographer.java:1153)
       at android.view.Choreographer.doFrame(Choreographer.java:1069)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1646)
       at android.os.Handler.handleCallback(Handler.java:958)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:230)
       at android.os.Looper.loop(Looper.java:319)
       at android.app.ActivityThread.main(ActivityThread.java:8919)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
@muttmuure muttmuure added Weekly KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jul 9, 2024
Copy link

melvin-bot bot commented Jul 9, 2024

Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 9, 2024
@TMisiukiewicz
Copy link
Contributor

TMisiukiewicz commented Jul 9, 2024

this one should be fixed once #44767 is deployed

@johncschuster
Copy link
Contributor

The linked PR has been deployed to staging. Waiting on a deploy to prod.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Jul 11, 2024
Copy link

melvin-bot bot commented Jul 15, 2024

@johncschuster, @TMisiukiewicz Whoops! This issue is 2 days overdue. Let's get this updated quick!

@johncschuster
Copy link
Contributor

Payment Summary:

Contributor: @TMisiukiewicz - does not require payment

Contributor+: @shubham1206agra owed $250 via Upwork (I will issue payment in two days)

@melvin-bot melvin-bot bot removed the Overdue label Jul 15, 2024
@shubham1206agra
Copy link
Contributor

@johncschuster Payment will be issued here #43374

@melvin-bot melvin-bot bot added the Overdue label Jul 18, 2024
@johncschuster
Copy link
Contributor

Thanks, @shubham1206agra! In that case, it sounds like we can close this one out. Please let me know if I've missed something!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

4 participants