Issue #20128 has been updated by Jeff McCune. Status changed from In Topic Branch Pending Review to Merged - Pending Release Assignee deleted (Dominic Cleal)
summary: Merged into master as 3e5cea2. This should be released in Puppet 3.2. Thanks again for the contribution! -Jeff ---------------------------------------- Bug #20128: Error when a service is started: Could not evaluate: undefined method `[]=' for nil:NilClass https://projects.puppetlabs.com/issues/20128#change-88902 * Author: Dominic Cleal * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: service * Target version: 3.2.0 * Affected Puppet version: development * Keywords: regression service events * Branch: https://github.com/puppetlabs/puppet/pull/1585 ---------------------------------------- On a very simple catalog that just starts a service, you get the following error: Notice: /Stage[main]//Service[service]/ensure: ensure changed 'stopped' to 'running' Error: /Stage[main]//Service[service]: Could not evaluate: undefined method `[]=' for nil:NilClass Notice: Finished catalog run in 2.08 seconds Due to my fix for #7165 in lib/puppet/transaction/event_manager.rb: def dequeue_events_for_resource(target, callback) target.info "Unscheduling #{callback} on #{target}" @event_queues[target][callback] = {} <-- end In this case, @event_queues[target] is nil, therefore it fails. Reported in [RHBZ#908655 comment 11](https://bugzilla.redhat.com/show_bug.cgi?id=908655#c11). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
