title: Play! framework calling the render() action from controller
body: <p>I've been customising a template generated by the CRUD module and now need to override the save method to save the custom data from the template. I can save all the data, but when I call the render action:</p>
  
  <pre><code>render("Users/show.html", user);
  </code></pre>
  
  <p>I get a nullPointerException for templates object:</p>
  
  <p><img src="https://i.stack.imgur.com/x4IAH.png" alt="enter image description here"></p>
  
  <p>I'm definitely passing the correct user object through because when I run this:</p>
  
  <pre><code>System.out.println(user.toString());
  //render("Users/show.html", user);
  </code></pre>
  
  <p>It writes my user to the console.</p>
  
  <p>Any help will be much appreciated.</p>
  
  <p><a href="http://www.pastebucket.com/AppView/895" rel="nofollow noreferrer">Controller</a>
  <a href="http://pastebucket.com/896" rel="nofollow noreferrer">View</a></p>
  
  <p>Play! 1.2.3</p>