(Thought I had posted a reply to this a day ago, but somehow it's not showing up....trying again:)
This might be due to a bug I already know about and am working to fix. Assuming the problem is repeatable, can you please check if you can solve the problem by manually reloading optical constants (Materials/Optical Constants -> Reload optical constants) just before the point at which you see this error?
David