Skip to content

Convert Line Style crashes when closing with "x" button #971

@vinnividivicci

Description

@vinnividivicci

Edit -> "Convert Line Styles" crashes Revit with fatal error when closing with "x" button

Steps to reproduce the behavior:

  1. Go to Edit -> "Convert Line Styles"
  2. Select a "From Style"
  3. Don't select anything in the right column "To Style"
  4. Close the dialog box
  5. Revit fatal error

Expected behavior
I expect it to simply close the dialog box and not crash Revit 😄

Desktop (please complete the following information):

  • OS: Windows 10 build 20190
  • pyRevit Version 4.7.6
  • pyRevit Environment:
==> Registered Clones (full git repos)
==> Registered Clones (deployed from archive/image)
master | Deploy: "basepublic" | Branch: "master" | Version: "4.7.6" | Path: "C:\Users\vince\AppData\Roaming\pyRevit-Master"
==> Attachments
master | Product: "Autodesk Revit 2020" | Engine: 277 | Path: "C:\Users\vince\AppData\Roaming\pyRevit-Master" | Manifest: "C:\Users\vince\AppData\Roaming\Autodesk\Revit\Addins\2020\pyRevit.addin"
master | Product: "2019.2.2 Hotfix" | Engine: 277 | Path: "C:\Users\vince\AppData\Roaming\pyRevit-Master" | Manifest: "C:\Users\vince\AppData\Roaming\Autodesk\Revit\Addins\2019\pyRevit.addin"
==> Installed Extensions
==> Default Extension Search Path
C:\Users\vince\AppData\Roaming\pyRevit\Extensions
==> Extension Sources - Default
https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json
==> Extension Sources - Additional
==> Installed Revits
Autodesk Revit 2021 | Version: 21.1.0.108 | Build: 20200708_1515(x64) | Language: 1033 | Path: "D:\Program Files\Autodesk\Revit 2021"
Autodesk Revit 2020 | Version: 20.2.20.31 | Build: 20200426_1515(x64) | Language: 1033 | Path: "D:\Program Files\Autodesk\Revit 2020"
2019.2.2 Hotfix | Version: 19.2.20.24 | Build: 20190808_0900(x64) | Language: 1033 | Path: "D:\Program Files\Autodesk\Revit 2019"
==> Running Revit Instances
Error: Object reference not set to an instance of an object.
Run with "--debug" option to see debug messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    HeisenbugBug that is very hard to find [class]Stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions