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

TutnByTurnExperienceActivity App crashes on startUp #159

Open
softdelaxe opened this issue Oct 30, 2022 · 0 comments
Open

TutnByTurnExperienceActivity App crashes on startUp #159

softdelaxe opened this issue Oct 30, 2022 · 0 comments

Comments

@softdelaxe
Copy link

2022-10-30 05:48:26.574 4553-4553/com.delaxesoft.smarttransportcity E/Mapbox: [nav-sdk]: [ViewportDataSourceProcessor] Provided following padding does not fit the map size:
mapSize: [width: 64.0, height: 64.0]
padding: [top: 360.0, left: 80.0, bottom: 300.0, right: 80.0]
Using an empty fallback padding instead: [top: 360.0, left: 80.0, bottom: 300.0, right: 80.0]
2022-10-30 05:48:26.607 4553-4553/com.delaxesoft.smarttransportcity E/Mapbox: [nav-sdk]: [ViewportDataSourceProcessor] Provided following padding does not fit the map size:
mapSize: [width: 64.0, height: 64.0]
padding: [top: 360.0, left: 80.0, bottom: 300.0, right: 80.0]
Using an empty fallback padding instead: [top: 360.0, left: 80.0, bottom: 300.0, right: 80.0]
2022-10-30 05:48:27.170 4553-4553/com.delaxesoft.smarttransportcity E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.delaxesoft.smarttransportcity, PID: 4553
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:1042)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1009)
at android.graphics.Bitmap.createBitmap(Bitmap.java:959)
at android.graphics.Bitmap.createBitmap(Bitmap.java:920)
at com.mapbox.maps.plugin.locationcomponent.utils.BitmapUtils.getBitmapFromDrawable(BitmapUtils.kt:31)
at com.mapbox.maps.plugin.locationcomponent.LocationIndicatorLayerRenderer.setupBitmaps(LocationIndicatorLayerRenderer.kt:80)
at com.mapbox.maps.plugin.locationcomponent.LocationIndicatorLayerRenderer.initializeComponents(LocationIndicatorLayerRenderer.kt:27)
at com.mapbox.maps.plugin.locationcomponent.LocationPuckManager.initialize(LocationPuckManager.kt:102)
at com.mapbox.maps.plugin.locationcomponent.LocationComponentPluginImpl$activateLocationComponent$1.invoke(LocationComponentPluginImpl.kt:207)
at com.mapbox.maps.plugin.locationcomponent.LocationComponentPluginImpl$activateLocationComponent$1.invoke(LocationComponentPluginImpl.kt:184)
at com.mapbox.maps.plugin.MapDelegateProviderImpl.getStyle$lambda-0(MapDelegateProviderImpl.kt:21)
at com.mapbox.maps.plugin.MapDelegateProviderImpl.$r8$lambda$prB63jRkHNgIjSUbBTljg7oBEc8(Unknown Source:0)
at com.mapbox.maps.plugin.MapDelegateProviderImpl$$ExternalSyntheticLambda0.onStyleLoaded(Unknown Source:2)
at com.mapbox.maps.StyleObserver.onStyleLoaded(StyleObserver.kt:96)
at com.mapbox.maps.NativeObserver.notify(NativeObserver.kt:63)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:330)
at android.os.Looper.loop(Looper.java:169)
at android.app.ActivityThread.main(ActivityThread.java:7143)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)

@softdelaxe softdelaxe changed the title App crashes on startUp TutnByTurnExperienceActivity App crashes on startUp Oct 30, 2022
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

2 participants