Creating Index Hangs

I'm attempting to create an index using code as follows:

client.admin().indices().prepareCreate("myindex").execute().actionGet();

However, it hangs on this line and eventually the JVM runs out of memory and dies.

Any suggestions on how to debug why this is happening?

Anything in the ES logs?

Unfortunately, no. I have a log statement immediately before which I see in the logs. I also have one directly after the statement, but it never gets called. Interestingly enough, in trying a few things, I tried adding this before the create statement:

IndicesExistsResponse res = client.admin().indices().prepareExists("myindex").get();

It also hangs.

Could there be a configuration setting that would potentially cause this?