Skip to content

java.lang.IllegalStateException: Fragment RecurringTransactionsListFragment{4070f8e0} not attached to Activity #141

@lxbzmy

Description

@lxbzmy
java.lang.IllegalStateException: Fragment RecurringTransactionsListFragment{408369b8} not attached to Activity
    at android.support.v4.app.Fragment.getResources(Fragment.java:551)
    at org.gnucash.android.ui.transactions.RecurringTransactionsListFragment$TransactionsCursorAdapter$2.run(RecurringTransactionsListFragment.java:353)
    at android.os.Handler.handleCallback(Handler.java:587)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:130)
    at android.app.ActivityThread.main(ActivityThread.java:3683)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:507)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:906)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)
    at dalvik.system.NativeStart.main(Native Method)

cause1:

  1. launch main activity.
  2. press menu select recurring transactions ,wait and press back
  3. do step 2 again.
  4. error thrown.

cause2:

  1. launch main activity.
  2. press + to add new account, wait and press back button cancel add.
  3. ERROR: a blank activity appeared.
  4. press back button again to return main activity.
  5. press menu button and select recurring transactions ,wait and press back button.
  6. error thrown.

I use 2.3.3 device.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions