Hi John and Torsten, So I was able to narrow the problem. It does not appear to be just ruote sequel. I have been able to reproduce both: process in undefined state (between two participants) and nil.[] error I posted couple posts above.
Please take a look at those 2 files: https://gist.github.com/876827 Could you please let me know if it is a bug in ruote or maybe I am configuring it wrong. Also, I am still interested in whether reply and reply_to_engine are same things? Note: we are not using yajl gem. Instead we are using json and json- pure because yajl was conflicting/resulting in false positives when used with cucumber and capybara. Thanks a lot, Take care, Iuri G. On Mar 14, 12:50 pm, Iuri Gagnidze <[email protected]> wrote: > Hi Torsten, > > Thank you for your reply. > > I will try to produce better backtrace (maybe at least the sequence of > methods called during reply). I can also give you access to our staging > environment that has ruote-kit running. > > Thanks, > Iuri > > On 3/14/11 12:26 PM, "Torsten Schönebaum" <[email protected]> > wrote: > > >Hello Iuri! > > >Iuri G. wrote: > > >> Thanks for your prompt reply. > > >> On Mar 10, 7:08 pm, John Mettraux <[email protected]> wrote: > >> > On Fri, Mar 11, 2011 at 09:51:45AM +0900, John Mettraux wrote: > >> > > 2011/3/11 Iuri G. <[email protected]>: > > >> > > > #<NoMethodError: You have a nil object when you didn't expect it! > >> > > > You might have expected an instance of ActiveRecord::Base. > >> > > > The error occurred while evaluating nil.[]> > > >> > > ActiveRecord::Base... > > >> > > I need the backtrace as well. > > >> Unfortunately there is no backtrace... Only thing that I get in > >> console/development logs is the error message that I posted. I did > >> little more searching and what happens is that when trying complete > >> participant (engine.reply(workitem)) it goes once into the reply > >> method an it calls itself again (return reply(workitem) if r != nil in > >> storage_participant.rb) and it fails (when failing it calls cancel > >> method on the participant) and I get a process in undefined state with > >> 1 participant out and 0 in storage. > > >I'll try to reproduce that issue within the next days and see if I can > >produce a proper backtrace. > > >Cheers, > >Torsten > > >-- > >you received this message because you are subscribed to the "ruote users" > >group. > >to post : send email to [email protected] > >to unsubscribe : send email to > >[email protected] > >more options :http://groups.google.com/group/openwferu-users?hl=en > > -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
