error in exportPython script

I get this error with some of my objects in a scene, other objects work fine!?

File “<string>”, line 394, in exportPython
IndexError: list index out of range

Does anybody know a solution? I am a python noob!