Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Error "An unhandled exception has occurred. Access violation - no RTTI data!"

asked 2014-12-10 10:21:07 -0600

Mel's avatar

updated 2015-01-09 11:41:19 -0600

In Open studio 1.5.0 I keep getting an error "An unhandled exception has occurred. Access violation - no RTTI data!" when trying to navagate to the measures tab. Anyone know why this is happening? It doesn not occurr in all of my models. I noticed that the measures disappeared from the folders but I copied the files back in from the previous version of the model. I've tried to reload through sketchup but the error still crashes the program. I don't want to lose all my work! Help!

edit retag flag offensive close merge delete

Comments

@Mel - don't forget to tag your question with the software otherwise the development team might not see this question and it won't appear in other user's searches. Thanks.

MatthewSteen's avatar MatthewSteen  ( 2014-12-10 10:46:55 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
3

answered 2014-12-10 10:48:36 -0600

When you load the model in the SketchUp Plugin, is it crashing there, or do you mean that even after re-saving in SketchUp you still get a crash in the measures tab in the stand alone OpenStudio application?

There is normally a directory next to your OSM file with the same name as your OSM file. I'm wondering if something correupted within that directory. Try this.

  1. Quit SketchUp and any OpenStudio applications
  2. Rename the directory so if it is "MyModel" call it "MyModel_temp"
  3. Launch the OpenStudio Application and see if you still see the RTTI error.

OpenStudio will re-create a clean copy of that directory when you open and re-save the OS. You will have to re-link the weather file, and re-add any measures. If this is the issue, then we may have you send us a zip of the OSM file and the bad directory so we can see why that happened.

edit flag offensive delete link more
2

answered 2014-12-10 11:12:32 -0600

Mel's avatar

I fixed it. What I did was:

1) opened an older version of the model in open studio

2) did a "save as" with a new file name

3) exited open studio

4) opened the new model's .osm file in notepad, selected all, deleted all text to make it blank

5) opened the corrupted model's .osm file in notepad, selected all, copied all text, and then pasted the copied text of the corrupted model into the new blank text file.

6) Saved the new text file and close the text files

7) Open the new model in openstudio, and waalaaa! it no longer crashes.

Hopefully there will not be any other effects of doing this (like losing any of my modeling changes).

edit flag offensive delete link more
1

answered 2016-01-31 23:36:21 -0600

olivier's avatar

Making a copy of the corrupted file in the file location (not through Openstudios) and re-naming that copy also works.

edit flag offensive delete link more
1

answered 2014-12-10 11:03:42 -0600

updated 2014-12-10 11:04:22 -0600

It's probably related to copying your measures from another model into the scripts folder - were the OSMs both 1.5.0?

To reset the scripts folder copy the OSM file and paste it to another location which will permanently delete the measures associated with the model.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2014-12-10 10:21:07 -0600

Seen: 1,501 times

Last updated: Jan 31 '16