title: Play Framework await() causes UnexpectedException
body: <p>I upgraded to Play 1.2.1 this morning so I could make use of their new asynchronous programming with HTTP features.</p>
  
  <p>When I use the example below, from the Play documentation ( * I am
  using a different method name * ), I receive an UnexpectedException
  error.</p>
  
  <pre><code>public static void loopWithoutBlocking() {
      for(int i=0; i&lt;=10; i++) {
          Logger.info(i);
          await("1s");
      }
      renderText("Loop finished");
  }
  </code></pre>
  
  <p><br/>
  The error is as follows:</p>
  
  <pre><code>Oops: UnexpectedException
  
  An unexpected error occured caused by exception UnexpectedException:
  While applying class play.classloading.enhancers.ContinuationEnhancer
  on controllers.Application
  </code></pre>
  
  <p><br/>
  The example method above is placed within the Application controller and I have included the play.libs.F library.</p>
  
  <p>Does the method using the await() call need to be nested within something deeper?</p>