#100 new
Eric Meyer

stage.open(scene) fails when it gets to scene.illuminate

Reported by Eric Meyer | March 16th, 2009 @ 02:51 PM | in Future

Here is the code that led to the bug:

new_stage = production.theater.add_stage("some name")
new_stage.open(production.theater['default'].current_scene)

Here is the exception that you see when you wrap the first line of illuminate in a begin/rescue block:

undefined method has_key?' for nil:NilClass /Users/ericmeyer/Projects/limelight/lib/limelight/scene.rb:127:inilluminate' /Users/ericmeyer/Projects/limelight/lib/limelight/stage.rb:80:in open' /Users/ericmeyer/Projects/fresnel/limelight/production/list_tickets/players/extra_account.rb:8:inopen_extra_account' /Users/ericmeyer/Projects/fresnel/limelight/production/list_tickets/players/extra_account.rb:3:in button_pressed'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Elegant UI Framework for Ruby

People watching this ticket

Tags

Pages