Skip to content

Instantly share code, notes, and snippets.

@fredjean
Created May 29, 2009 16:43
Show Gist options
  • Save fredjean/120056 to your computer and use it in GitHub Desktop.
Save fredjean/120056 to your computer and use it in GitHub Desktop.
[05/29/09 12:03:37 (15063)] ERROR : Caught exception undefined method `[]' for nil:NilClass try
ing to get connection to DB for explain. Config:
[05/29/09 12:03:37 (15063)] ERROR : /export/glassfish/domains/domain1/applications/j2ee-modules
/junction2/WEB-INF/vendor/plugins/newrelic_rpm/lib/new_relic/transaction_sample.rb:256:in `get_
connection'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:160:in `explain_sql'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:156:in `each'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:156:in `explain_sql'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:482:in `build_segment_for_transfer'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:473:in `each'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:473:in `build_segment_for_transfer'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:466:in `each'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:466:in `build_segment_for_transfer'
/export/glassfish/domains/domain1/applications/j2ee-modules/junction2/WEB-INF/vendor/plugins/ne
wrelic_rpm/lib/new_relic/transaction_sample.rb:494:in `build_segment_for_transfer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment