It compiles for me and on hudson.eclipse.org
Is something different in your environment? What method throws this exception?