Java Applet: getContext(session) Error

Hi!

I have added a Java applet to a form. When viewing a document based on the form with IE6/7, I am getting the Notes Exception:

lotus.domino.NotesException: Notes error: PURGE_FOLDER

with Firefox 20, the error messege changes to

lotus.domino.NotesException: Cannot resolve URL

Opening the document with the Notes client is fine.

The Notes session of the Applet is esteablished without a problem.

The applet is based on the Notes Domino Designer help and developed with eclipse 3.3.2

my piece of code:

import java.net.*;

import lotus.domino.*;

public class IntroCorbaApplet extends AppletBase {

public void notesAppletInit() {

/* something

*/

public void notesAppletStart() {

String username;

	try {

		Session session = this.getSession();

		username = session.getUserName();

		ta.append("\nBenutzer: " + username);

		if (session == null) // we were not able to make the connection, warn

						// user

		{

			ta.append("Unable to create a session with the server");

			return;

		}



		// AppletBase.getContext() available in R5.0.1 or later

		NotesAppletContext acx;

		try {

		  acx = getContext(session);

		} catch (NotesException e) {

			ta.append("\n\nUnable to get AppletContext from Session ");

			ta.append("\n"+e.getClass().getName() + ": " + e.text);

			return;

		}

	} catch (NotesException e) {

		System.err.println(e.getClass().getName() + ": " + e.text);

		e.printStackTrace();

	}

} /* notesAppletStart */

}

any suggestions?

thanks