Search code examples
javaxpageslotus-notes

getAllEntriesByKey causes error: Unknown or unsupported object type in Vector


I get the following error in a xp:messages control:

Error in lotus.domino.local.View, line -2: NotesException: Unknown or unsupported object type in Vector

It is generated in the following code in my Java class:

View vw = db.getView(viewName);
if(null != vw){ 
ViewEntryCollection vec
-> vec = vw.getAllEntriesByKey(key);
}

key is here a provided String.

Anyone has an explanation for this?


Solution

  • Did you check that your variable key is not null? I get this error message if I provide a key parameter that is null.