Home > Developers > Communications > Mifos on IRC > #Mifos Chat Logs > IRC log from 20-Mar-2008

Document Actions

IRC log from 20-Mar-2008

2008-03-20T03:06:50 *** stephenhorgan has left #mifos
2008-03-20T03:12:45 *** stephenhorgan has joined #mifos
2008-03-20T03:38:29 <mifosbot> New news from builds: MIFOS-WT-620 was SUCCESSFUL (with 2704 tests): Updated by Amiruddin Nagri
2008-03-20T04:10:32 <mifosbot> New news from builds: MIFOS-WT-621 was SUCCESSFUL (with 2704 tests): Updated by Amiruddin Nagri
2008-03-20T04:12:57 *** stephenhorgan has quit IRC
2008-03-20T04:14:01 *** stephenhorgan has joined #mifos
2008-03-20T04:27:19 *** stephenhorga1 has joined #mifos
2008-03-20T04:44:26 *** stephenhorgan has quit IRC
2008-03-20T07:32:21 <meonkeys> *yawn*. Morning, all!
2008-03-20T07:32:42 *** bmazur has quit IRC
2008-03-20T07:49:01 <meonkeys> ccharlesworth, stephenhorga1: would one of you mind creating a patch for build.xml to read .svn/entries directly?
2008-03-20T08:00:14 *** emilytucker_mifo has joined #mifos
2008-03-20T08:03:58 *** bmazur has joined #mifos
2008-03-20T08:33:20 <meonkeys> stephenhorga1: hi Steve, you there?
2008-03-20T08:33:51 <stephenhorga1> meonkeys: hi
2008-03-20T08:34:24 <meonkeys> Your patch for issue #1614 works, thanks!
2008-03-20T08:34:36 <meonkeys> Would you mind explaining to me *how* it works? :)
2008-03-20T08:34:41 <stephenhorga1> yep i'll create a patch for the .svn/entries
2008-03-20T08:34:56 <meonkeys> (re: .svn/entries) ... cool, thank you
2008-03-20T08:35:00 <stephenhorga1> ha ha, was hoping you wouldnt ask that ;-)
2008-03-20T08:35:04 <stephenhorga1> magic
2008-03-20T08:35:17 <meonkeys> lol.
2008-03-20T08:35:37 <meonkeys> skype call?
2008-03-20T08:35:47 <stephenhorga1> to be honest i cant really eplain it; but as you see from the patch I just changed the equals() method on the Question class
2008-03-20T08:36:02 <meonkeys> right, ya, equals() and hashCode()...
2008-03-20T08:36:31 <stephenhorga1> sorry my skype aint setup properly yet
2008-03-20T08:36:40 <meonkeys> but I just can't figure out how using getQuestionId() is different from accessing the questionId field directly.
2008-03-20T08:37:15 <meonkeys> mmm, wait a sec..
2008-03-20T08:37:20 <stephenhorga1> thats the thing, it isnt any different, but it works.
2008-03-20T08:37:43 <stephenhorga1> could it be the final modifier on the equals method ?
2008-03-20T08:37:43 <meonkeys> Hibernate proxy method
2008-03-20T08:37:51 <stephenhorga1> yea perhaps
2008-03-20T08:39:29 <stephenhorga1> when i debugged the code, i could see that questionId was not the same as getQuestionId()
2008-03-20T08:40:39 <stephenhorga1> the core error being thrown was a hibernate non unique object error, so maybe your hibernate proxy method is the cause
2008-03-20T08:44:37 <meonkeys> right!
2008-03-20T08:45:10 <meonkeys> well, I don't completely understand it either, but I recall that Hibernate does some runtime instrumentation.
2008-03-20T08:45:46 <meonkeys> anyway, nice catch.
2008-03-20T08:49:40 <meonkeys> hmm, actually, Question isn't an entity. Hmmm.
2008-03-20T08:52:36 <meonkeys> but, I see, the error is "org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.mifos.ap
2008-03-20T08:52:36 <meonkeys> plication.surveys.business.Question#1]
2008-03-20T08:52:36 <meonkeys> at org.hibernate.engine.PersistenceContext.checkUniqueness(PersistenceContext.java:549)"
2008-03-20T08:53:09 <meonkeys> so what we're seeing probably is related to Hibernate. I'll have to bookmark this one for later. Interesting.
2008-03-20T09:03:05 <vanmh_> meonkeys stephenhorga1: hi there-- a comment on the NonUniqueObjectException...
2008-03-20T09:04:55 <vanmh_> I have also run accross this and believe it has to do with getting a reference to a particular object in one hibernate session,
2008-03-20T09:05:16 <vanmh_> then closing the session but keeping the reference to the object,
2008-03-20T09:05:36 <vanmh_> then opening a new hibernate session and getting a reference to the same object in the new session
2008-03-20T09:06:11 <vanmh_> and then trying to use the stale reference to the object from the first hibernate session in the second hibernate session were you now have another reference to that object
2008-03-20T09:06:28 <vanmh_> I'm not sure if that explanation was too clear :-)
2008-03-20T09:12:14 <meonkeys> Still trying to grok this one. :)
2008-03-20T10:05:24 <meonkeys> ccharlesworth: I can't repro 1690
2008-03-20T10:05:51 <meonkeys> so I'm going to resolve it WORKSFORME. Please let me know if it is still breaking for you with the latest trunk code.
2008-03-20T10:18:22 <stephenhorga1> meonkeys: I've submitted the patch for the build.xml file to read .svn/entries directly
2008-03-20T10:19:27 <meonkeys> thanks! I'll check it out.
2008-03-20T10:20:07 <meonkeys> stephenhorga1: have you tried it on Windows?
2008-03-20T10:20:53 *** ccharlesworth has quit IRC
2008-03-20T10:21:05 <stephenhorga1> no actually, i dont have winblows at the moment, any chance you could check?
2008-03-20T10:21:07 <mifosbot> New news from builds: MIFOS-WT-622 was SUCCESSFUL (with 2704 tests): Updated by Adam Monsen
2008-03-20T10:21:36 <stephenhorga1> otherwise i'll check when i get home
2008-03-20T10:22:04 <meonkeys> sure, I'll sneak onto my wife's Windows computer and try it.
2008-03-20T10:22:12 <stephenhorga1> thanks
2008-03-20T10:23:32 <meonkeys> hmm, I'm not I like the assert in testSubversionRevision() that uses the string message on the exception object.
2008-03-20T10:23:37 <meonkeys> ugh.
2008-03-20T10:23:48 <meonkeys> "I'm not sure I like" is what I meant to say.
2008-03-20T10:26:32 <meonkeys> stephenhorga1: ah, I guess you had to add that because of the change I made in SvnRevision to rewrap the IOException as a RuntimeException.
2008-03-20T10:26:50 *** keit1 has joined #mifos
2008-03-20T10:27:14 <meonkeys> hrm. Probably change that to match the "cause" (or something) so it might be a little more robust.
2008-03-20T10:31:29 <meonkeys> sam-r-i: dev meeting tomorrow... 1:30 or 2pm?
2008-03-20T11:03:32 <sam-r-i> 2pm, after stand-up
2008-03-20T11:03:42 <meonkeys> ok, thanks
2008-03-20T11:15:36 <meonkeys> Is SVN really slow for anyone besides me? O
2008-03-20T11:16:04 <meonkeys> I'm doing an update on a Windows box and it's been sitting there for about 10 minutes.
2008-03-20T11:16:15 <keit1> No team meeting today?
2008-03-20T11:16:29 <meonkeys> Tried it in TortoiseSVN and the transfer rate was under 5kbyte/sec
2008-03-20T11:17:00 <meonkeys> keit1: I think Sam postponed the dev team mtg to tomorrow at 2pm PDT
2008-03-20T11:17:18 <keit1> Updates on my windows box take less than a minute
2008-03-20T11:17:32 <meonkeys> hrm. yikes. Time to reboot.
2008-03-20T12:03:18 *** keit2 has joined #mifos
2008-03-20T12:04:27 <keit2> h
2008-03-20T12:21:28 *** keit1 has quit IRC
2008-03-20T12:41:30 *** keit1 has joined #mifos
2008-03-20T12:59:08 *** keit2 has quit IRC
2008-03-20T14:25:29 *** mifosbot` has joined #mifos
2008-03-20T14:25:29 *** mifosbot` is now known as mifosbot
2008-03-20T15:04:45 *** awalji has joined #mifos
2008-03-20T15:37:20 *** keit1 has quit IRC
2008-03-20T16:05:36 <mifosbot> New news from builds: MIFOS-WT-623 was SUCCESSFUL (with 2704 tests): Updated by Kimloan Ho
2008-03-20T16:40:49 *** emilytucker_mifo has quit IRC
2008-03-20T21:45:05 *** awalji has quit IRC
2008-03-20T21:45:25 *** awalji has joined #mifos
2008-03-20T23:31:12 *** awalji has quit IRC

last modified 2008-03-23 22:01
Grameen logo