Help do you use and what Version of Domino and Notes.
Have you done a recompile all on the database? This might be the answer to this problem. Last friday a fellow programmer told me about some problems one of his collegues found out with recompile all,alias names of forms or subforms and the use of script libraries in notes. Since it was a lot of work to sort that out and i have no permission to show the details right now, i could not give you the solution but a hint only. Go into the ticket insert a blank line somewhere in the script. Or Remove one and save the ticket form.
That might do some miracles.