[Bug 567478] Attempting to run rhino javascript shell throws exception