NotesException: Object has been removed or recycled

The following exception occurs, when running an Notes agent with a Release 6 Client, when calling the getCurrentDatabase()-method of an AgentContext object:NotesException: Object has been removed or recycled

at lotus.domino.local.NotesBase.CheckObject(NotesBase.java:1063)

at lotus.domino.local.AgentContext.getCurrentDatabase(Unknown Source)

When calling the same agent with a release 5 client then there are no problems.

Is there a bug in release 6 or do I’ve to change something in my agent?

Martin

Subject: NotesException: Object has been removed or recycled

Hello, I have the same problem but only on passing and managing a Domino Object into another class.

Someone can Help me?

Thnx Paolo.

Subject: NotesException: Object has been removed or recycled

try to remove following code on your program - agentContext.recycle();

Subject: NotesException: Object has been removed or recycled

Same issue here, did you ever resolve this?

Regards-\

Richard