permgen error sample code