Hi list, hi John, I am getting one random error when I launch my processes. Exception is like this:
exception : You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.- ./vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:159:in `decrement_open_transactions' ,/vendor/rails/activerecord/lib/active_record/transactions.rb:131:in `transaction' ./vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:136:in `transaction' ./vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:111:in `<<' ./vendor/openwfe/extras/participants/activeparticipants.rb:224:in `from_owfe_workitem' Error appears sometimes with the same workflow definition. In two consecutive executions, error can appear only once. Now, I am using openwferu-0.9.19 but I saw the error with openwferu-0.9.18 too. Then, I have seen this comment in the last version of code (0.9.20) within the ActiveParticipant class (lines 201-214: http://github.com/jmettraux/ruote/blob/a1955a0b567261c889c849c4aa901417d8454f01/lib/openwfe/extras/participants/active_participants.rb ): # # busted on me recently (2009/01/14) :( # # You have a nil object when you didn't expect it! # You might have expected an instance of Array. # The error occurred while evaluating nil.- It seems the same error like mine. I still do not know the exact cause, because the error appears only sometimes. Has anyone get the same error? Any idea about the cause? Info Rails: 2.2.2 Ruby: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] OpenWFEru: 0.9.18 & 0.9.19 Regards. Diego. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruote (OpenWFEru) users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
