Page 1 of 1

Java Exception and can't access all accounts

PostPosted: Tue Feb 17, 2009 3:18 pm
by chuckg
Help Please.

I was going through and cleaning up my categories in entries before tax season. I got a Java Error, then could not do anything without it. On restart I get a "java.lang.NullPointerException and then when I click close I only have access to my Asset Accounts. I have 90% of my most recent tax related activities in the liability accounts I can not see now. Here is the error dump. I have done a database consistency check and it was ok. I have not done a rebuild as I will wait for developer/Tech Support on that.

java.lang.NullPointerException
at java.util.Date.getMillisOf(Date.java:939)
at java.util.Date.compareTo(Date.java:959)
at com.mth.mymoney.shared.datatypes.vo.AccountValueModel$1.compare(AccountValueModel.java:390)
at com.mth.mymoney.shared.datatypes.vo.AccountValueModel$1.compare(AccountValueModel.java:375)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at com.mth.mymoney.shared.datatypes.vo.AccountValueModel.getDateSortedTransactions(AccountValueModel.java:372)
at com.mth.mymoney.shared.datatypes.vo.AccountValueModel.recalculateBalances(AccountValueModel.java:337)
at com.mth.mymoney.shared.datatypes.dao.AccountDAO.loadAll(AccountDAO.java:884)
at com.mth.mymoney.db.derby.DBConnector.loadAll(DBConnector.java:815)
at com.mth.mymoney.db.derby.DBConnector.openConnection(DBConnector.java:617)
at com.mth.mymoney.db.derby.DBConnector$1.doInBackground(DBConnector.java:285)
at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)

Re: Java Exception and can't access all accounts

PostPosted: Tue Feb 17, 2009 3:36 pm
by mthadm
What is My Money Version and what is the Operating System ?

Re: Java Exception and can't access all accounts

PostPosted: Tue Feb 17, 2009 9:08 pm
by chuckg
2.0.39 running on Mac OSX 10.5.6 with all the latest updates. I did an export of all accounts and none of the liability accounts show. Now I am starting to sweat. :cry:

Re: Java Exception and can't access all accounts

PostPosted: Tue Feb 17, 2009 9:32 pm
by mthadm
We PMd you with a bug fix

Thanks

Re: Java Exception and can't access all accounts

PostPosted: Wed Feb 18, 2009 10:00 am
by chuckg
Second Fix worked great. I can see all my accounts. There was one entry with the current date, so I guess that was the bugger messing me up.

Thanks,
Chuck G