-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null Reference Exception on GetNonControlledTemplateParameterIds #132
Comments
This may be in relation to issue #35 |
Immediately crashing Revit is bad. The API should never be able to do that. A minimal reproducible case for that would be handy to submit to the development team. I suppose a minimal BIM and detailed step-by-step instructions to reproduce using RevitLookup would be sufficient. However, I see no connection with #35... what connection do you see? |
I just briefly looked at #35 with the comment in there on some things may not be working. Which is how I thought this was related. To be able to recreate this, you could open the rac_basic_sample_project.rvt, in RevitLookup > SnoopDB, scroll down to ViewPlan, click on anyone of the view plans, then scroll down and select GetTemplateParameterIds. It will display an UnhandledException dialog. Here is my output: Whenever I was debugging, it would crash Revit and the debugging session. Whenever I was not debugging, it would display the UnhandledException window and allow me to close the Exception and continue with Revit. It may be how I've set up my debugging session that crashes Revit. |
@kraftwerk15 I try checked, don't have any problem from me |
@kraftwerk15 namespace If you check this box, uncheck it. Debugger can kill the process when such an error occurs |
Clicking on GetNonControlledTemplateParametersIds in the UI throws this error:
Which after continuing in the debugger, immediately crashes Revit. :)
The text was updated successfully, but these errors were encountered: