ccavanaugh / jgnash

jGnash Personal Finance
http://ccavanaugh.github.io/jgnash/
Other
139 stars 80 forks source link

Uncaught exception #27

Closed p-b-west closed 6 years ago

p-b-west commented 7 years ago

I have recently started using jgnash on OS X Sierra (or whatever tim calls it now). As yet I have only beeb setting up the chart of accounts. Along the way, I noticed a couple of uncaught exceptions, but everything seemed to be working.

I have just tried to clear the excludedFromBudget flag on a number of accounts whose parent account had the flag set. It seems (sensibly) that when the parent is excluded, so will the children be.

This didn't work for me ( the children accounts still have the flag set as far as the exported accounts list is concerned) and a number of exceptions were generated. The first 6 were of the same type, varying only in some particulars of the index. The seventh was a different kettle of fish.

See attached file. exceptions.txt

ccavanaugh commented 7 years ago

Thanks for the detailed list and specifics. I don't have an OSX installation to test against, but should be able to reproduce it. It does appear to be hibernate specific and possibly a race condition of some sort.

Would you mind testing using the XML or bxds format please?

Thanks, Craig

ccavanaugh commented 7 years ago

Also, are you testing against the latest release, or latest compiled from GitHub?

p-b-west commented 7 years ago

Latest release.

For the moment I will set up on a commercial product that I have (Moneyworks Cashbook) but I will test the XML and bxds formats when a get a little time.

Peter

Peter West pbw@pbw.id.au “Come to me, all who labor and are heavy laden, and I will give you rest.”

On 27 Jun 2017, at 2:18 am, Craig Cavanaugh notifications@github.com wrote:

Also, are you testing against the latest release, or latest compiled from GitHub?

p-b-west commented 7 years ago

Release is 2.32.0. Java is Oracle 1.8.0_131 for OS X.

On 27 Jun 2017, at 2:18 am, Craig Cavanaugh notifications@github.com wrote:

Also, are you testing against the latest release, or latest compiled from GitHub?

-- Peter West pbw@pbw.id.au “Come to me, all who labor and are heavy laden, and I will give you rest.”

p-b-west commented 7 years ago

Craig,

In my jGnash directory I have inter alia the following files (with modification times, same day)

19:30 StJB.mv.db 10:40 StJB.mv.db.mv.db 10:06 StJB.mv.db

Does this look right?

Peter

On 27 Jun 2017, at 2:16 am, Craig Cavanaugh notifications@github.com wrote:

Thanks for the detailed list and specifics. I don't have an OSX installation to test against, but should be able to reproduce it. It does appear to be hibernate specific and possibly a race condition of some sort.

Would you mind testing using the XML or bxds format please?

Thanks, Craig

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

p-b-west commented 7 years ago

No problems with bxds format.

Peter

On 27 Jun 2017, at 2:16 am, Craig Cavanaugh notifications@github.com wrote:

Thanks for the detailed list and specifics. I don't have an OSX installation to test against, but should be able to reproduce it. It does appear to be hibernate specific and possibly a race condition of some sort.

Would you mind testing using the XML or bxds format please?

Thanks, Craig

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ccavanaugh commented 7 years ago

StJB.mv.db is correct for H2. File extension has changed with the latest release. I'm looking at the issue in detail. I do believe it's a race condition with Hibernate which is possible fixed for the next release.

p-b-west commented 7 years ago

Incidentally, this list was wrong. The last one should be

10:06 StJB.mv.db.trace.db

On 28 Jun 2017, at 1:50 pm, Peter West pbw@pbw.id.au wrote:

Craig,

In my jGnash directory I have inter alia the following files (with modification times, same day)

19:30 StJB.mv.db 10:40 StJB.mv.db.mv.db 10:06 StJB.mv.db

-- Peter West pbw@pbw.id.au “Come to me, all who labor and are heavy laden, and I will give you rest.”

ccavanaugh commented 7 years ago

Have you tested against the latest release?