This works fine on Windows with JDK 1.7.0_25.
Maybe your problem comes from the fact that you are running your application on a Linux system (even if Ubuntu 13.04 is listed as a supported OS...) The Linux support is recent and some bugs might persist.