Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AASM::InvalidTransition: Event 'fail' cannot transition from 'errored' #443

Open
maxgronlund opened this issue May 17, 2015 · 0 comments
Open
Labels

Comments

@maxgronlund
Copy link
Owner

Check full details on Airbrake: #1422505426504963819

Backtrace:

[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/aasm.rb:132:in aasm_failed
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/aasm.rb:81:in aasm_fire_event
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/persistence/active_record_persistence.rb:175:in block in aasm_fire_event
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:188:in within_new_transaction
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in transaction
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/persistence/active_record_persistence.rb:175:in aasm_fire_event
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/base.rb:81:in block in event
[PROJECT_ROOT]/app/models/subscription.rb:203:in charge_card
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/core/event.rb:131:in invoke_callbacks
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/core/event.rb:48:in fire_callbacks
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/aasm.rb:112:in aasm_fired
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/aasm.rb:76:in aasm_fire_event
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/persistence/active_record_persistence.rb:175:in block in aasm_fire_event
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/transaction.rb:188:in within_new_transaction
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/transactions.rb:220:in transaction
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/persistence/active_record_persistence.rb:175:in aasm_fire_event
[GEM_ROOT]/gems/aasm-4.1.0/lib/aasm/base.rb:81:in block in event
[PROJECT_ROOT]/app/jobs/stripe_charger_subscription_job.rb:8:in block in perform
[GEM_ROOT]/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in with_connection
[PROJECT_ROOT]/app/jobs/stripe_charger_subscription_job.rb:5:in perform
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/execution.rb:32:in block in perform_now
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in block (2 levels) in compile
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:498:in block (2 levels) in around
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:343:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:343:in block (2 levels) in simple
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/logging.rb:23:in call
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/logging.rb:23:in block (4 levels) in <module:Logging>
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in block in instrument
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:20:in instrument
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in instrument
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/logging.rb:22:in block (3 levels) in <module:Logging>
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/logging.rb:43:in block in tag_logger
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in block in tagged
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:26:in tagged
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in tagged
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/logging.rb:43:in tag_logger
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/logging.rb:19:in block (2 levels) in <module:Logging>
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:441:in instance_exec
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:441:in block in make_lambda
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:342:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:342:in block in simple
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:497:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:497:in block in around
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in call
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in _run_callbacks
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in _run_perform_callbacks
[GEM_ROOT]/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in run_callbacks
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/execution.rb:31:in perform_now
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/execution.rb:21:in execute
[GEM_ROOT]/gems/activejob-4.2.1/lib/active_job/queue_adapters/sidekiq_adapter.rb:40:in perform
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/processor.rb:75:in execute_job
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/processor.rb:52:in block (2 levels) in process
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/chain.rb:127:in block in invoke
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/server/active_record.rb:6:in call
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/chain.rb:129:in block in invoke
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/server/retry_jobs.rb:74:in call
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/chain.rb:129:in block in invoke
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/server/logging.rb:15:in block in call
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/logging.rb:24:in with_context
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/server/logging.rb:11:in call
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/chain.rb:129:in block in invoke
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/chain.rb:132:in call
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/middleware/chain.rb:132:in invoke
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/processor.rb:51:in block in process
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/processor.rb:98:in stats
[GEM_ROOT]/gems/sidekiq-3.3.4/lib/sidekiq/processor.rb:50:in process
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in public_send
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in dispatch
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in dispatch
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in block in invoke
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in block in task
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in block in task
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in block in initialize
[GEM_ROOT]/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in block in create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant