If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild
Fatal error: Call to a member function get() on a non-object in /var/www/dev.badjava.com/docroot/core/lib/Drupal.php on line 241