Object reference not set to an instance of an object

 

Good afternoon. When installing the program, a Common Library installation error occurs. I installed applications without additions and manually downloaded the library Common_Library_2022.2.1.xpack, but when the installer is launched, the error is repeated. Apparently the problem with the installer of additions.


Aximmetry_community_de_2022.2
Windows 10 21H2


   Duum32

 
Profile Image
Eifert@Aximmetry
  -  

Hi Duum,

Please make sure you first run Aximmetry Composer (Aximmetry.Composer.exe) at least once before installing an xpack.

If it is still not working, does reinstall Aximmetry with libraries fixes the error? And can you use the installer after that?
And if not, what is the error message at the installation of libraries when running the Aximmetry installer.

Warmest regards,

 
Profile Image
Duum32
  -  

I launched and activated Aximmetry Composer. Xpack still gives an error.


Reinstalled and chose the installation of additional packages. Errors on screenshots when trying to install additions.


I tried the installation on a virtual machine and everything is installed there normally. I cleaned the register, but does not help. I don’t understand what the problem ...

 
Profile Image
Eifert@Aximmetry
  -  

Hi Duum,

You could try installing it with an administrator account to see if that is a problem. And check if you have enough free space and disable antivirus for the duration of the installation (if you have antivirus software installed).

If it's still not working, please write an email to sales@aximmetry.com and refer to this forum thread. We will be able to investigate it in greater detail through email contact.

Warmest regards,

 
Profile Image
tonygruz
  -  

In a nutshell it means.. You are trying to access an object without instantiating it.. You might need to use the "new" keyword to instantiate it first i.e create an instance of it. An Object is an instance of a Class , it is stored some where in memory. A reference is what is used to describe the pointer to the memory location where the Object resides. The message "object reference not set to an instance of an object" means that you are referring to an object the does not exist or was deleted or cleaned up. It's usually better to avoid a NullReferenceException than to handle it after it occurs. To prevent the error, objects that could be null should be tested for null before being used.

if (mClass != null)

{

  // Go ahead and use mClass

  mClass.property = ...

}

else

{

  // Attempting to use mClass here will result in NullReferenceException

}

http://csharp.net-informations.com/language/reference.htm