Skip to content

ti.map.TiUIMapView.release Crash #306

@andersdp

Description

@andersdp

After updating our app to SDK 9.0.3 (from 8.3.1) we're starting to see a new crash related to ti.map (we're using 5.0.2).

The error only occurs on Android 9 according to Play Store. This is the error log from Play Store:

java.lang.RuntimeException: 
at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5176)
at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5195)
at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:39)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2199)
at android.os.Handler.dispatchMessage (Handler.java:112)
at android.os.Looper.loop (Looper.java:216)
at android.app.ActivityThread.main (ActivityThread.java:7625)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)
Caused by: java.lang.IllegalStateException: 
at androidx.fragment.app.FragmentManagerImpl.checkStateLoss (FragmentManagerImpl.java:1536)
at androidx.fragment.app.FragmentManagerImpl.enqueueAction (FragmentManagerImpl.java:1558)
at androidx.fragment.app.BackStackRecord.commitInternal (BackStackRecord.java:317)
at androidx.fragment.app.BackStackRecord.commit (BackStackRecord.java:282)
at org.appcelerator.titanium.view.TiUIFragment.release (TiUIFragment.java:146)
at ti.map.TiUIMapView.release (TiUIMapView.java:1263)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:542)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:538)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:538)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:538)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:538)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:538)
at org.appcelerator.titanium.proxy.TiViewProxy.releaseViews (TiViewProxy.java:538)
at org.appcelerator.titanium.proxy.TiViewProxy.release (TiViewProxy.java:557)
at org.appcelerator.titanium.proxy.ActivityProxy.release (ActivityProxy.java:352)
at org.appcelerator.titanium.TiBaseActivity.onDestroy (TiBaseActivity.java:1538)
at org.appcelerator.titanium.TiActivity.onDestroy (TiActivity.java:91)
at android.app.Activity.performDestroy (Activity.java:7737)
at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1327)
at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5161)

Is this SDK or ti.map related?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions