If you use Javascript to trigger the lightbox to open. Make sure the component in you repeater does not also trigger the lighbox to open as well. Otherwise, you may see the above error because you have trigger the lightbox to open twice and exception will occur.