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!

  • Hi,

    If you have tried creating a new DGN, using the Training and Examples workspace, and the Training-Metric (or Training Imperial) workspace, then using Place Node, and Place Conduit. If that causes the "Object reference not set" error, then:

    Exit the software, and in Windows Explorer go to:

    C:\Users\your user name\AppData\Local\Bentley\OpenRoadsDesigner\10.0.0\prefs\civil_commands

    and delete the "SUBSURFACE CONNECTNODES.xml" file. 

    Now go back into the DGN you created earlier, and try Place Conduit again.

    If it still doesn't work, then please raise a Service Request.

  • Same issue on our end with Update 10.  Tried all the above fixes with no luck.  Waiting for Bentley to respond to SR.

  • & ,

    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
    

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

    I ran a 2004 Windows update 19 Oct 20. 

  • Kiran, sorry for the long delay in response. I did try your suggestion, but was unable to resolve the issue. It appears it is a Windows upgrade issue. And i'm unable to upgrade Windows 10 to the 2004 upgrade without it failing.