The spectacle was often repeated with great applause , till on one occasion a courtier , bent on mischief , took from his pocket a handful of nuts and threw them upon the stage .