java.lang.Error: Error copying database

codecanyon.net | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.Error

    Error copying database

    at net.hp59.dailyworkout.utils.DBHelperWorkouts.createDataBase()
  2. net.hp59.dailyworkout
    FragmentCategories.onCreateView
    1. net.hp59.dailyworkout.utils.DBHelperWorkouts.createDataBase(DBHelperWorkouts.java:77)
    2. net.hp59.dailyworkout.fragments.FragmentCategories.onCreateView(FragmentCategories.java:95)
    2 frames
  3. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)
    6. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
    7. android.support.v4.app.FragmentStatePagerAdapter.finishUpdate(FragmentStatePagerAdapter.java:163)
    8. android.support.v4.view.ViewPager.populate(ViewPager.java:1106)
    9. android.support.v4.view.ViewPager.populate(ViewPager.java:952)
    10. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1474)
    10 frames
  4. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:17356)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
    4. android.view.View.measure(View.java:17356)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    6. android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
    7. android.view.View.measure(View.java:17356)
    8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    9. android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
    9 frames
  5. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:17356)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1467)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:638)
    6. android.view.View.measure(View.java:17356)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
    9. android.view.View.measure(View.java:17356)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1467)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:638)
    14. android.view.View.measure(View.java:17356)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5367)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:430)
    16 frames
  7. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2576)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:17356)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2056)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1199)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1405)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1087)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6040)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:793)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:606)
    9. android.view.Choreographer.doFrame(Choreographer.java:575)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:779)
    11. android.os.Handler.handleCallback(Handler.java:739)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:135)
    14. android.app.ActivityThread.main(ActivityThread.java:5538)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
    2 frames