Hello,
I can’t open patient’s file from Osirix database. I am getting an error message while trying this. The error message is “NSCFArray insertObject:atIndex: :attempt to insert nil”
Please someone help me out of this error.
Resolve Osirix database error message
Do the following things.
Make sure that the file that you are trying to open is really accessible to you or not. Sometimes you have restricted permissions to access or to open a file. Get the permissions if you don't have.
Now see if your file is not giving any exceptions. Because in the error you have stated, it seems that one of the parameters is having a nil in it and that is not acceptable by the system and that is why it is giving the error.
You can also try throwing the exception by using an exception handler and telling him to throw one whenever there is null.