title: Runtime Erro : Play 2.5
body: <p>I have downloaded Play 2.5 and am creating a sample application. I am creating simple form. Below is the code. I am getting runtime error while using <code>private static final Form&lt;Product&gt; productForm = Form.form(Product.class);</code> :</p>
  
  
  
  <pre><code>public class Products extends Controller {
  
      private static final Form&lt;Product&gt; productForm = Form.form(Product.class);
  
  
      public Result list(){
          List&lt;Product&gt; products = Product.findAll();
          return ok(list.render(products));
      }
  
  
      public  Result newProduct(){
          //return ok(details.render(productForm));
          return TODO;
      }
  
      public Result details(String ean){
          return TODO;
      }
  
      public Result save(){
          return TODO;
      }
  }
  </code></pre>
  
  <p>The error message is:</p>
  
  <blockquote>
    <p>Internal server error, for (GET) [/] -> play.api.UnexpectedE‌​xception: Unexpected exception[ExceptionI‌​nInitializerError: null] at play.core.server.Dev‌​ServerStart$$anonfun$‌​mainDev$1$$anon$1$$an‌​onfun$get$1$$anonfun$‌​apply$1$$anonfun$1.ap‌​ply(DevServerStart.sc‌​ala:174) </p>
  </blockquote>