8000 Crash on editing the budget entries · Issue #2488 · moneymanagerex/android-money-manager-ex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crash on editing the budget entries #2488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
velmuruganc opened this issue Mar 25, 2025 · 3 comments · Fixed by #2489
Closed

Crash on editing the budget entries #2488

velmuruganc opened this issue Mar 25, 2025 · 3 comments · Fixed by #2489
Assignees
Labels
bug fixing-in-next-release Issue is resolved and ready for deploy

Comments

@velmuruganc
Copy link
Contributor
velmuruganc commented Mar 25, 2025

Steps:

  1. Goto Budgets
  2. Select entry 2025-04
  3. Click & Hold any category to bring the popup > Click Edit

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.money.manager.ex.domainmodel.BudgetEntry.getPeriod()' on a null object reference

--------- Stack trace ---------

com.money.manager.ex.budget.BudgetEntryFragment.editBudgetEntry(BudgetEntryFragment.java:355)
com.money.manager.ex.budget.BudgetEntryFragment.onContextItemSelected(BudgetEntryFragment.java:300)
androidx.fragment.app.Fragment.performContextItemSelected(Fragment.java:3270)
androidx.fragment.app.FragmentManager.dispatchContextItemSelected(FragmentManager.java:3127)
androidx.fragment.app.FragmentController.dispatchContextItemSelected(FragmentController.java:469)
androidx.fragment.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:270)
androidx.appcompat.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:269)
androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:110)
com.android.internal.policy.PhoneWindow$PhoneWindowMenuCallback.onMenuItemSelected(PhoneWindow.java:3776)
com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:788)
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:935)
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:925)
com.android.internal.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
android.widget.AdapterView.performItemClick(AdapterView.java:352)
android.widget.AbsListView.performItemClick(AbsListView.java:1235)
android.widget.AbsListView$PerformClick.run(AbsListView.java:3232)
android.os.Handler.handleCallback(Handler.java:938)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loopOnce(Looper.java:233)
android.os.Looper.loop(Looper.java:344)
android.app.ActivityThread.main(ActivityThread.java:8212)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

--------- Cause ---------


--------- APP VERSION ---------

App version: 5.2.2
Build: 1079

--------- Device ---------

Brand: OnePlus
Device: OnePlus7T
Model: HD1901
Product: OnePlus7T

--------- Firmware ---------

SDK: 31
Release: 12
Incremental: Q.202303230244

@velmuruganc
Copy link
Contributor Author

@wolfsolver , Could you please fix this in the 5.2.2 official release? I built the app locally and found this crash when trying to edit

@wolfsolver
Copy link
Member

Yes, did you use a new budget or editing an old one? Is monthly or annual budget?

@wolfsolver wolfsolver linked a pull request Mar 25, 2025 that will close this issue
@wolfsolver wolfsolver added bug fixing-in-next-release Issue is resolved and ready for deploy labels Mar 25, 2025
@wolfsolver wolfsolver self-assigned this Mar 25, 2025
@wolfsolver
Copy link
Member

Occurs on new budget (or better on new category budget entry)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixing-in-next-release Issue is resolved and ready for deploy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0