Error when opening PondPack: "Object reference not set to an instance of an object" or "Application has generated an exception that could not be handled."

  Applies To 
  Product(s): PondPack
  Version(s): 10.XX.XX.XX
  Area:  Other
  Original Author: Mark Pachlhofer, Bentley Technical Support Group

Problem Description

When opening the software the following error appears and the software closes: 

"System.NullReferenceException: "Object reference not set to an instance of an object."

Another possible error message may read: "Application has generated an exception that could not be handled."

Reason

The Engineering Library registry (which keeps track of the location of individual engineering libraries) has likely become corrupt

Steps to Resolve

Note: it is strongly recommend that you upgrade to PondPack V8i (or greater), as PondPack 10 and below are not supported on any operating system that Microsoft supports, and technical support will no longer be provided for pre-V8i Bentley software after January 1st, 2019.

If you are using Pondpack 10.00.022.00 or greater

  1. Make sure the software is closed and browse to "C:\Documents and Settings\(user name)\Application Data\Bentley\EngineeringLibraries\" (for Windows XP) or "C:\Users\(user name)\AppData\Roaming\Bentley\EngineeringLibraries" (for Windows 7).

  2. Locate the "libraries.config" and "libraries.config.bak" file and delete them

  3. Reopen the software

 

If you are using PondPack 10 build 16 or below

1) Download the following .zip file to your hard drive: ftp://ftp.bentley.com/pub/knowledgebase/attachments/Libraries_v10.zip

2) Extract the libraries.config file to this location on your machine with PondPack closed: C:\Documents and Settings\All Users\Application Data\Haestad Methods\EngineeringLibraries\ (or if you are using Windows 2000: C:\Documents and Settings\All Users.WinNT\Application Data\Haestad Methods\EngineeringLibraries\) When prompted to overwrite the existing files, select yes.

If you are using PondPack 9

1) Download the following .zip file to your hard drive: ftp://ftp.bentley.com/pub/knowledgebase/attachments/Libraries_V9.zip

2) Extract the libraries.config file to this location on your machine with PondPack closed: C:\Documents and Settings\All Users\Application Data\Haestad Methods\EngineeringLibraries\ (or if you are using Windows 2000: C:\Documents and Settings\All Users.WinNT\Application Data\Haestad Methods\EngineeringLibraries\) When prompted to overwrite the existing files, select yes.

Anonymous
Recommended
Related