- edited description
- attached errlog.txt
NullPointer when payment account not set in credit card reminder
Hello Kevin!
First of all, thank you for the effort to bring back the forecast feature for us. I've got the latest build, and purchased the license. The plugin was working first time, but then, after I've restarted the Moneydance, it stop working. Please take a look at the error log attached.
java.lang.IllegalArgumentException: class com.infinitekind.moneydance.model.AbstractTxn declares multiple JSON fields named syncID at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:146) ...... at com.google.gson.Gson.fromJson(Gson.java:724) at com.moneyforesight.window.FavouritesManager.loadSavedForecastMementosFrom(FavouritesManager.java:126) at com.moneyforesight.window.FavouritesManager.loadPreferences(FavouritesManager.java:103) at com.moneyforesight.window.ForecastWindowController.loadPreferences(ForecastWindowController.java:260) at com.moneyforesight.window.ForecastWindowController.reset(ForecastWindowController.java:237) at com.moneyforesight.window.ForecastWindowController.<init>(ForecastWindowController.java:230) at com.moneydance.modules.features.moneyforesight.Main.showForecastWindow(Main.java:212) ......... java.lang.NullPointerException at com.moneyforesight.DataSetManager.forecastedAccountsContainAccountById(DataSetManager.java:270) .....
Comments (6)
-
reporter -
repo owner - changed status to open
-
repo owner - changed title to NullPointer when payment account not set in credit card reminder
-
repo owner Hi Serge,
Thanks very much for reporting this.
I managed to reproduce it and apply a fix. It was occurring because the payment account field is optional in credit card reminders. I had some code that assumed it would never be null.
I've uploaded a new version (v2) of the extension. You can download it from the same place as before: http://www.moneyforesight.com/download
Let me know if that fixes the problem for you.
Cheers,
Kevin
-
reporter Hi Kevin,
Thank you for the quick fix! It's working now!
Serge
-
reporter - changed status to resolved
Fixed with v2
- Log in to comment