title: Ember.js: Uncaught TypeError: Cannot read property 'enter' of undefined on transitionTo
body: <p>I have a fairly simple Ember.js app. Inside a view I call this.transitionTo which gives me the error: </p>
  
  <p>Uncaught TypeError: Cannot read property 'enter' of undefined</p>
  
  <p>The error is in ember.js at line 24596, where currentState is undefined</p>
  
  <p>Here are the relevant parts of my app:</p>
  
  <pre><code>window.Plan = Ember.Application.create({});
  
          Plan.Router = Ember.Router.extend({
          location: 'hash'
      });
  
      Plan.IndexController = Ember.ObjectController.extend({
  
      });
  
  
      Plan.Router.map(function() {
          this.route('application', { path: '/' })
          this.route('index', { path: "/:current_savings/:monthly_deposit/:time_horizon" });
      });
  
      Plan.ApplicationRoute = Ember.Route.extend({
          redirect: function(){
              this.transitionTo('index', 200, 200, 200);
          }
      })
  
      Plan.IndexRoute = Ember.Route.extend({
          model: function(params) {
              var result = this.store.find('calculation', params).then(function(data) {
                  return data.content[0];
              });
  
              return result;
          }
      });
  
      Plan.CurrentSavingsTextField = Ember.TextField.extend({
          focusOut: function() {
              this.transitionTo('index', 150, 200, 200);
          }
      });
  
      Plan.MonthlyContributionTextField = Ember.TextField.extend({
          focusOut: function() {
              this.transitionTo('index', 150, 200, 200);
          }
      });
  
      Plan.TimeHorizonTextField = Ember.TextField.extend({
          focusOut: function() {
              this.transitionTo('index', 150, 200, 200);
          }
      });
  
  Plan.Calculation = DS.Model.extend({
      target_goal: DS.attr('number'),
      target_return: DS.attr('number'),
      expected_return: DS.attr('number'),
      downside_probability: DS.attr('number')
  });
  
  Plan.ApplicationAdapter = DS.RESTAdapter.extend({
      namespace: 'plan/' + window.targetReturnId
  });
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;script type="text/x-handlebars" data-template-name="index"&gt;
  
      &lt;div&gt;
          &lt;div&gt;Starting Balance: {{view Plan.CurrentSavingsTextField size="10"}}&lt;/div&gt;
          &lt;div&gt;Monthly Contribution: {{view Plan.MonthlyContributionTextField size="10"}}&lt;/div&gt;
          &lt;div&gt;Time Horizon: {{view Plan.TimeHorizonTextField size="10"}}&lt;/div&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;span&gt;Plan Goal: {{target_goal}}&lt;/span&gt;
          &lt;span&gt;Required Return: {{target_return}}&lt;/span&gt;
          &lt;span&gt;Exp Return:  {{expected_return}}&lt;/span&gt;
          &lt;span&gt;Downside Probability: {{downside_probability}}&lt;/span&gt;
          &lt;span&gt;Time Horizon: {{time_horizon}}&lt;/span&gt;
      &lt;/div&gt;
  
  &lt;/script&gt;
  </code></pre>
  
  <p>This response is:</p>
  
  <pre><code>{
     "calculations":[
        {
           "id":10,
           "target_goal":3107800.0,
           "target_return":0.089,
           "expected_return":0.0708,
           "downside_probability":0.0489
        }
     ]
  }
  </code></pre>
  
  <p>The app works as expected until I focus out of the text field, then I get the error.</p>
  
  <p>Ember : 1.5.1</p>
  
  <p>Ember Data : 1.0.0-beta.8.2a68c63a </p>
  
  <p>Handlebars : 1.2.1</p>
  
  <p>jQuery     : 1.11.1</p>