Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27466] Android: App sometimes crashes at the beginning

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 8.2.0
Fix Version/sn/a
ComponentsAndroid
LabelsengSchedule
ReporterHans Knöchel
AssigneeUnknown
Created2019-10-11T21:08:20.000+0000
Updated2019-10-14T20:51:25.000+0000

Description

Since recent master builds, our Android app randomly starts when it boots:
[ERROR] TiExceptionHandler: (main) [82,1320] Resource ID #0x7f10005c
[ERROR] TiExceptionHandler:
[ERROR] TiExceptionHandler:     android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:237)
[ERROR] TiExceptionHandler:     android.content.res.Resources.getColor(Resources.java:982)
[ERROR] TiExceptionHandler:     android.content.res.Resources.getColor(Resources.java:958)
[ERROR] TiExceptionHandler:     android.support.v7.widget.CardView.<init>(CardView.java:137)
[ERROR] TiExceptionHandler:     android.support.v7.widget.CardView.<init>(CardView.java:115)
[ERROR] TiExceptionHandler:     android.support.v7.widget.CardView.<init>(CardView.java:111)
[ERROR] TiExceptionHandler:     ti.modules.titanium.ui.widget.TiUICardView$TiCardView.<init>(TiUICardView.java:48)
[ERROR] TiExceptionHandler:     ti.modules.titanium.ui.widget.TiUICardView.processProperties(TiUICardView.java:151)
[ERROR] TiExceptionHandler:     ti.modules.titanium.ui.widget.TiUICardView.<init>(TiUICardView.java:84)
[ERROR] TiExceptionHandler:     ti.modules.titanium.ui.android.CardViewProxy.createView(CardViewProxy.java:44)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:492)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:464)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:515)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:464)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:515)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:464)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:515)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:464)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:515)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:498)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:464)
[ERROR] TiExceptionHandler:     ti.modules.titanium.ui.widget.tabgroup.TiUITab.getContentView(TiUITab.java:52)
[ERROR] TiExceptionHandler:     ti.modules.titanium.ui.widget.tabgroup.TiUIAbstractTabGroup$TabFragment.onCreateView(TiUIAbstractTabGroup.java:538)
[ERROR] TiExceptionHandler:     android.support.v4.app.Fragment.performCreateView(Fragment.java:2346)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1428)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1759)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1827)
[ERROR] TiExceptionHandler:     android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:797)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2596)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2383)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2338)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2215)
[ERROR] TiExceptionHandler:     android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:649)
[ERROR] TiExceptionHandler:     android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:145)
[ERROR] TiExceptionHandler:     android.support.v4.view.ViewPager.populate(ViewPager.java:1238)
[ERROR] TiExceptionHandler:     android.support.v4.view.ViewPager.populate(ViewPager.java:1086)
[ERROR] TiExceptionHandler:     android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1616)
[ERROR] TiExceptionHandler:     android.view.View.measure(View.java:24545)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.view.TiCompositeLayout.constrainChild(TiCompositeLayout.java:738)
[ERROR] TiExceptionHandler:     org.appcelerator.titanium.view.TiCompositeLayout.onMeasure(TiCompositeLayout.java:571)
[ERROR] TiExceptionHandler:     android.view.View.measure(View.java:24545)
[ERROR] TiExceptionHandler:     android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6828)
[ERROR] TiExceptionHandler:     android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
[ERROR] TiExceptionHandler:     android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:141)
[ERROR] TiExceptionHandler:     android.view.View.measure(View.java:24545)
[ERROR] TiExceptionHandler:     android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6828)
[ERROR] TiExceptionHandler:     android.support.v7.widget.ActionBarOverlayLayout.onMeasure(ActionBa…
It seems to be crashing in a CardView while processing a color. The CardView is inside a TabGroup Tab.

Comments

No comments

JSON Source