Notes crashes with Java applet

In a Lotus Notes application, a Java applet has been embedded. By starting the applet the message “Applet LNChart started.” is displayed, but then some notes users often or always have a notes crash. Does anyone know of this phenomenon and could it be fixed?