OpenRoads Error: "Object Reference not set to an instance of an object."

When using the Place Conduit command the following error occurs and the command is closed.

Does anyone have a fix for this? It just started this morning, I haven't had issues in the past. I have tried:

  • Restarting OpenRoads
  • Shutting down and restarting computer
  • Placing a conduit in a different DGN
  • Compressing the DNG
  • Deleting Temp files from computer
  • Deleting Local Projectwise files from computer
  • Creating a new dgn.

I am using OpenRoads Designer CONNECT Edition - 2020 Release 1 Update 8 - Version 10.08.00.88

Thanks!

Parents Reply Children
  • I was not able to resolve it, unfortunately. I got a hold of IT and it seemed the solution was to update Windows to the newest upgrade. However every time i tried to upgrade Windows it has failed. It seems there is an issue with the 2004 upgrade from Microsoft that IT has see across multiple users. Sorry I can't be of more help, its frustrating. I'm still waiting to hear from IT that things have been resolved. Best of luck.

  • Hi , I'm bumping into this problem. Could you manage to resolve this?

    I ran a 2004 Windows update 19 Oct 20. 

  • & ,

    My manager was able to find a .bat file that cleared multiple different settings that seemed to remedy the issue. I do know that some of the issues I had were related to an underdeveloped workspace as well though.

    Also, I did find that it some instances I wasn't able to adjust conduits/nodes that were placed prior to running the .bat file, but any one's place after worked ok.

    I've attached it as a .txt file, so you can review it first. As you'll see its deleting multiple Bentley preferences from the localappdata folder. You'll notice that some UI preferences will be reset to the defaults after it is run.

    To use it, save it to your PC, change the file extension from .txt to .bat and then double click it. A blue box will open, it will quickly scroll through the commands and then it will close automatically. You'll likely want to restart your computer after running it.

    I hope this helps!

    @echo off
    title Remove all XML Civil Commands
    @echo off
    color 1E
    
    c:
    
    rd /s /q "%localappdata%\Bentley\OpenRoadsDesigner\10.0.0\"
    
    rd /s /q "%localappdata%\Bentley\OpenRailDesigner\10.0.0\"
    
    rd /s /q "%localappdata%\Bentley\OpenSiteDesigner\10.0.0\"
    
    rd /s /q "%localappdata%\Temp\CIFSchema\"
    
    rd /s /q "%localappdata%\Temp\Bentley\OpenRoadsDesigner\"
    
    rd /s /q "%localappdata%\Temp\Bentley\OpenRailDesigner\"
    
    rd /s /q "%localappdata%\Temp\Bentley\OpenSiteDesigner\"
    
    rd /s /q "%localappdata%\Temp\Bentley\SUDA\"
    
    rd /s /q "%localappdata%\Temp\Bentley\SUE\"
    
    rd /s /q "%localappdata%\Temp\Bentley\StormCAD\"
    
    rd /s /q "%localappdata%\Bentley\SUDA\"
    
    rd /s /q "%localappdata%\Bentley\SUE\" 
    
    rd /s /q "%localappdata%\Temp\"
    
    exit