doesn’t work as expected in Domino FP7 and newer versions 

By Fredrik Norling | 9/27/17 5:17 PM | App Dev - XPages | Added by Oliver Busse

I found this error in a java agent first. If you detach a file from a Notes document using Domino Classes and try to get a handle on the file using the file isn’t found until you do a new call against the server. I don’t know if this has to do with the change of Java version server side or not but the same code works in FP6.