OpenStudio Crashes with the error "bad cast" and "Access violation - no RTTI data!" [closed]
Dear all,
When I opened my OS model this morning I got an error message as I tried to navigate to the "Facility" tab: "An unhandled exception has occurred. Access violation - no RTTI data!".
The last thing I changed from a working model was assigning VRF system for a few zones and removing them from the main chilled water loop. Therefore I tried to delete the VRF system and as I did that I got another error message: "An unhandled exception has occurred. bad cast"
I am aware of another post that addresses this error associated with "measures" and corrupted directory. I have tried all the remedies suggested in that post and it still didn't work.
Any thoughts about what might have gone wrong?
Thanks in advance, Daniel
I think we are going to need the model to tackle this one. Can you send it via something like DropBox? We can probably repair your model and hopefully figure out what originally caused the problem.
Dear Kyle, thanks for the reply. Could you kindly drop me an email at Daniel.Mak@arup.com so that I can send you a link to the file.
@Daniel Mak I repaired your model and sent it back to you. I have not yet figured out how you got to this state. Can you provide a little more detail? You mentioned you had removed something from the main chilled water loop. What exactly did you remove? I'm thinking there must have been some kind of zone equipment or coil between the zone and the chilled water loop besides the VRF.
Dear Kyle, thank you for fixing the file. As for the changes I had made before something went wrong, I removed a few thermal zones (the IT rooms) from the main chilled water loop and created a VRF system for them. I had also done other minor modifications to the model like adjusting schedules and loads but I don't think they caused the file to corrupt. I might have mis-clicked something which I was not aware of.
Thanks for getting back to me. Note that mis clicking is not an excuse for the application mucking up your model. There is certainly a bug here I just haven't found it yet. Your zones could not have been connected directly to the chilled water loop. There must have been a CoilCoolingWater instance that was contained within some type of zone equipment. If you can recall what type of zone equipment that might have been it would help me track this down.