Open oversecio opened 5 years ago
will have to implement #25 first and then wait for new bug reports - as the real underlying exception is getting swallowed by WaspDb implementation, but printed to logcat
ok, got one:
Thread: main
Stacktrace:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean net.rehacktive.waspdb.WaspDb.existsHash(java.lang.String)' on a null object reference
at io.oversec.one.db.PadderDb.
LOGCAT:
--------- beginning of main
03-08 18:54:41.553 11725 11809 D ApplicationLoaders: ignored Vulkan layer search path /data/app/com.whatsapp-1/lib/arm:/data/app/com.whatsapp-1/base.apk!/lib/armeabi-v7a for namespace 0xb6bd50d0
03-08 18:58:22.079 11725 11725 I ViewConfigCompat: Could not find method getScaledScrollFactor() on ViewConfiguration
03-08 18:58:22.242 11725 11725 W System.err: java.lang.Exception:
03-08 18:58:22.242 11725 11725 W System.err: ERROR on readFromDisk:java.lang.IndexOutOfBoundsException: Index: 104, Size: 3
03-08 18:58:22.242 11725 11725 W System.err: Serialization trace:
03-08 18:58:22.242 11725 11725 W System.err: confirmedDate (io.oversec.one.crypto.sym.SymmetricKeyEncrypted)
03-08 18:58:22.266 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-08 18:58:22.266 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.CollisionHash.getAllKeys(CollisionHash.java:104)
03-08 18:58:22.266 11725 11725 W System.err: at net.rehacktive.waspdb.WaspHash.getAllKeys(WaspHash.java:93)
03-08 18:58:22.266 11725 11725 W System.err: at io.oversec.one.crypto.sym.OversecKeystore2.isEmpty(OversecKeystore2.kt:42)
03-08 18:58:22.266 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.updateList(SymmetricEncryptionParamsFragment.java:222)
03-08 18:58:22.267 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.onCreateView(SymmetricEncryptionParamsFragment.java:123)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.Fragment.performCreateView(Fragment.java:2353)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:995)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.BackStackRecord.run(BackStackRecord.java:816)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:563)
03-08 18:58:22.267 11725 11725 W System.err: at android.support.v13.app.FragmentPagerAdapter.finishUpdate$52bc874c(FragmentPagerAdapter.java:182)
03-08 18:58:22.267 11725 11725 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1244)
03-08 18:58:22.267 11725 11725 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1092)
03-08 18:58:22.267 11725 11725 W System.err: at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1622)
03-08 18:58:22.267 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.267 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.267 11725 11725 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-08 18:58:22.267 11725 11725 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-08 18:58:22.267 11725 11725 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-08 18:58:22.267 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.267 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.267 11725 11725 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
03-08 18:58:22.267 11725 11725 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:805)
03-08 18:58:22.267 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.267 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.267 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.268 11725 11725 W System.err: at android.support.v7.widget.CardView.onMeasure(CardView.java:260)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.268 11725 11725 W System.err: at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.268 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.268 11725 11725 W System.err: at com.android.internal.policy.DecorView.onMeasure(DecorView.java:689)
03-08 18:58:22.268 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2275)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1366)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1619)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6343)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
03-08 18:58:22.269 11725 11725 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
03-08 18:58:22.269 11725 11725 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
03-08 18:58:22.269 11725 11725 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
03-08 18:58:22.269 11725 11725 W System.err: at android.os.Looper.loop(Looper.java:154)
03-08 18:58:22.269 11725 11725 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6126)
03-08 18:58:22.269 11725 11725 W System.err: at java.lang.reflect.Method.invoke(Native Method)
03-08 18:58:22.269 11725 11725 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-08 18:58:22.269 11725 11725 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-08 18:58:22.274 11725 11725 W System.err: java.lang.Exception:
03-08 18:58:22.274 11725 11725 W System.err: ERROR on readFromDisk:java.lang.IndexOutOfBoundsException: Index: 104, Size: 3
03-08 18:58:22.274 11725 11725 W System.err: Serialization trace:
03-08 18:58:22.274 11725 11725 W System.err: confirmedDate (io.oversec.one.crypto.sym.SymmetricKeyEncrypted)
03-08 18:58:22.275 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-08 18:58:22.275 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.CollisionHash.getAllValues(CollisionHash.java:122)
03-08 18:58:22.275 11725 11725 W System.err: at net.rehacktive.waspdb.WaspHash.getAllValues(WaspHash.java:108)
03-08 18:58:22.275 11725 11725 W System.err: at io.oversec.one.crypto.sym.OversecKeystore2.getEncryptedKeys_sorted(OversecKeystore2.kt:34)
03-08 18:58:22.275 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.getSymKeysAdapter(SymmetricEncryptionParamsFragment.java:296)
03-08 18:58:22.275 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.updateList(SymmetricEncryptionParamsFragment.java:224)
03-08 18:58:22.275 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.onCreateView(SymmetricEncryptionParamsFragment.java:123)
03-08 18:58:22.275 11725 11725 W System.err: at android.app.Fragment.performCreateView(Fragment.java:2353)
03-08 18:58:22.275 11725 11725 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:995)
03-08 18:58:22.275 11725 11725 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
03-08 18:58:22.275 11725 11725 W System.err: at android.app.BackStackRecord.run(BackStackRecord.java:816)
03-08 18:58:22.275 11725 11725 W System.err: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
03-08 18:58:22.275 11725 11725 W System.err: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:563)
03-08 18:58:22.275 11725 11725 W System.err: at android.support.v13.app.FragmentPagerAdapter.finishUpdate$52bc874c(FragmentPagerAdapter.java:182)
03-08 18:58:22.275 11725 11725 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1244)
03-08 18:58:22.276 11725 11725 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1092)
03-08 18:58:22.276 11725 11725 W System.err: at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1622)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.276 11725 11725 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-08 18:58:22.276 11725 11725 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-08 18:58:22.276 11725 11725 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.276 11725 11725 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
03-08 18:58:22.276 11725 11725 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:805)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.276 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.276 11725 11725 W System.err: at android.support.v7.widget.CardView.onMeasure(CardView.java:260)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.276 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.276 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.276 11725 11725 W System.err: at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.276 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-08 18:58:22.277 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.277 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.277 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.277 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-08 18:58:22.277 11725 11725 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-08 18:58:22.278 11725 11725 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-08 18:58:22.278 11725 11725 W System.err: at com.android.internal.policy.DecorView.onMeasure(DecorView.java:689)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.View.measure(View.java:19861)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2275)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1366)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1619)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6343)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
03-08 18:58:22.278 11725 11725 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
03-08 18:58:22.278 11725 11725 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
03-08 18:58:22.279 11725 11725 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
03-08 18:58:22.279 11725 11725 W System.err: at android.os.Looper.loop(Looper.java:154)
03-08 18:58:22.279 11725 11725 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6126)
03-08 18:58:22.279 11725 11725 W System.err: at java.lang.reflect.Method.invoke(Native Method)
03-08 18:58:22.279 11725 11725 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-08 18:58:22.279 11725 11725 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-08 18:58:22.306 11725 11725 W System.err: java.lang.Exception:
03-08 18:58:22.306 11725 11725 W System.err: ERROR on readFromDisk:Index: 7, Size: 0
03-08 18:58:22.307 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-08 18:58:22.307 11725 11725 W System.err: at net.rehacktive.waspdb.WaspFactory.loadDatabase(WaspFactory.java:167)
03-08 18:58:22.307 11725 11725 W System.err: at net.rehacktive.waspdb.WaspFactory.openOrCreateDatabase(WaspFactory.java:62)
03-08 18:58:22.307 11725 11725 W System.err: at io.oversec.one.db.PadderDb.
Thread: main
Stacktrace:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean net.rehacktive.waspdb.WaspDb.existsHash(java.lang.String)' on a null object reference
at io.oversec.one.db.PadderDb.
LOGCAT:
--------- beginning of main
03-04 21:14:32.298 2417 2427 I art : Do full code cache collection, code=63KB, data=125KB
03-04 21:14:32.299 2417 2427 I art : Starting a blocking GC JitCodeCache
03-04 21:14:32.299 2417 2427 I art : After code cache collection, code=50KB, data=51KB
03-04 21:14:32.372 2417 2417 I ViewConfigCompat: Could not find method getScaledScrollFactor() on ViewConfiguration
03-04 22:10:42.806 2417 2552 W art : Long monitor contention with owner main (2417) at void android.view.accessibility.AccessibilityCache.onAccessibilityEvent(android.view.accessibility.AccessibilityEvent)(AccessibilityCache.java:96) waiters=0 in void android.view.accessibility.AccessibilityCache.add(android.view.accessibility.AccessibilityNodeInfo) for 308ms
03-04 22:11:16.722 2417 2552 D ApplicationLoaders: ignored Vulkan layer search path /data/app/com.whatsapp-1/lib/arm:/data/app/com.whatsapp-1/base.apk!/lib/armeabi-v7a for namespace 0xb6c4d0d0
03-04 22:11:24.789 2417 2427 I art : Do partial code cache collection, code=102KB, data=121KB
03-04 22:11:24.791 2417 2427 I art : After code cache collection, code=100KB, data=120KB
03-04 22:11:24.791 2417 2427 I art : Increasing code cache capacity to 512KB
03-04 22:11:24.803 2417 2427 I art : Compiler allocated 4MB to compile boolean io.oversec.one.Core.handleMessage(android.os.Message)
03-04 22:11:29.648 2417 2417 W System.err: java.lang.Exception:
03-04 22:11:29.648 2417 2417 W System.err: ERROR on readFromDisk:java.lang.IndexOutOfBoundsException: Index: 104, Size: 3
03-04 22:11:29.648 2417 2417 W System.err: Serialization trace:
03-04 22:11:29.648 2417 2417 W System.err: confirmedDate (io.oversec.one.crypto.sym.SymmetricKeyEncrypted)
03-04 22:11:29.678 2417 2417 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-04 22:11:29.678 2417 2417 W System.err: at net.rehacktive.waspdb.internals.collision.CollisionHash.getAllKeys(CollisionHash.java:104)
03-04 22:11:29.678 2417 2417 W System.err: at net.rehacktive.waspdb.WaspHash.getAllKeys(WaspHash.java:93)
03-04 22:11:29.678 2417 2417 W System.err: at io.oversec.one.crypto.sym.OversecKeystore2.isEmpty(OversecKeystore2.kt:42)
03-04 22:11:29.678 2417 2417 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.updateList(SymmetricEncryptionParamsFragment.java:222)
03-04 22:11:29.678 2417 2417 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.onCreateView(SymmetricEncryptionParamsFragment.java:123)
03-04 22:11:29.678 2417 2417 W System.err: at android.app.Fragment.performCreateView(Fragment.java:2353)
03-04 22:11:29.679 2417 2417 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:995)
03-04 22:11:29.679 2417 2417 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
03-04 22:11:29.679 2417 2417 W System.err: at android.app.BackStackRecord.run(BackStackRecord.java:816)
03-04 22:11:29.679 2417 2417 W System.err: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
03-04 22:11:29.679 2417 2417 W System.err: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:563)
03-04 22:11:29.679 2417 2417 W System.err: at android.support.v13.app.FragmentPagerAdapter.finishUpdate$52bc874c(FragmentPagerAdapter.java:182)
03-04 22:11:29.679 2417 2417 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1244)
03-04 22:11:29.679 2417 2417 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1092)
03-04 22:11:29.679 2417 2417 W System.err: at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1622)
03-04 22:11:29.679 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.679 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.679 2417 2417 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-04 22:11:29.679 2417 2417 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-04 22:11:29.679 2417 2417 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-04 22:11:29.679 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.679 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.679 2417 2417 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
03-04 22:11:29.679 2417 2417 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:805)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.680 2417 2417 W System.err: at android.support.v7.widget.CardView.onMeasure(CardView.java:260)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.680 2417 2417 W System.err: at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.680 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.680 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.681 2417 2417 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-04 22:11:29.681 2417 2417 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-04 22:11:29.681 2417 2417 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.681 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.681 2417 2417 W System.err: at com.android.internal.policy.DecorView.onMeasure(DecorView.java:689)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2275)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1366)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1619)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6343)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
03-04 22:11:29.681 2417 2417 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
03-04 22:11:29.681 2417 2417 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
03-04 22:11:29.681 2417 2417 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
03-04 22:11:29.682 2417 2417 W System.err: at android.os.Looper.loop(Looper.java:154)
03-04 22:11:29.682 2417 2417 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6126)
03-04 22:11:29.682 2417 2417 W System.err: at java.lang.reflect.Method.invoke(Native Method)
03-04 22:11:29.682 2417 2417 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-04 22:11:29.682 2417 2417 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-04 22:11:29.689 2417 2417 W System.err: java.lang.Exception:
03-04 22:11:29.689 2417 2417 W System.err: ERROR on readFromDisk:java.lang.IndexOutOfBoundsException: Index: 104, Size: 3
03-04 22:11:29.689 2417 2417 W System.err: Serialization trace:
03-04 22:11:29.689 2417 2417 W System.err: confirmedDate (io.oversec.one.crypto.sym.SymmetricKeyEncrypted)
03-04 22:11:29.690 2417 2417 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-04 22:11:29.690 2417 2417 W System.err: at net.rehacktive.waspdb.internals.collision.CollisionHash.getAllValues(CollisionHash.java:122)
03-04 22:11:29.690 2417 2417 W System.err: at net.rehacktive.waspdb.WaspHash.getAllValues(WaspHash.java:108)
03-04 22:11:29.690 2417 2417 W System.err: at io.oversec.one.crypto.sym.OversecKeystore2.getEncryptedKeys_sorted(OversecKeystore2.kt:34)
03-04 22:11:29.690 2417 2417 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.getSymKeysAdapter(SymmetricEncryptionParamsFragment.java:296)
03-04 22:11:29.690 2417 2417 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.updateList(SymmetricEncryptionParamsFragment.java:224)
03-04 22:11:29.690 2417 2417 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.onCreateView(SymmetricEncryptionParamsFragment.java:123)
03-04 22:11:29.690 2417 2417 W System.err: at android.app.Fragment.performCreateView(Fragment.java:2353)
03-04 22:11:29.690 2417 2417 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:995)
03-04 22:11:29.690 2417 2417 W System.err: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1171)
03-04 22:11:29.690 2417 2417 W System.err: at android.app.BackStackRecord.run(BackStackRecord.java:816)
03-04 22:11:29.690 2417 2417 W System.err: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
03-04 22:11:29.690 2417 2417 W System.err: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:563)
03-04 22:11:29.691 2417 2417 W System.err: at android.support.v13.app.FragmentPagerAdapter.finishUpdate$52bc874c(FragmentPagerAdapter.java:182)
03-04 22:11:29.691 2417 2417 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1244)
03-04 22:11:29.691 2417 2417 W System.err: at android.support.v4.view.ViewPager.populate(ViewPager.java:1092)
03-04 22:11:29.691 2417 2417 W System.err: at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1622)
03-04 22:11:29.691 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.691 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.691 2417 2417 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-04 22:11:29.691 2417 2417 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-04 22:11:29.691 2417 2417 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-04 22:11:29.691 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.691 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.691 2417 2417 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
03-04 22:11:29.691 2417 2417 W System.err: at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:805)
03-04 22:11:29.691 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.691 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.692 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.692 2417 2417 W System.err: at android.support.v7.widget.CardView.onMeasure(CardView.java:260)
03-04 22:11:29.692 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.692 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.692 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.692 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.692 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.692 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.692 2417 2417 W System.err: at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
03-04 22:11:29.692 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.692 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.692 2417 2417 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-04 22:11:29.693 2417 2417 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-04 22:11:29.693 2417 2417 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-04 22:11:29.693 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.693 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.693 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.693 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.693 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.693 2417 2417 W System.err: at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
03-04 22:11:29.694 2417 2417 W System.err: at android.widget.LinearLayout.measureVertical(LinearLayout.java:758)
03-04 22:11:29.694 2417 2417 W System.err: at android.widget.LinearLayout.onMeasure(LinearLayout.java:640)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6083)
03-04 22:11:29.694 2417 2417 W System.err: at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
03-04 22:11:29.694 2417 2417 W System.err: at com.android.internal.policy.DecorView.onMeasure(DecorView.java:689)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.View.measure(View.java:19861)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2275)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1366)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1619)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6343)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
03-04 22:11:29.694 2417 2417 W System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
03-04 22:11:29.694 2417 2417 W System.err: at android.os.Handler.handleCallback(Handler.java:751)
03-04 22:11:29.694 2417 2417 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
03-04 22:11:29.694 2417 2417 W System.err: at android.os.Looper.loop(Looper.java:154)
03-04 22:11:29.695 2417 2417 W System.err: at android.app.ActivityThread.main(ActivityThread.java:6126)
03-04 22:11:29.695 2417 2417 W System.err: at java.lang.reflect.Method.invoke(Native Method)
03-04 22:11:29.695 2417 2417 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
03-04 22:11:29.695 2417 2417 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
03-04 22:11:29.741 2417 2417 W System.err: java.lang.Exception:
03-04 22:11:29.741 2417 2417 W System.err: ERROR on readFromDisk:Index: 7, Size: 0
03-04 22:11:29.742 2417 2417 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-04 22:11:29.742 2417 2417 W System.err: at net.rehacktive.waspdb.WaspFactory.loadDatabase(WaspFactory.java:167)
03-04 22:11:29.742 2417 2417 W System.err: at net.rehacktive.waspdb.WaspFactory.openOrCreateDatabase(WaspFactory.java:62)
03-04 22:11:29.742 2417 2417 W System.err: at io.oversec.one.db.PadderDb.
So what seems to happen here is that, upon app start, there is an exception opening the WaspDb when trying to read the keys
03-08 18:58:22.242 11725 11725 W System.err: java.lang.Exception:
03-08 18:58:22.242 11725 11725 W System.err: ERROR on readFromDisk:java.lang.IndexOutOfBoundsException: Index: 104, Size: 3
03-08 18:58:22.242 11725 11725 W System.err: Serialization trace:
03-08 18:58:22.242 11725 11725 W System.err: confirmedDate (io.oversec.one.crypto.sym.SymmetricKeyEncrypted)
03-08 18:58:22.266 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.KryoStoreUtils.readFromDisk(KryoStoreUtils.java:81)
03-08 18:58:22.266 11725 11725 W System.err: at net.rehacktive.waspdb.internals.collision.CollisionHash.getAllKeys(CollisionHash.java:104)
03-08 18:58:22.266 11725 11725 W System.err: at net.rehacktive.waspdb.WaspHash.getAllKeys(WaspHash.java:93)
03-08 18:58:22.266 11725 11725 W System.err: at io.oversec.one.crypto.sym.OversecKeystore2.isEmpty(OversecKeystore2.kt:42)
03-08 18:58:22.266 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.updateList(SymmetricEncryptionParamsFragment.java:222)
03-08 18:58:22.267 11725 11725 W System.err: at io.oversec.one.ui.encparams.SymmetricEncryptionParamsFragment.onCreateView(SymmetricEncryptionParamsFragment.java:123)
03-08 18:58:22.267 11725 11725 W System.err: at android.app.Fragment.performCreateView(Fragment.java:2353)
i.e. at this point in time the damage has already been done, the DB is somehow corrupt. Need to investigate if it's somehow possible to patch WaspDB resp. kryo to at least skip such broken key
better though, switch to realm or some other, more mature database
Application: io.oversec.one Version: 1005005 Build-Type: release Flavor: oversec Android-Version: 27 Android-Build: bq/bardock-pro/bardock-pro:8.1.0/OPM1.171019.026/1082:user/release-keys Hardware: bq/bq / Aquaris X Pro / bardock-pro Open-Keychain: NOT INSTALLED
Thread: main Stacktrace: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean net.rehacktive.waspdb.WaspDb.existsHash(java.lang.String)' on a null object reference at io.oversec.one.db.PadderDb.(PadderDb.java:34)
at io.oversec.one.db.PadderDb.getInstance(PadderDb.java:25)
at io.oversec.one.Core.getAllPaddersSorted(Core.java:1902)
at io.oversec.one.crypto.encoding.pad.XCoderAndPadderFactory.reload(XCoderAndPadderFactory.kt:25)
at io.oversec.one.crypto.encoding.pad.XCoderAndPadderFactory$Companion.getInstance(XCoderAndPadderFactory.kt:100)
at io.oversec.one.ui.encparams.SimpleSymmetricEncryptionParamsFragment.onCreateView(SimpleSymmetricEncryptionParamsFragment.java:135)
at android.app.Fragment.performCreateView(Fragment.java:2508)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1279)
at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2407)
at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2186)
at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2142)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2043)
at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:799)
at android.support.v13.app.FragmentPagerAdapter.finishUpdate$52bc874c(FragmentPagerAdapter.java:182)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1244)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1092)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1622)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1514)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:806)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:685)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:733)
at android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:805)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at android.support.v7.widget.CardView.onMeasure(CardView.java:260)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:143)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1514)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:806)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:685)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1514)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:806)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:685)
at android.view.View.measure(View.java:22075)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6602)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
at com.android.internal.policy.DecorView.onMeasure(DecorView.java:724)
at android.view.View.measure(View.java:22075)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2426)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1508)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1765)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1396)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6773)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
at android.view.Choreographer.doCallbacks(Choreographer.java:778)
at android.view.Choreographer.doFrame(Choreographer.java:713)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6518)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)