title: cucumber-jvm with html formatter producing blank page
body: <p>The HTML formatter for cucumber-jvm was working for me yesterday. Today, when I run the tests, I get the following content in the index.html that gets produced. All of the other supporting files (style.css, formatter.js, etc.) are there:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;Cucumber Features&lt;/title&gt;
      &lt;link href="style.css" rel="stylesheet"&gt;
      &lt;script src="jquery-1.6.4.min.js"&gt;&lt;/script&gt;
      &lt;script src="formatter.js"&gt;&lt;/script&gt;
      &lt;script src="report.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div class="cucumber-report"&gt;&lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The report.js file contains the correct content for the tests I just ran but the browser renders a blank page when I bring up the index.html file. I am running just a simple test just to get everything wired up. My test class looks like this:</p>
  
  <pre><code>import org.junit.runner.RunWith;
  import cucumber.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  @Cucumber.Options(format = {"html:build/reports/tests/cucumber"})
  public class BasicUITest {
  }
  </code></pre>
  
  <p>As I said, my tests run fine. I can see the junit xml output and it is correct (aside from the fact that it doesn't actually register failing tests as failing - but that's another issue).</p>
  
  <p><strong>What could I have done to my configuration so that it no longer puts content into the html file?</strong></p>
  
  <p>For completeness, here is my step definitions file:</p>
  
  <pre><code>import com.thoughtworks.selenium.DefaultSelenium;
  import com.thoughtworks.selenium.SeleneseTestBase;
  
  import cucumber.annotation.After;
  import cucumber.annotation.Before;
  import cucumber.annotation.en.Given;
  import cucumber.annotation.en.Then;
  
  public class StepDefinitions extends SeleneseTestBase {
  
      @Before
      public void initSelenium() throws Exception {
          selenium = new DefaultSelenium("localhost", 5555, "*firefox", "http://localhost:8080/");
          selenium.start();
      }
  
      @After
      public void stopSelenium() throws Exception {
          selenium.stop();
      }
  
      @Given("^I login as \"([^\"]*)\" with password \"([^\"]*)\"$")
      public void login(String user, String password) {
          selenium.open("/web/guest/real-login?p_p_state=maximized&amp;p_p_mode=view&amp;saveLastPath=0&amp;_58_struts_action=%2Flogin%2Flogin&amp;p_p_id=58&amp;p_p_lifecycle=0&amp;_58_redirect=http%3A%2F%2Flocalhost%3A8080%2Fc");
          selenium.waitForPageToLoad("30000");
          selenium.type("id=_58_login", user);
          selenium.type("id=_58_password", password);
          selenium.click("css=input.small");
          selenium.waitForPageToLoad("30000");
          selenium.click("css=input.highlight");
          selenium.waitForPageToLoad("30000");
      }
  
      @Given("^I login as the \"([^\"]*)\" user$")
      public void loginAsUser(String user) {
          if (user.equalsIgnoreCase("msv admin")) {
              login(TestData.getAdminUserEmail(), TestData.getSharedPassword());
          } else if (user.equalsIgnoreCase("msv regular")) {
              login(TestData.getRegularUserEmail(), TestData.getSharedPassword());
          } else if (user.equalsIgnoreCase("msv executer")) {
              login(TestData.getExecuterUserEmail(), TestData.getSharedPassword());
          }
      }
  
      @Then("^I go to the MSV App page$")
      public void gotoMSVPage() {
          selenium.click("link=" + TestData.getCommunityPageName());
          selenium.waitForPageToLoad("30000");
      }
  
      @Then("^I logout$")
      public void logout() {
          selenium.click("link=Sign Out");
          selenium.waitForPageToLoad("30000");
      }
  
      @Then("^I should see \"([^\"]*)\"$")
      public void shouldSee(String value) {
          verifyTrue(selenium.isTextPresent(value));
          checkForVerificationErrors();
      }
  
      @Then("^I should not see \"([^\"]*)\"$")
      public void shouldNotSee(String value) {
          verifyFalse(selenium.isTextPresent(value));
          checkForVerificationErrors();
      }
  
  }
  </code></pre>
  
  <p>I am running it through gradle 1.0, if that makes a difference (I don't think so since it was working yesterday).</p>
  
  <p>Any help is appreciated.</p>