java.lang.RuntimeException: Unable to start activity ComponentInfo{org.gnucash.android.devel/org.gnucash.android.ui.common.FormActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.sql.Timestamp.getTime()' on a null object reference

GitHub | rivaldi8 | 6 months ago
  1. 0

    GitHub comment 526#237504866

    GitHub | 6 months ago | rivaldi8
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.gnucash.android.devel/org.gnucash.android.ui.common.FormActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.sql.Timestamp.getTime()' on a null object reference
  2. 0
    Initialize the variable before calling a method on it.
  3. 0
    Use 'dialog' to access views from custom_layout layout.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The resource was accessed after it was dismissed.
  6. 0
    The parsed JSON does not contains the requested field.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'long java.sql.Timestamp.getTime()' on a null object reference

      at org.gnucash.android.model.Recurrence.getCount()
    2. org.gnucash.android
      TransactionFormFragment.onActivityCreated
      1. org.gnucash.android.model.Recurrence.getCount(Recurrence.java:268)
      2. org.gnucash.android.model.Recurrence.getRuleString(Recurrence.java:164)
      3. org.gnucash.android.model.ScheduledAction.getRuleString(ScheduledAction.java:407)
      4. org.gnucash.android.ui.transaction.TransactionFormFragment.initializeViewsWithTransaction(TransactionFormFragment.java:503)
      5. org.gnucash.android.ui.transaction.TransactionFormFragment.onActivityCreated(TransactionFormFragment.java:355)
      5 frames
    3. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1983)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      6. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:339)
      7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:602)
      7 frames
    4. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1223)
      2. android.app.Activity.performStart(Activity.java:5982)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2418)
      3 frames