Unexpected runtime error

The runtime has encountered an unexpected error.

Error source

Page Name:/Document.xsp
Control Id: link2

Exception

Error while executing JavaScript computed expression
Script interpreter error, line=1, col=51: [TypeError] Exception occurred calling method NotesDatabase.getDocumentByUNID(string) Invalid universal id
Invalid universal id

JavaScript code

   1: print(idall);var docal : NotesDocument = database.getDocumentByUNID(idall)
   2: docal.getItemValueString("all_titolo")

Stack Trace